points by Rohansi 4 days ago | 0 comments
But you can have both? Automatically switching between light and dark mode based on system preferences is handled by CSS, which you can override with your own styling.
[–] hackinthebochs 4 days ago
[–] Rohansi 4 days ago
> But this involves setting a lot of styles and must be done case-by-case rather than using an auto styler.
If the website is using modern CSS then the colors would be set via CSS variables instead of being set inline in lots of places.
> I also detest the conflation of OS dark preference, browser chrome theme preference, and website rendering preference. It should be obvious to anyone that these are three different concepts where people can have different preferences for each.
Most people definitely prefer consistency so I don't think it is unreasonable to default to following the system preference.
[–] hackinthebochs 3 days ago
I don't mind the default, but it's the lack of customization in most apps that is a severe oversight. I can't change my theme in the OS without it telling apps I want a dark theme (I don't). I can't change the theme in the browser with it telling every website I want a dark theme (I don't). There are no overrides to force the website rendering theme to be decoupled from the browser/OS theme. In everyone's mad dash to implement a dark theme, no one stopped to think for half a second. It's asinine.
I also detest the conflation of OS dark preference, browser chrome theme preference, and website rendering preference. It should be obvious to anyone that these are three different concepts where people can have different preferences for each. The cargo-culting in silicon valley drives me nuts.