diff options
author | Marco Andronaco <andronacomarco@gmail.com> | 2024-07-05 16:36:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-05 22:06:36 +0530 |
commit | 03124550c9f86fbbdb31feb139640f55c3bb6818 (patch) | |
tree | 8b2f970988d66e16d4c8a1c536dc49666ec8fbc4 /static | |
parent | git: hide .git extension (diff) | |
download | legitrx-03124550c9f86fbbdb31feb139640f55c3bb6818.tar.gz legitrx-03124550c9f86fbbdb31feb139640f55c3bb6818.tar.zst legitrx-03124550c9f86fbbdb31feb139640f55c3bb6818.zip |
css: dark theme
Diffstat (limited to 'static')
-rw-r--r-- | static/style.css | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/static/style.css b/static/style.css index 67b8e26..e00a43e 100644 --- a/static/style.css +++ b/static/style.css @@ -12,6 +12,19 @@ --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; |