clean up css color scheme stuff a bit

This commit is contained in:
xenofem 2022-05-26 14:43:21 -04:00
parent 4f9d46cc28
commit 70e6b8bec6
2 changed files with 25 additions and 28 deletions

View file

@ -1,35 +1,31 @@
@media not all and (prefers-color-scheme: dark) { :root {
:root { --success-primary: #060;
color-scheme: light; --success-secondary: #0a0;
--success-primary: #060; --failure-primary: #d00;
--success-secondary: #0a0; --failure-secondary: #f24;
--failure-primary: #d00; --progress-primary: #27f;
--failure-secondary: #f24; --progress-secondary: #48f;
--progress-primary: #27f; --progress-tertiary: #7af;
--progress-secondary: #48f; --border: #ddd;
--progress-tertiary: #7af; --border-active: #777;
--border: #ddd; --icon-primary: #333;
--border-active: #777; --icon-primary-active: #000;
--icon-primary: #333; --icon-secondary: #888;
--icon-primary-active: #000; --icon-warning: #f00;
--icon-secondary: #888; --icon-ready: #33f;
--icon-warning: #f00; --icon-ready-active: #00b;
--icon-ready: #33f; --icon-unavailable: #999;
--icon-ready-active: #00b; --button-text: #000;
--icon-unavailable: #999; --button-background: #ccc;
--button-text: #000; --button-background-active: #aaa;
--button-background: #ccc; --button-border: #bbb;
--button-background-active: #aaa; --button-disabled-text: #666;
--button-border: #bbb; --button-disabled-background: #eee;
--button-disabled-text: #666; --button-disabled-border: #ddd;
--button-disabled-background: #eee;
--button-disabled-border: #ddd;
}
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
:root { :root {
color-scheme: dark;
--success-primary: #0d0; --success-primary: #0d0;
--success-secondary: #080; --success-secondary: #080;
--failure-primary: #f34; --failure-primary: #f34;

View file

@ -9,6 +9,7 @@ body {
#header h1 { #header h1 {
margin-top: 5px; margin-top: 5px;
color: CanvasText;
} }
#header a { #header a {