diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-15 19:19:38 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-15 19:19:38 -0500 |
| commit | 7e7b871fe4f8daff724c3df37feb5572464532c1 (patch) | |
| tree | 3dcfb0e760a22b460bc1188a9b6d7a6b5433a5a3 /scripts/theme-studio/package-inventory.json | |
| parent | 5ab506d9b65a0d043c08690b86976b1f97889eaf (diff) | |
| download | dotemacs-7e7b871fe4f8daff724c3df37feb5572464532c1.tar.gz dotemacs-7e7b871fe4f8daff724c3df37feb5572464532c1.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 'scripts/theme-studio/package-inventory.json')
0 files changed, 0 insertions, 0 deletions
