zenith-core 0.0.0-beta.1

Zenith core: KDL parser adapter, semantic AST, canonical formatter, tokens, validation, and diagnostics.
Documentation
1
2
3
4
5
6
7
8
9
10
//! 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.

pub mod synth;

pub use synth::{PALETTE_ORDER, PaletteSpec, Rgb, Scheme, synth_palette};