4 ms·
> so at least default to the user global preference I'm actually kind of annoyed at prefers-color-scheme, and the inability to control it as a user in my brows
by madeofpalk 4y ago
> so at least default to the user global preference
I'm actually kind of annoyed at prefers-color-scheme, and the inability to control it as a user in my browser.
I have my Windows set to dark mode because I prefer how Explorer and the rest of the Windows UI looks in dark mode, and I want my OS chrome to be less distracting and to just "fade away". However, all web browsers see this as a signal to tell every website I would prefer them to be in dark mode also, which is not correct! I wish I could set chrome itself to prefers-color-scheme: light (without having to use the dev tools on every website).
- TomGullen 4y agoSo change the website theme to light mode? I use dark mode, and am happy when websites are served in dark mode (and I think the majority are this way). I think you're likely in the minority, and the easy fix is just to switch the websites you use to light mode.
- _jstreet 4y ago> the easy fix is just to switch the websites you use to light mode. The trouble is that `prefers-color-scheme` is set at browser or system level. In order for a website to use a different colour-scheme, then they need to add functionality with Javascript in order to be able to load different styling at user request. I wish there were some URL-based rules you could set in the browser settings (I expect there are addons to do this, haven't looked though!).
- madeofpalk 4y agoWhat if the website does not provide a toggle to control to control this? I wish there was a browser preference to control prefers-color-scheme (which it sounds like new FF does!). I don't really care that I'm probably in the minority of users who think or care about this. It doesn't make how I feel any less valid.
- SemanticStrengh 4y agoYou can override it via e.g. stylus or maybe https://stackoverflow.com/a/59223868 https://stackoverflow.com/a/59223868 are there better extensions for providing styles that apply to every website than stylus?
- noisem4ker 4y agoFirefox lets you control that, at least since the latest Developer Edition (101b7). Under Settings, General, Language and Appearance, one can choose between the following: - match the Firefox theme - match the system theme - force light - force dark
- madeofpalk 4y agoNice! This might get me to finally switch to Firefox on Windows, after using in on my Mac for a while :)
- DemocracyFTW2 4y agothanks!
- photon-torpedo 4y agoThanks! This also works in Firefox 100.
- Nitrolo 4y agoI just figured iut that I can enable dark mode for windows apps globaly (Srttings -> Personalisation -> Colour), thanks!
- dhogan 4y agoMaybe this would lead you in the right direction: chrome://flags/#enable-force-dark Though, maybe that only does the reverse of what you're looking for.