Created
March 31, 2020 20:34
-
-
Save marco-van-zomeren/dc2a4898f600a3a8c4446ce2d2069f9f to your computer and use it in GitHub Desktop.
Support dark color scheme
This file contains 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
:root { | |
color-scheme: light dark; | |
supported-color-schemes: light dark; | |
} | |
@media (prefers-color-scheme: dark) { | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment