aboutsummaryrefslogtreecommitdiff
path: root/modules/host-environment.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-15 19:19:38 -0500
committerCraig Jennings <c@cjennings.net>2026-06-15 19:19:38 -0500
commit354f52b73accf6b1c4e5a5ca0b5eaec2e0809588 (patch)
tree66258194fa3eb53aa123d4d24fd0c931f81c5d7a /modules/host-environment.el
parent1441a9a9d83bb0562c2e92ea85fa4f6585783aaa (diff)
downloaddotemacs-354f52b73accf6b1c4e5a5ca0b5eaec2e0809588.tar.gz
dotemacs-354f52b73accf6b1c4e5a5ca0b5eaec2e0809588.zip
feat(theme-studio): flag unused palette tiles and columns
I added usedPaletteHexes, a reverse lookup over the syntax, ui, and package assignments (plus the ground endpoints) that resolves each reference to a hex. renderPalette outlines a tile whose color is referenced nowhere and outlines a whole column when none of its colors are used, so dead colors stand out for pruning before a theme ships. The check is biased safe: an unresolvable reference marks nothing, so a color that is actually used is never flagged. Node tests cover the lookup. A #unusedtest gate covers the tile and column flags.
Diffstat (limited to 'modules/host-environment.el')
0 files changed, 0 insertions, 0 deletions