forked from Mirrors/gomuks
web/css: set color-scheme property to match theme (#527)
This commit is contained in:
parent
91676f3e98
commit
5d0642130d
1 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
:root {
|
||||
color-scheme: light;
|
||||
--font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
||||
--monospace-font-stack: "Fira Code", monospace;
|
||||
|
||||
|
@ -67,6 +68,7 @@
|
|||
--clickable-cursor: default;
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
color-scheme: dark;
|
||||
--background-color: #000;
|
||||
--login-background-color: #111;
|
||||
--text-color: #fff;
|
||||
|
|
Loading…
Add table
Reference in a new issue