Expand description
Theme system — loads colour palettes from YAML and exposes typed accessors.
Resolution order for a theme named <name>:
.oo/themes/<name>.yaml(project-local override)~/.config/oo/themes/<name>.yaml(global user override)- Built-in embedded
dark/light(compiled-in viainclude_str!)
Non-base themes may declare extends: dark or extends: light; missing
keys are then inherited from the parent. Base themes must define every key.
Per-key overrides can be set in settings under theme.colors.<field>.
Structs§
- Theme
- Resolved colour palette. All colours are stored as
ratatui::style::Color.
Functions§
- parse_
color - Parse a colour string into a
ratatui::style::Color.