diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-08 19:24:21 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-08 19:24:21 -0500 |
| commit | d6891915c1cd2e2be204e94146338d030281de94 (patch) | |
| tree | c955a1f3ba373c585f426d598ec3838e189c0262 /scripts/theme-studio/README.md | |
| parent | d8a108ddbf7e93ac2b45fd859dbec6fb9907b8e5 (diff) | |
| download | dotemacs-d6891915c1cd2e2be204e94146338d030281de94.tar.gz dotemacs-d6891915c1cd2e2be204e94146338d030281de94.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/README.md')
0 files changed, 0 insertions, 0 deletions
