zenith_core/theme/mod.rs
1//! Theme synthesis — derive a complete design-token palette from a few brand
2//! colors, choosing readable foregrounds via APCA (WCAG 3) contrast.
3//!
4//! This is the engine side of `zenith theme`: it owns the colour math and the
5//! token contract, so every front end (CLI, future GUI) produces identical,
6//! deterministic palettes. Emitting `.zen` source is the caller's job.
7
8pub mod synth;
9
10pub use synth::{PALETTE_ORDER, PaletteSpec, Rgb, Scheme, synth_palette};