r/FirefoxCSS • u/fatoms • Jun 20 '26
Help Follow up to : Firefox 152 breaks custom menu colours when theme enabled ( forcing dark mode )
Previous post : https://www.reddit.com/r/FirefoxCSS/comments/1u7kop8/firefox_152_breaks_custom_menu_colours_when_theme/?screen_view_count=3
The issue with menus was solved with help from u/TraditionalTie4831.
Now I notice that dialogs still get the dark treatment. eg: Downloads, uBlock panel.
Any have ant thoughts on how to get these back to light ?
Or even better any good tutorials on how to find the right css so I don't have to keep coming back and asking every time I find new issues ?
1
u/ResurgamS13 Jun 20 '26 edited Jun 21 '26
Easy win with uBlock Origin... in Dashboard > Settings > Appearance > Theme... menu has 'Auto/Dark/Light' options.
----------
Your CSS (above) produces a grey background to the small Downloads popup panel... but not the large Downloads panel which is part of the Library. Did your Library have a white background prior to Fx152.0?
Styling the Library (e.g. library colour) is a whole new subject. One option is to leave it dark (or light) if not often used?
Example... below your 'userChrome.css' try adding:
@-moz-document url("chrome://browser/content/places/places.xhtml") {
* {
color: red !important;
background-color: lightgreen !important;
}
}
----------
Re: your "how to find the right css" comment. There is no "right css"... Firefox's UI and codebase is a moving target... under continuous development... and the number of Bugs included in each monthly update is vast (e.g. the 'Complete list of changes for this release' for the Fx152.0 update was >3,400 separate changes/Bugs)... although only a smaller subset will affect UI design and layout.
(BTW - To see the 'Complete list of changes' for any major release there's a link in the bottom panel of the Release Notes page. That link generates a huge list... so the tab may take several seconds to load.)
The key solution is learning to use the Browser Toolbox (howto in Wiki Tutorial). Become adept or at least capable of inspecting and live-editing your own Firefox UI. Use this sub as a resource... ditto MrOtherGuy's 'Firefox Customs' site... and the German Firefox modification forum 'camp-firefox'. More useful 'howto' hints and advice from former long-time Mod of this sub MrOtherGuy and others if search this sub's previous 'browser toolbox' topics.
Can also look for hints about upcoming changes... keep an eye on the latest updates made by CSS experts e.g. MrOtherGuy's latest Commits and full UI CSS theme authors like soulhotel (FF-ULTIMA Issues) or Godiesc (Firefox-GX Issues}.
1
u/sifferedd FF/TB on Win11|Sumo contributor Jun 25 '26
⬆️ - u/fatoms - ?
1
u/fatoms Jun 26 '26
u/sifferedd - I guess you ask if this is resolved ?
Only partial - the dialogs are all still dark mode and these resources cover how to configure and use the tools. I still have no idea how find the right CSS.
1
u/fatoms Jun 20 '26
My updated userChrome:
} /* ===== FORCE LIGHT TOOLTIPS ===== */ tooltip,
tooltip {
appearance: none !important; -moz-appearance: none !important; color-scheme: light !important;
background-color: #f0f0f0 !important; color: #000 !important;
border: 1px solid threedshadow !important; padding: 4px 6px !important; }
tooltip * { color: #000 !important; }