Expand description
Color palette resolution.
Three-layer precedence (matches claudebar:163-167):
- CLI overrides (passed via
Theme::with_overrides) - Omarchy theme at
~/.config/omarchy/current/theme/colors.toml - One Dark fallback
The Omarchy file format is key = "value" lines (claudebar:115-131 uses a
regex that tolerates comments + blank lines + extra whitespace). We use
toml::from_str for the same effect — Omarchy themes are valid TOML.
Structs§
- Theme
- Full resolved palette used by the widget tooltip and the TUI.
Functions§
- hex_
blend - Average two
#RRGGBBstrings into a midpoint color. ReturnsNoneif either input isn’t parseable. Mirrors claudebar’shex_blend()(claudebar:105-110).