Skip to main content

Module theme

Module theme 

Source
Expand description

Named colour palettes for the TUI.

All colour constants used across the TUI rendering modules come from a Theme struct that lives in [AppState]. Switching themes at runtime requires only updating app.state.theme — no re-compile needed.

Built-in themes: DARK (default), LIGHT, SOLARIZED.

Structs§

Theme
A named colour palette for the TUI.

Constants§

ALL_THEMES
DARK
LIGHT
SOLARIZED

Functions§

find_theme
Look up a theme by name; falls back to DARK for unknown names.