Expand description
Color palette resolution.
Three-layer precedence (matches claudebar:163-167):
- CLI overrides (passed via
Theme::with_overrides) - The active Omarchy theme’s
colors.toml - One Dark fallback
Omarchy applies a theme into ~/.local/state/omarchy/current/theme; the
~/.config/omarchy/current/theme location this port originally read is the
older layout and stays as a 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).