We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search 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

Every time I open firefox the following line in my config: "browser.theme.toolbar-theme" gets set to zero and it changes me to dark mode. How do I stop this?

  • 6
  • 1 nwere nsogbu anwere nsogbu a
  • 13 views
  • Nzaghachi ikpeazụ nke Terry

more options

Whenever I close Firefox and restart it I find that my browser is set to dark mode every time, I discovered that the culprit in my congif is the line "browser.theme.toolbar-theme" which sets itself to 0 every time I start firefox. Despite every time I change it back to 1 so that I keep light mode on. Is there any solution to this or maybe a way I can reset my about:config back to default as a nuclear option? I'd rather not lose all my tabs if possible but this is quite annoying.

Whenever I close Firefox and restart it I find that my browser is set to dark mode every time, I discovered that the culprit in my congif is the line "browser.theme.toolbar-theme" which sets itself to 0 every time I start firefox. Despite every time I change it back to 1 so that I keep light mode on. Is there any solution to this or maybe a way I can reset my about:config back to default as a nuclear option? I'd rather not lose all my tabs if possible but this is quite annoying.

All Replies (6)

more options

Firefox sets that preference dynamically every time you open a new window. It is based on the text color in your toollbar theme:

  • dark text => Light theme => preference value 1
  • light text => Dark theme => preference value 0

I think you see where I'm going with this: to stop Firefox from changing your overall color scheme, you can change your toolbar theme to one that has dark text. That doesn't need to be the blinding Light theme, it can have some pale color. For example:

more options

Hmmm, that's odd, cause the text in my current theme isn't dark at all. It's white text yet it sets me to dark mode. I guess I'll try a different theme.

more options

Yes, did I write it backwards? White text = Dark mode.

more options

What are the options? I use dark text and the preference is set to 2.

more options

TNorth said

What are the options? I use dark text and the preference is set to 2.

If you run the Firefox System theme, I think 2 means "automatic" based on your OS system theme.

more options

Thanks. I am using an installed theme so anybody's guess.