summaryrefslogtreecommitdiff
path: root/crates/wipfel/Cargo.toml
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-28 08:42:30 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-28 08:42:30 +0100
commitaab6af1601fa4cdb9b351987220f32de062d4b2c (patch)
treee5d2b4b6af7e5d8fd8d19717786ed0f29b619b0f /crates/wipfel/Cargo.toml
parentd57f022243850b532239ae08dd75717f55415fbf (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 'crates/wipfel/Cargo.toml')
-rw-r--r--crates/wipfel/Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/wipfel/Cargo.toml b/crates/wipfel/Cargo.toml
index fad31ce..47faa60 100644
--- a/crates/wipfel/Cargo.toml
+++ b/crates/wipfel/Cargo.toml
@@ -19,6 +19,7 @@ features = [
"Blob",
"CanvasRenderingContext2d",
"DataTransfer",
+ "CssStyleDeclaration",
"Document",
"DomRect",
"DragEvent",