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

Where is the dark theme option stored?

  • 7 replies
  • 1 has this problem
  • 9740 views
  • Last reply by user2044783

more options

When using the official 'Dark' theme, some things like the home page change their theme to dark.

When using a 3rd-party theme, how can I get the same dark theming?

I tried comparing the prefs.js file with official Dark and Light themes, but didn't find any meaningful differences.

Related: https://github.com/mozilla/FirefoxColor/issues/863 https://github.com/mozilla/FirefoxColor/issues/740

When using the official 'Dark' theme, some things like the home page change their theme to dark. When using a 3rd-party theme, how can I get the same dark theming? I tried comparing the prefs.js file with official Dark and Light themes, but didn't find any meaningful differences. Related: https://github.com/mozilla/FirefoxColor/issues/863 https://github.com/mozilla/FirefoxColor/issues/740

Modified by user2044783

All Replies (7)

more options

Hello,

If you go to about:config there is an option: browser.in-content.dark-mode if you set that to true, you should get the requested behavior. If the setting is not there, just create it.

more options

Chosen Solution

more options

Matthew Thomas said

Hello, If you go to about:config there is an option: browser.in-content.dark-mode if you set that to true, you should get the requested behavior. If the setting is not there, just create it.

I have it already true (and checked, it remained true while testing with other themes).

more options

cor-el said

See:

Found "ntp_background": "#2A2A2E", (the same hex is found on the dark-themed home page) in https://dxr.mozilla.org/mozilla-release/source/browser/themes/addons/dark/manifest.json

Now, have to implement it in to Firefox Color I guess. Thank you.

more options

Hi,

I hope this helps you.

Open the settings and click personalization. Then click on the colors button and you will get the dark theme option.

Settings>>Personalization>>Colors>>Dark

more options

Hi,

If you do not get the dark theme from the settings for a third party theme, I hope you will be able to get it by following the steps below.

First open the Firefox browser. Then type about: config in the search bar. Then click accept the risk and continue. Then type browser.in-content.dark-mode in its search bar. Where browser.in-content.dark-mode appears as false, change it to true.

more options

I already have browser.in-content.dark-mode true and am not using Windows.