Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Add macOS Dark Mode Support to Your Website
@media (prefers-color-scheme: dark) {
body {
color: #ddd;
background-color: #222;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.