> 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?
Re:Please don't force dark mode
by steve_taylor on Sunday January 19, 2025 @09:05PM
(#42764244)
> 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.
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.