Reply To https://victoria.dev/blog/responsive-pages-and-color-themes-with-minimal-css/

How to build your own newsletter list with DynamoDB and SES email sign up confirmations.

I really like the look of your site in dark mode. The code blocks are my favorite part. Nice job!

What's this declaration do?

:root {
    color-scheme: light dark;
}

Searching for color-scheme on MDN just points me to the @prefers-color-scheme declaration. Is it manually specifying the default color scheme that should be applied if the user doesn't have a preference set?

Comments

There aren't any comments on this post yet. To comment, publish your reply online and send a webmention.

Back To Top