Expand description
Theme synthesis — derive a complete design-token palette from a few brand colors, choosing readable foregrounds via APCA (WCAG 3) contrast.
This is the engine side of zenith theme: it owns the colour math and the
token contract, so every front end (CLI, future GUI) produces identical,
deterministic palettes. Emitting .zen source is the caller’s job.
Re-exports§
pub use synth::PALETTE_ORDER;pub use synth::PaletteSpec;pub use synth::Rgb;pub use synth::Scheme;pub use synth::synth_palette;
Modules§
- synth
- Palette synthesis from brand seed colors.