diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-08 19:55:43 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-08 19:55:43 -0500 |
| commit | 77c7f1261a6f5d2f715ff24751e442741570ed1f (patch) | |
| tree | ec098437ae04aac94a5f72b8dd1c563e97dd957d /scripts/theme-studio/build-theme.el | |
| parent | 7aa0ff2f5425b6688e887adbc612a04fd24b8728 (diff) | |
| download | dotemacs-77c7f1261a6f5d2f715ff24751e442741570ed1f.tar.gz dotemacs-77c7f1261a6f5d2f715ff24751e442741570ed1f.zip | |
feat(theme-studio): show OKLCH and APCA readouts in the picker
Perceptual-metrics Phase 2. The picker now shows a second readout row under the WCAG ratio: the OKLCH coordinates (L, C, hue°) and the signed APCA Lc against the ground color. WCAG and all three contrast tables are untouched, so APCA stays picker-only for v1.
APCA Lc carries its sign convention in a tooltip and in the README: positive is dark text on a light background, negative is light text on a dark background, so a light color on dupre's dark ground reads negative.
pkReadout drives the new spans from the inlined colormath functions, and a #readouttest headless guard loads dupre-blue and asserts the spans match both the live computation and the known OKLCH reference, with WCAG unchanged.
Diffstat (limited to 'scripts/theme-studio/build-theme.el')
0 files changed, 0 insertions, 0 deletions
