aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/test-app-util.mjs
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-15 22:07:45 -0500
committerCraig Jennings <c@cjennings.net>2026-06-15 22:07:45 -0500
commitde6fccc99c47f69da5c39718c1882c7342ee0e52 (patch)
treedc80aae3de05e22068074e4ed02eebbbfb993577 /scripts/theme-studio/test-app-util.mjs
parent48d8b2ccca1890aa33da8f49a6ddb661271a2c77 (diff)
downloaddotemacs-de6fccc99c47f69da5c39718c1882c7342ee0e52.tar.gz
dotemacs-de6fccc99c47f69da5c39718c1882c7342ee0e52.zip
refactor(theme-studio): extract a groundPair() helper
The literal {bg:MAP['bg'],fg:MAP['p']} repeated 32 times across app.js, palette-actions.js, and the browser gates. Replace it with a groundPair() helper. Named groundPair, not ground, to avoid colliding with the local ground bindings destructured from columnsFromPalette. No behavior change; node tests and browser gates are the safety net.
Diffstat (limited to 'scripts/theme-studio/test-app-util.mjs')
0 files changed, 0 insertions, 0 deletions