Get ready for "prefers-color-scheme" media queries to toggle between light/dark interfaces
over 4 years ago from Joshua Turner, Founder at Narro
The latest Safari Technology Preview (Release 68, Safari 12.1, WebKit 14607.1.11) has implemented support for this media query to allow you to tailor your site to dark modes.
This will very likely be mirrored in Chrome/Firefox within the year.
You can see an example here if you're running the latest Tech Preview, and if you're not you can at least see what the queries will look like.
Login to Comment
You'll need to log in before you can leave a comment.Login
New accounts can leave comments immediately, and gain full permissions after one week.Register now