aboutsummaryrefslogtreecommitdiff
path: root/scripts/setup-reveal.sh
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-10 01:18:20 -0500
committerCraig Jennings <c@cjennings.net>2026-06-10 01:18:20 -0500
commit77783126c8e35d5880a3e16a0014fc727f59b00a (patch)
tree2cf11ad85a2ac99c3bf30d2ebd7c7b1d5482fadd /scripts/setup-reveal.sh
parente7ae18c4731d5576747679814befd56eadc2d461 (diff)
downloaddotemacs-77783126c8e35d5880a3e16a0014fc727f59b00a.tar.gz
dotemacs-77783126c8e35d5880a3e16a0014fc727f59b00a.zip
feat(theme-studio): group families by hue anchor with a lightness-scaled neutral cut
Replace gap-based hue clustering and the flat neutral threshold. Chromatic colors now bucket by nearest perceptual hue anchor (red, orange, yellow, green, teal, blue, purple, pink), so adjacent categories stay separate by construction and there's no single-linkage chaining merging them through intermediate tones. The neutral cut is lightness-scaled rather than flat: a color reads as neutral below a chroma that's highest in the mid-tones and tapers toward the light end, so a faint mid gray goes neutral while an equally-faint pale tint keeps its hue. This fixes the two concrete problems: the grays and steels consolidate into one neutral column, and pale tints (light blues) stay with their hue instead of falling into the grays. What it doesn't fix is hue-adjacent warm colors: this palette's olive-greens sit on top of the golds in OKLCH hue, so they still group together, and a ramp that drifts in hue can split across an anchor boundary. That's a real property of the colors, not a bug, and it's filed for research (a writeup of the problem and the four approaches tried lives outside the repo; the task points to it). 20 family node tests including the yellow/green split and the no-chaining case; suite green.
Diffstat (limited to 'scripts/setup-reveal.sh')
0 files changed, 0 insertions, 0 deletions