Expand description
Pure logic for zenith theme new.
Synthesizes a complete theme .zen pack from brand seed colours, reusing
zenith_core::theme for the palette (APCA-chosen .content foregrounds)
and the canonical formatter for output. Operates on in-memory strings only.
Structs§
- Shape
- Shape/typography inputs that are not derived (passed straight through).
- Theme
Err - Error from
theme new: a message plus a process exit code. - Theme
Input - All inputs for
theme new. Colours are hex strings (#rrggbb); onlyprimaryis required.
Functions§
- new
- Synthesize the theme and return canonical
.zensource.