mozilla / FirefoxColor

Theming demo for Firefox Quantum and beyond
https://color.firefox.com
Mozilla Public License 2.0
452 stars 93 forks source link

New tab background color #957

Closed naoliv closed 3 years ago

naoliv commented 3 years ago

Unless I am misunderstanding something here, it's not possible to customize the new tab background color? (which is white, by default)

For example, when trying to create a darker theme I couldn't get rid of this white background (on the about:blank tabs):

Rob--W commented 3 years ago

The background color of the about:blank page is not controlled by themes, but by whether your system is using a dark theme.

If you have not or cannot changed your system's "dark theme" setting, then you can force the dark theme to be enabled as follows:

  1. Visit about:config.
  2. Put ui.systemUsesDarkTheme in the input box, and set it to 1.

This preference does not only change the appearance of about:blank, but it will also change the colors of any website that has declared a dark theme via https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme

naoliv commented 3 years ago

Interesting! I didn't know this. Probably this issue could be closed then? Thank you a lot!