Repository navigation
v0.12.0 — monochromatic terminal color rework + DS-0107 component polish
The color system is rebuilt as a monochromatic 16-slot terminal palette, and the DS-0107 component polish round ships alongside it. Full details: CHANGELOG.md → 0.12.0.
Highlights
- Two-layer color architecture — a generated OKLCH root layer (16 ANSI slots +
bg/fg/--ss-accent, seeded from the brand green#66ef73; the dark background follows the complement rule; every text slot AA-solved on both surfaces, asserted in tests) and a semantic layer derived entirely viavar()/color-mix(). Regenerate withpnpm gen:palette. - Custom palettes —
applyDesignConfig({ palette })(runtime) andpaletteToCss()(zero-JS/SSR), plus an interactive Theme Builder and a Color theory guide in the docs. CHART_PALETTEexported; chart family + Avatar share one slot-based categorical palette.- DS-0107: Icon fixed size scale + chevron, configurable default Spinner variant, Button Spinner-variant loading, Badge six semantic tones, coordinated inner sizes,
--ss-gap-xs.
Breaking (pre-1.0 minor)
- Status hues carry new values;
--ss-purple→--ss-magenta,--ss-lime→--ss-green(deprecated aliases shipped for one minor). --ss-primary-rgb/--ss-red-rgbremoved — migrate tocolor-mix(in srgb, var(--ss-accent|--ss-danger) N%, transparent).- Badge tone rename (six semantic tones) and
Buttonloading: boolean | SpinnerVariant(DS-0107).