feat(theme): themes as files (theme crate: toml subset + ints, contrast check, wire); whimsy dark + light; display reads themes/, serves THEME/THEME_NAME, init SET_THEME -> THEME_CHANGED to all windows, bar themed; k-ui follows; settings appearance; init keeps choice in sealed users/<id>/settings/, reapplies at sign-in + display restart

This commit is contained in:
2026-10-28 13:36:57 +01:00
parent 29becf297c
commit 6827e1455d
43 changed files with 1140 additions and 179 deletions

View File

@@ -0,0 +1,34 @@
[meta]
name = "Whimsy Light"
[colour]
background = "#f3f2f8"
surface = "#ffffff"
surface_raised = "#e6e4f0"
accent = "#0b6bcb"
on_accent = "#ffffff"
text_primary = "#1a1a2e"
text_secondary = "#55556e"
destructive = "#c62828"
on_destructive = "#ffffff"
focus = "#1a1a2e"
[wallpaper]
orbs = ["#c9b8ff", "#a8e6ff", "#ffc6e8"]
[shape]
corner_radius = 16
[spacing]
base = 4
[motion]
duration_fast = 150
duration_normal = 280
spring_stiffness = 300
spring_damping = 30
[glass]
blur_radius = 12
panel_opacity = 64
highlight = 40