mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-20 10:33:41 -05:00
web/css: set css color-scheme property to match theme
This commit is contained in:
parent
297193fa73
commit
b5e1e1ec1a
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