This is a great blog post to build awareness of the prefers-color-scheme feature. But I don't think it's safe to assume that someone who sets a dark UI also wants web pages displayed like that. I set dark mode in macOS to have the UI fade into the background and reveal the content; I don't want or expect that websites will present white text on a dark background too. That's fine for coding but can be less readable fo…
Also while it's very cool that they support this in Safari, I highly doubt someone will do CSS adjustments JUST for Safari users like this. Either your page already has a dark theme or you won't really bother about this.
Using Dark Mode in CSS with MacOS Mojave
31–40 of 128 posts
Re: Using Dark Mode in CSS with MacOS Mojave
#32i use this. best "turn everything into dark mode" ff plugin ever. supports per website settings. https://github.com/darkreader/darkreader
Re: Using Dark Mode in CSS with MacOS Mojave
#33Dark Reader for Safari makes the web dark automatically when Dark Mode is enabled: https://darkreader.org/safari/ Unfortunately it doesn't work in Chrome or Firefox yet, as they haven't implemented proper APIs.
Re: Using Dark Mode in CSS with MacOS Mojave
#34Re: Using Dark Mode in CSS with MacOS Mojave
#35Dark Reader for Safari makes the web dark automatically when Dark Mode is enabled: https://darkreader.org/safari/ Unfortunately it doesn't work in Chrome or Firefox yet, as they haven't implemented proper APIs.
Re: Using Dark Mode in CSS with MacOS Mojave
#36Re: Using Dark Mode in CSS with MacOS Mojave
#37Re: Using Dark Mode in CSS with MacOS Mojave
#38This is a great blog post to build awareness of the prefers-color-scheme feature. But I don't think it's safe to assume that someone who sets a dark UI also wants web pages displayed like that. I set dark mode in macOS to have the UI fade into the background and reveal the content; I don't want or expect that websites will present white text on a dark background too. That's fine for coding but can be less readable fo…
Sites that support dark mode should (and will almost always) have a toggle for it. It'd be better if this setting helped _inform_ the default initial state rather than _forcing_ a choice on you. To me, that's a lot easier done with a Javascript API than CSS.
Re: Using Dark Mode in CSS with MacOS Mojave
#39This is a great blog post to build awareness of the prefers-color-scheme feature. But I don't think it's safe to assume that someone who sets a dark UI also wants web pages displayed like that. I set dark mode in macOS to have the UI fade into the background and reveal the content; I don't want or expect that websites will present white text on a dark background too. That's fine for coding but can be less readable fo…
This is why I think they should focus on exposing the dark mode setting in Javascript instead of CSS. Sites that support dark mode should (and will almost always) have a toggle for it. It'd be better if this setting helped _inform_ the default initial state rather than _forcing_ a choice on you. To me, that's a lot easier done with a Javascript API than CSS.
Re: Using Dark Mode in CSS with MacOS Mojave
#40This is a great blog post to build awareness of the prefers-color-scheme feature. But I don't think it's safe to assume that someone who sets a dark UI also wants web pages displayed like that. I set dark mode in macOS to have the UI fade into the background and reveal the content; I don't want or expect that websites will present white text on a dark background too. That's fine for coding but can be less readable fo…
As a counterpoint, I find a white app or webpage jarring in dark mode and much prefer light/white text on dark background. I’m happy that the rest of the os is catching up with how I’ve run my IDE for years.