0.4.0
0.4.0 のリリースノート。
Released: 2026-06-29
機能
Palette tab — an OKLCH palette generator & checker built into the panel. A new reserved
palettetab (joiningcolor/font/spacing/size) lets a host define grouped color scales as{ kind: "color", format: "oklch" }tier items (--palette-{group}-{n}) and edit/verify them in-panel with no lossy hex round-trip. Two modes:Edit mode — a grouped step grid plus a
PrismChartOKLCH L/C/H curve editor; dragging a curve re-derives every step in the group and commits the whole group in one batched write on pointer-up. (#390, #393, #395)Check mode — a WCAG contrast-checker view over the live palette. (#394)
Backed by new OKLCH curve math + WCAG contrast helpers, and wired through the generic-tab apply path (
buildApplyOverridesemitsstate.tabs[*]) so palette overrides apply, persist, and round-trip through Export/Load. (#391, #392)
バグ修正
Palette flat-mode tier ids, persist-safe hue handling, and serialize arity (post-codex-review hardening). (f9c38f9)
その他の変更
Integration + serde + browser-confirm test coverage for the palette tab. (#396)
Add a grouped palette tab recipe + reference docs (EN + JA). (#397)