media queries

Dark modes with CSS

– Posted in: Article, macOS, media queries, Web Design

With the introduction of dark mode in macOS, Safari Technology Preview 68 has released a new feature called,prefers-color-scheme which lets us detect whether the user has dark mode enabled with a media query. That’s right. If this becomes a little bit more supported in other browsers, then we might potentially soon have a way to [...]