3 ms·
> neither 1. allows me to override its choices What makes you feel like it doesn't allow you to override its styles? Unless it's doing some funny business with
by lelandfe 4y ago
> neither 1. allows me to override its choices
What makes you feel like it doesn't allow you to override its styles? Unless it's doing some funny business with e.g. the shadow DOM, you can literally just add some CSS in your browser – the exact ease that this blog author was wishing for:
* { background: white; color: black !important; }
- hackmiester 4y agoThe standard way would be to respect prefers-color-scheme (rather than make the user do something specific for your site). https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme https://developer.mozilla.org/en-US/docs/Web/CSS/@media/pref...
- lelandfe 4y agoThat would be GP's second point, "respects my system theme."
- ryandrake 4y agoI'm not a web developer, but looking at "prefers-color-scheme," that seems like a good, but very tiny step in the right direction. I'd consider my system theme to be more than just binary "dark" vs. "light". What about font, text size, specific colors and appearance for content and UI controls, colors and fonts for link text, and so on. As a user, I shouldn't need to inject CSS, fart around with Greasemonkey scripts, or use the big hammer "Disable CSS," just to force my browser into respecting user preferences.