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
2 changed files with 4 additions and 0 deletions
+2
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;
}
}
+2
View File
@@ -53,6 +53,7 @@
--text: white;
--background: black;
--backgroundLight: #26272D;
color-scheme: dark;
}
@media (prefers-color-scheme: light) {
html.colorMode--system {
@@ -66,6 +67,7 @@
--text: white;
--background: black;
--backgroundLight: #26272D;
color-scheme: dark;
}
}