
Where is the dark theme option stored?
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
由 user2044783 於
所有回覆 (7)
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.
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).
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.
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
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.
I already have browser.in-content.dark-mode true and am not using Windows.