Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

On my system, the dark reader plugin also has an option to force a light theme.

Actually, the browser has the ability to set a default background and foreground anyway, so this extension would be unnecessary if websites would behave properly and respect these defaults unless they really need to. We live in an unfortunate world where a “actually respect my preferences” extension is necessary, but since it is necessary, it should be noted that it covers both options. Overall the situation is pretty stupid but hey at least we’ve got workarounds, right?



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.


> 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.


Actually, websites shouldn’t set a preferred color scheme by default.


> 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?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: