This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Mozilla Support में खोजें

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

FF 97.0 Themes revert to white whenever relaunching FF

  • 2 प्रत्युत्तर
  • 1 यह समस्या है
  • 1 view
  • के द्वारा अंतिम प्रतियुतर Terry

more options

I love that you added a proper dark theme, and also even more-so one that is supposed to follow the Windows theme (System Theme - auto).

However, whichever I select it defaults back to basic White theme when I reopen Firefox.

I used to have a custom Firefox Color theme, which disappeared after the update to 97 - but the new Auto and Dark are perfect. Although not cool to blow away a theme created using FF Color - lucky I was OK not using it.

Looked at various forums and sites and as of yet not found any reports.

No custom .js files being used, just the prefs.js

I love that you added a proper dark theme, and also even more-so one that is supposed to follow the Windows theme (System Theme - auto). However, whichever I select it defaults back to basic White theme when I reopen Firefox. I used to have a custom Firefox Color theme, which disappeared after the update to 97 - but the new Auto and Dark are perfect. Although not cool to blow away a theme created using FF Color - lucky I was OK not using it. Looked at various forums and sites and as of yet not found any reports. No custom .js files being used, just the prefs.js

All Replies (2)

more options

Hi Alex,

Yeah, I certainly empathise with this as well.

The reason is due to a new auto theme detection implemented from Firefox 96.0 which checks the style of one's toolbars for a custom theme. Then it applies styling accordingly to what shade is detected. For me it was the other way around, with a dark theme when I wanted the UI to remain light themed (other than on the toolbar itself). It all depends on the brightness of theme we each use.

Looking into this, I managed to find a solution using AutoConfig which allows forcing preferences to be applied even when opening a new browser window (or restarting Firefox completely).

See this post here for details: https://support.mozilla.org/en-US/questions/1360389?page=2#answer-1479952

Since you wish to keep a Dark mode, the method will be slightly different than explained. This will require setting a value of 0 instead of 1 inside the firefox.cfg file. The custom rule is then what locks down the preference to tell Firefox which theme is desired at all times.

Hopefully this might help you.

-CB

more options

If you have uBlock Origin, one of its settings relates to the theme. Perhaps one of your add-ons has something similar.