Add header background, change all dark theme grays to neutral grays.

This commit is contained in:
SML 2023-02-09 16:35:20 +08:00
parent 59f9b5cc28
commit 8f305047c0
2 changed files with 10 additions and 5 deletions

View File

@ -13,6 +13,7 @@
--sanic-tab-shadow: #adadad; --sanic-tab-shadow: #adadad;
--sanic-highlight-background: var(--sanic-yellow); --sanic-highlight-background: var(--sanic-yellow);
--sanic-highlight-text: var(--sanic-text); --sanic-highlight-text: var(--sanic-text);
--sanic-header-background: #000;
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
@ -22,13 +23,14 @@
--sanic-yellow: #ffde41; --sanic-yellow: #ffde41;
--sanic-purple: #b19bf8; --sanic-purple: #b19bf8;
--sanic-green: #37d971; --sanic-green: #37d971;
--sanic-background: #2b2f3b; --sanic-background: #222;
--sanic-text: #f1f5f9; --sanic-text: #e7e7e7;
--sanic-tab-background: #383d4d; --sanic-tab-background: #484848;
--sanic-tab-text: #cbd5e1; --sanic-tab-text: #e1e1e1;
--sanic-tab-shadow: #000; --sanic-tab-shadow: #000;
--sanic-highlight-background: var(--sanic-yellow); --sanic-highlight-background: var(--sanic-yellow);
--sanic-highlight-text: #1f2937; --sanic-highlight-text: #000;
--sanic-header-background: var(--sanic);
} }
} }

View File

@ -55,6 +55,9 @@ summary {
color: var(--sanic-highlight-text); color: var(--sanic-highlight-text);
} }
header {
background: var(--sanic-header-background);
}
h1 { h1 {
/*margin-left: -1.5rem; !* Emoji partially in the left margin *!*/ /*margin-left: -1.5rem; !* Emoji partially in the left margin *!*/