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

View file

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