4 ms·
Browsers shouldn't set a preferred colour scheme by default. I think the prefers-color-scheme media query would be respected on more sites if by default it had
by aniviacat 2y ago
Browsers shouldn't set a preferred colour scheme by default.
I think the prefers-color-scheme media query would be respected on more sites if by default it had the value "unset" or something, instead of defaulting to "light" or "dark".
I personally don't respect it on my sites for this reason. 99% of people visiting my sites won't actually have set this value themselves.
- Kamq 2y ago> Browsers shouldn't set a preferred colour scheme by default. I mean, they really don't (the defaults are exactly what they have been since Mosaic left the scene). Unless the user tells them to do something else. And at that point, it's my computer, and I told it to do something, why shouldn't it do that?
- steve_taylor 2y ago> 99% of people visiting my sites won't actually have set this value themselves. It's inherited from their operating system settings. Dark theme is typically opt-in.
- philwelch 2y agoActually, websites shouldn’t set a preferred color scheme by default.