Hacker News new | ask | show | jobs
by guessmyname 2594 days ago
Safari Release 81 renamed “supported-color-schemes” to “color-scheme” [1].

But it seems that “prefers-color-scheme” is still, well, preferred [2].

[1] https://developer.apple.com/safari/technology-preview/releas...

[2] https://caniuse.com/#search=color-scheme

1 comments

supported-color-schemes is a HTML tag indicating if the website supports dark mode (useful for auto-darkening support) and the media query is for actually implementing it.