Created
May 27, 2019 17:12
-
-
Save lucascantor/6560b43b6f3da94eb75319040c032132 to your computer and use it in GitHub Desktop.
Add macOS Dark Mode Support to Your Website
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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