fix: add the appropriate color-scheme for dark mode (#2480)
This commit is contained in:
parent
c75771047c
commit
0442dcc1a0
2 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue