Welcome to the Power Users community on Codidact!
Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.
Post History
According to this support answer to "Home page is black", Enter about:config in the address bar. Edit the value of "layout.css.prefers-color-scheme.content-override" to 0 to use a dark b...
Answer
#5: Post edited
- According to [this support answer to "Home page is black"][0],
- 1. Enter `about:config` in the address bar.
- 2. Edit the value of "layout.css.prefers-color-scheme.content-override" to
- ```
- 0 to use a dark background
- 1 to use a light background
- 2 to follow the system GTK theme
- 3 to follow the browser toolbar theme
- ```
- Some notes:
- - [The option is not documented yet.][1]
- - Since few web pages offer a dark mode, don't expect
this to affect many of them. If you want to force a dark background for any page, there are several add-ons for that, for example [Dark Reader][2].- - If you choose `2` and use a global dark theme on KDE, you also need to set a dark GTK theme in the settings manager (_Application style > GNOME/GTK application style_). Choosing only the global theme as dark will have no effect on Firefox, because the former is Qt based and the latter GTK based.
- [0]: https://support.mozilla.org/en-US/questions/1363994
- [1]: https://firefox-source-docs.mozilla.org/browser/urlbar/preferences.html
[2]: https://github.com/darkreader/darkreader
- According to [this support answer to "Home page is black"][0],
- 1. Enter `about:config` in the address bar.
- 2. Edit the value of "layout.css.prefers-color-scheme.content-override" to
- ```
- 0 to use a dark background
- 1 to use a light background
- 2 to follow the system GTK theme
- 3 to follow the browser toolbar theme
- ```
- Some notes:
- - [The option is not documented yet.][1]
- - It doesn't work if "privacy.resistFingerprinting" is true.
- - Since few web pages offer a dark mode, don't expect
- this to affect many of them. If you want to force a dark background for any page, there are several add-ons for that, for example [Dark Reader][2] and [Midnight Lizard][3].
- - If you choose `2` and use a global dark theme on KDE, you also need to set a dark GTK theme in the settings manager (_Application style > GNOME/GTK application style_). Choosing only the global theme as dark will have no effect on Firefox, because the former is Qt based and the latter GTK based.
- [0]: https://support.mozilla.org/en-US/questions/1363994
- [1]: https://firefox-source-docs.mozilla.org/browser/urlbar/preferences.html
- [2]: https://github.com/darkreader/darkreader
- [3]: https://github.com/Midnight-Lizard/Midnight-Lizard
#3: Post edited
- According to [this support answer to "Home page is black"][0],
- 1. Enter `about:config` in the address bar.
- 2. Edit the value of "layout.css.prefers-color-scheme.content-override" to
```0 to use a dark background1 to use a light background2 to follow the system theme3 to follow the browser toolbar theme```[The option is not documented yet.][1]I want to stress that few web pages offer a dark mode, so don't expect- this to affect many of them. If you want to force a dark background for any page, there are several add-ons for that, for example [Dark Reader][2].
- [0]: https://support.mozilla.org/en-US/questions/1363994
- [1]: https://firefox-source-docs.mozilla.org/browser/urlbar/preferences.html
- [2]: https://github.com/darkreader/darkreader
- According to [this support answer to "Home page is black"][0],
- 1. Enter `about:config` in the address bar.
- 2. Edit the value of "layout.css.prefers-color-scheme.content-override" to
- ```
- 0 to use a dark background
- 1 to use a light background
- 2 to follow the system GTK theme
- 3 to follow the browser toolbar theme
- ```
- Some notes:
- - [The option is not documented yet.][1]
- - Since few web pages offer a dark mode, don't expect
- this to affect many of them. If you want to force a dark background for any page, there are several add-ons for that, for example [Dark Reader][2].
- - If you choose `2` and use a global dark theme on KDE, you also need to set a dark GTK theme in the settings manager (_Application style > GNOME/GTK application style_). Choosing only the global theme as dark will have no effect on Firefox, because the former is Qt based and the latter GTK based.
- [0]: https://support.mozilla.org/en-US/questions/1363994
- [1]: https://firefox-source-docs.mozilla.org/browser/urlbar/preferences.html
- [2]: https://github.com/darkreader/darkreader
#1: Initial revision
According to [this support answer to "Home page is black"][0], 1. Enter `about:config` in the address bar. 2. Edit the value of "layout.css.prefers-color-scheme.content-override" to ``` 0 to use a dark background 1 to use a light background 2 to follow the system theme 3 to follow the browser toolbar theme ``` [The option is not documented yet.][1] I want to stress that few web pages offer a dark mode, so don't expect this to affect many of them. If you want to force a dark background for any page, there are several add-ons for that, for example [Dark Reader][2]. [0]: https://support.mozilla.org/en-US/questions/1363994 [1]: https://firefox-source-docs.mozilla.org/browser/urlbar/preferences.html [2]: https://github.com/darkreader/darkreader