all repos — legit @ 03124550c9f86fbbdb31feb139640f55c3bb6818

web frontend for git, written in go

css: dark theme

Marco Andronaco andronacomarco@gmail.com
Fri, 05 Jul 2024 16:36:36 +0000
commit

03124550c9f86fbbdb31feb139640f55c3bb6818

parent

8a0ebe220af6aa7e7138def83b7cd2ebbc8418b2

1 files changed, 13 insertions(+), 0 deletions(-)

jump to
M static/style.cssstatic/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;