3 ms·
> prefers-color-scheme: dark How do I convince my browser (firefox, typically) to set this? Is there a way to toggle it on and off?
by gpm 5y ago
> prefers-color-scheme: dark
How do I convince my browser (firefox, typically) to set this? Is there a way to toggle it on and off?
- ORioN63 5y ago> In Firefox you can add "ui.systemUsesDarkTheme" as an integer in about:config and set it to "0" for forced light or "1" for forced dark. This setting changes what is reported by the media query, you can still set your OS and/or browser theme independently. You will need to restart Firefox to apply the setting. [1] [1] https://news.ycombinator.com/item?id=21196903 https://news.ycombinator.com/item?id=21196903