aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/package-inventory.json
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-10 00:19:34 -0500
committerCraig Jennings <c@cjennings.net>2026-06-10 00:19:34 -0500
commit00c9abac8634813a9af324417896abf7fdadaeb2 (patch)
tree398f981147002b940c941f6e09f6d83fb35b977a /scripts/theme-studio/package-inventory.json
parent30ad35b6ebf0b4939064b4e598df5735143b2b80 (diff)
downloaddotemacs-00c9abac8634813a9af324417896abf7fdadaeb2.tar.gz
dotemacs-00c9abac8634813a9af324417896abf7fdadaeb2.zip
feat(theme-studio): add color-family sort
sortFamilies orders the strips for display: neutrals first by lightness, then chromatic families by base hue, ties broken by base lightness then base hex. Each family's members come back sorted dark to light. Hue is compared rounded so a sub-degree hue hair from gamut quantization doesn't outrank lightness. Sorting is display-only; the stored palette order is untouched. Phase 2 of the color-families spec, pure logic. Four node tests cover the hue order, the neutral pin, within-family lightness order, and the (hue, then lightness) ordering invariant. Suite 91 to 95 green.
Diffstat (limited to 'scripts/theme-studio/package-inventory.json')
0 files changed, 0 insertions, 0 deletions