Expand description
The hotl theme: config model, named presets, and (feature “ratatui”) the resolved terminal palette. One crate owns the pipeline from config string to Color; both the watch dashboard and the execute TUI consume it.
Structs§
- Theme
- Theme
Config - Theme selection: an optional
presetbase palette plus optional per-slot color overrides. Absent fields fall back to the preset (or default).
Functions§
- parse_
hex - Parse a
#rrggbb(orrrggbb) hex color into its RGB bytes. ReturnsNonefor any string that isn’t exactly six hex digits — the single source of truth for what counts as a valid color, shared by config validation and the TUI renderer. - preset
- Look up a built-in palette by name.
Noneif the name is unknown.