aboutsummaryrefslogtreecommitdiff
path: root/tests/test-prog-webdev-format.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-09 19:05:13 -0500
committerCraig Jennings <c@cjennings.net>2026-06-09 19:05:13 -0500
commit843bbf0848adff40714e3d7f01376dfe2f14e1dc (patch)
tree9e3e1d8bda06119b137d174617fca8f210b68046 /tests/test-prog-webdev-format.el
parent1d8b9f9eec00db6c41123475918626fc8721a3bc (diff)
downloaddotemacs-843bbf0848adff40714e3d7f01376dfe2f14e1dc.tar.gz
dotemacs-843bbf0848adff40714e3d7f01376dfe2f14e1dc.zip
feat(theme-studio): mark safe lightness in the OKLCH picker
The OKLCH picker gets a "safe for" selector listing the covered overlay faces. Pick one and the C×L plane shades the lightness band too light to keep that face readable over its foreground set, with the L_max ceiling as the band's lower edge. The ceiling is one marker computed via lMax at the current chroma, not a per-pixel foreground-set mask over the plane, so the existing AA/AAA mask stays single-foreground. When no foreground is dark enough to fail, the band hides; when even black can't satisfy the target, the whole plane shades. The band only shows in OKLCH mode and clears in HSV. The cursor moved above the band so it stays visible through the shade. Phase 5 of the palette-ramps spec, the last build phase. A #safetest browser gate pins that the band appears for a selected covered face with a positive height and hides when none is selected.
Diffstat (limited to 'tests/test-prog-webdev-format.el')
0 files changed, 0 insertions, 0 deletions