css: dark theme
Marco Andronaco andronacomarco@gmail.com
Fri, 05 Jul 2024 16:36:36 +0000
1 files changed,
13 insertions(+),
0 deletions(-)
jump to
M
static/style.css
→
static/style.css
@@ -12,6 +12,19 @@ --display-font: "InterDisplay", -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", sans-serif;
--mono-font: 'SF Mono', SFMono-Regular, ui-monospace, 'DejaVu Sans Mono', 'Roboto Mono', Menlo, Consolas, monospace; } +@media (prefers-color-scheme: dark) { + :root { + color-scheme: dark light; + --light: #181818; + --cyan: #76c7c0; + --light-gray: #333; + --medium-gray: #444; + --gray: #aaa; + --dark: #ddd; + --darker: #f4f4f4; + } +} + html { background: var(--light); -webkit-text-size-adjust: none;