aboutsummaryrefslogtreecommitdiff
path: root/tests/test-ai-term--launch-command.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-15 18:57:13 -0500
committerCraig Jennings <c@cjennings.net>2026-06-15 18:57:13 -0500
commit7d4b2d104129e4a1e10a92ab33d9e94a0a302a1a (patch)
treeb80ce40ecdb4c0709684e96100fdf55f3121ed67 /tests/test-ai-term--launch-command.el
parent9e5281b087f204db8cda2ccbd9833b201be4f023 (diff)
downloaddotemacs-7d4b2d104129e4a1e10a92ab33d9e94a0a302a1a.tar.gz
dotemacs-7d4b2d104129e4a1e10a92ab33d9e94a0a302a1a.zip
fix(theme-studio): clamp generated palette spans to the bg/fg bounds
Spanning a color generated steps toward pure black and white, so a column could produce colors darker than bg or lighter than fg. I changed regenColumn to ramp the dark side toward the darker ground endpoint and the light side toward the lighter one, bounded by bg and fg. Pure black/white duplicates are still skipped, and callers that pass no ground fall back to the old black/white ramp. Node tests cover the bounded span and the no-ground fallback. The #counttest gate asserts the regenerated column stays within the bg/fg bounds.
Diffstat (limited to 'tests/test-ai-term--launch-command.el')
0 files changed, 0 insertions, 0 deletions