aboutsummaryrefslogtreecommitdiff
path: root/scripts/coverage-summary.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-08 01:14:09 -0500
committerCraig Jennings <c@cjennings.net>2026-06-08 01:14:09 -0500
commit9be53a77bb1c1f69cac15cd05d4a3f9e28cf1348 (patch)
tree532239f87f551eae3b06c2b8cc42794c2a275c93 /scripts/coverage-summary.el
parent6f3ec5e00123852d5253df0889dc7e9e410cfc76 (diff)
downloaddotemacs-9be53a77bb1c1f69cac15cd05d4a3f9e28cf1348.tar.gz
dotemacs-9be53a77bb1c1f69cac15cd05d4a3f9e28cf1348.zip
feat(theme-selector): custom in-page color picker
I replaced the native OS color swatch with an in-page picker, since the native one couldn't be sized or restyled and had no clean way to apply and dismiss. Clicking the swatch opens a popup with a saturation/value square and a hue slider you drag, a live hex plus AAA/AA/FAIL contrast readout, and the current palette as clickable chips for grabbing an exact existing color. It writes to the hex field, so add and update work unchanged, and it closes on click-away or when you commit a color. The HSV math is self-contained and the contrast readout reuses the existing helpers, so there's no dependency. A hash-guarded #pick hook opens the picker for headless screenshot verification, the same pattern as the #selftest harness.
Diffstat (limited to 'scripts/coverage-summary.el')
0 files changed, 0 insertions, 0 deletions