mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-19 18:13:41 -05:00
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 {
|
:root {
|
||||||
|
color-scheme: light;
|
||||||
--font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
--font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
||||||
--monospace-font-stack: "Fira Code", monospace;
|
--monospace-font-stack: "Fira Code", monospace;
|
||||||
|
|
||||||
|
@ -67,6 +68,7 @@
|
||||||
--clickable-cursor: default;
|
--clickable-cursor: default;
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
|
color-scheme: dark;
|
||||||
--background-color: #000;
|
--background-color: #000;
|
||||||
--login-background-color: #111;
|
--login-background-color: #111;
|
||||||
--text-color: #fff;
|
--text-color: #fff;
|
||||||
|
|
Loading…
Add table
Reference in a new issue