aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/generate.py
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-08 19:24:21 -0500
committerCraig Jennings <c@cjennings.net>2026-06-08 19:24:21 -0500
commit31d10d0a5a17f8b591d858901604a3ca448cda0b (patch)
tree38b34f851baa3854722de5fdaffff630cbfb5a5c /scripts/theme-studio/generate.py
parent897767553efa00d0befbd15d23e396ef86062ab8 (diff)
downloaddotemacs-31d10d0a5a17f8b591d858901604a3ca448cda0b.tar.gz
dotemacs-31d10d0a5a17f8b591d858901604a3ca448cda0b.zip
feat(theme-studio): add colormath.js perceptual color core
colormath.js is the pure color-math module both theme-studio features need: OKLab/OKLCH conversions, oklch2hex with a binary-search gamut clamp, APCA (APCA-W3 0.1.9), and deltaE-OK. It's tested directly in Node (test-colormath.mjs under node --test) against the spec's fixtures (OKLab anchors, the red and dupre-blue OKLCH values, APCA at 106.0 and -107.9, the clamp invariants), at 100% line and 90% branch coverage. Next: generate.py inlines it and the existing rl/contrast/hsv helpers move in.
Diffstat (limited to 'scripts/theme-studio/generate.py')
0 files changed, 0 insertions, 0 deletions