Files
TUI-WM/themes/light.toml
Bjorn Blomberg 1c7999de09 Themes as standalone config files + configurable shadow + dim unfocused + resize content-loss fix
- Theme is now a runtime struct loaded from its own TOML file
  (theme = "themes/dark.toml" in config.toml, like panels), all
  fields optional with built-in defaults; ships themes/dark.toml and
  themes/light.toml
- shadow = true/false in config.toml, shadow_color per theme
- dim_unfocused (per theme): unfocused window content is dimmed
- BUGFIX: resizing a window no longer erases its content and history —
  the vt100 parser was recreated on every resize; now uses
  screen_mut().set_size() which preserves the grid and scrollback
- New integration check: window content survives mouse resize (20/20)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 19:35:15 +02:00

18 lines
396 B
TOML

# TUI-WM ljust tema — exempel på eget tema.
# Välj i config.toml: theme = "themes/light.toml"
accent = "blue"
resize = "166"
resize_hover = "208"
border_dim = "249"
desktop_bg = "253"
panel_bg = "251"
menu_bg = "254"
text = "black"
panel_text = "236"
hint = "245"
ok = "28"
danger = "124"
shadow_color = "248"
dim_unfocused = true