Theme Apollion
A theme is derived, not hand-painted. You supply a few brand seed colors; the engine derives every palette,
both modes, the surface ladder and three densities. Accessibility contrast is part of the derivation, not
an audit you run afterwards.
Theming
The model
- Theming, Config-First — the axes (brand, mode, surface, dimension) and where each is set.
- Semantic & Foundation Tokens — the token layers components and product code read.
Modes and surfaces
- Dark Mode — the
modeanda11yaxes, the surface ladder, persistence and SSR. - Surface Inversion — a negative subtree on the opposite polarity's ladder.
API
- ApollionProvider and createTheme — the runtime entry points.
- Colors, Accessibility Presets, Text Size, Spacing & Dimensions, GlobalStyle.
Static output
The same seeds build to CSS, JSON and TypeScript for non-React consumers. See Token Build.
Overrides
Every derived value accepts a per-slot override. The engine applies it verbatim and skips its guarantees for that slot, so prefer a Foundation alias over a literal.