Add color sections for dark mode

This commit is contained in:
SML 2023-02-08 23:59:32 +08:00
parent 4c55051442
commit b0cb01d1a4

View File

@ -89,8 +89,17 @@ span.icon {
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
body {
--sanic: #ef4444;
--sanic-blue: #38bdf8;
--sanic-yellow: #FFE900;
--sanic-purple: #a78bfa;
--sanic-green: #4ade80;
}
html { html {
background: #111; background: #2b2f3b;
color: #ccc; color: #ccc;
} }