fix: add the appropriate color-scheme for dark mode (#2480)

This commit is contained in:
Mary 2024-01-11 11:56:21 +07:00 committed by GitHub
parent c75771047c
commit 0442dcc1a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -49,6 +49,7 @@
--text: white;
--background: black;
--backgroundLight: #26272D;
color-scheme: dark;
}
@media (prefers-color-scheme: light) {
html.colorMode--system {
@ -62,6 +63,7 @@
--text: white;
--background: black;
--backgroundLight: #26272D;
color-scheme: dark;
}
}