diff options
| author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2026-10-28 08:42:30 +0100 |
|---|---|---|
| committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2026-10-28 08:42:30 +0100 |
| commit | aab6af1601fa4cdb9b351987220f32de062d4b2c (patch) | |
| tree | e5d2b4b6af7e5d8fd8d19717786ed0f29b619b0f /dist/wipfel/index.html | |
| parent | d57f022243850b532239ae08dd75717f55415fbf (diff) | |
web: follow system light/dark preference
All colors moved into CSS custom properties on :root (dark default)
with a prefers-color-scheme: light override block. The two canvas-
drawn surfaces follow too: the viewport now clears transparent so the
CSS canvas background shows through, and the compass strip reads its
colors from the same variables via a new bridge::css_var helper.
theme-color metas (dark + light variants) tint mobile browser chrome
to match.
Diffstat (limited to 'dist/wipfel/index.html')
| -rw-r--r-- | dist/wipfel/index.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dist/wipfel/index.html b/dist/wipfel/index.html index 98f81e8..67d0378 100644 --- a/dist/wipfel/index.html +++ b/dist/wipfel/index.html @@ -3,6 +3,8 @@ <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> + <meta name="theme-color" content="#101014" media="(prefers-color-scheme: dark)" /> + <meta name="theme-color" content="#e9eaf0" media="(prefers-color-scheme: light)" /> <title>wipfel — web based gipfel photogrammetry</title> <link rel="stylesheet" href="style.css" /> </head> |
