23 ms·
prefers-color-scheme is soon going to be a thing: https://caniuse.com/#search=prefers-color-scheme https://caniuse.com/#search=prefers-color-scheme The idea is
by input_sh 7y ago
prefers-color-scheme is soon going to be a thing: https://caniuse.com/#search=prefers-color-scheme https://caniuse.com/#search=prefers-color-scheme
The idea is to have one OS-wide dark theme switch and your browser to expose that preference to the websites. Latest iOS/Android/Windows already have that OS-wide preference, but, you know, it'll take quite a while before your favorite websites start supporting it.
- 333c 7y agoAs your link says, it already works for Firefox, Safari, and Chrome, which to me makes it "a thing." The only big browser that (apparently) doesn't support it is Edge.