Skip to content

v0.12.0 — monochromatic terminal color rework + DS-0107 component polish

Choose a tag to compare

@httpassoca httpassoca released this 10 Jul 23:49
· 71 commits to main since this release
86bfc39

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 via var()/color-mix(). Regenerate with pnpm gen:palette.
  • Custom palettes — applyDesignConfig({ palette }) (runtime) and paletteToCss() (zero-JS/SSR), plus an interactive Theme Builder and a Color theory guide in the docs.
  • CHART_PALETTE exported; 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-rgb removed — migrate to color-mix(in srgb, var(--ss-accent|--ss-danger) N%, transparent).
  • Badge tone rename (six semantic tones) and Button loading: boolean | SpinnerVariant (DS-0107).