Accessible color systems from one seed.
Glaze turns a hue and saturation seed into a complete palette. Define how each role relates to the others, and Glaze resolves the actual colors for every supported appearance.
Set WCAG ratios or APCA Lc floors on the roles that need them. Glaze adjusts tone only when necessary and reports targets that cannot be met.
Light, dark, light high-contrast, and dark high-contrast variants share one model. Dark mode is an adaptation of the same relationships rather than a second hand-maintained palette.
Export CSS custom properties, Tailwind CSS v4 themes, W3C DTCG tokens, JSON, or Tasty bindings. Glaze is zero-dependency, TypeScript-first, and runs in Node.js, browsers, and edge runtimes.
import { glaze } from '@tenphi/glaze';
const theme = glaze(280, 80);
theme.colors({
surface: { tone: 97 },
text: { base: 'surface', tone: '-1', contrast: 'AA' },
accent: { tone: 52, mode: 'fixed' },
});
const tokens = theme.tokens();Continue with the palette methodology, browse the complete API reference, or learn how Glaze’s OKHST tone axis works.