Skip to main content

Module theme

Module theme 

Source
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).
ThemeErr
Error from theme new: a message plus a process exit code.
ThemeInput
All inputs for theme new. Colours are hex strings (#rrggbb); only primary is required.

Functions§

new
Synthesize the theme and return canonical .zen source.