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 | 28a82ee78aad8560187d6a5df5673225aebdb708 (patch) | |
| tree | 8817997c7537884d51a6b3cbfca50930edba517e /scripts/calendar_sync_api.py | |
| parent | 1455d74ee981682cc2bd8ad2bab63f5d1b200100 (diff) | |
| download | dotemacs-28a82ee78aad8560187d6a5df5673225aebdb708.tar.gz dotemacs-28a82ee78aad8560187d6a5df5673225aebdb708.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/calendar_sync_api.py')
0 files changed, 0 insertions, 0 deletions
