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 | 83bbc3032c3d19220930db6ded9325fffeedd8f1 (patch) | |
| tree | cd022d8e157b32dd4f1204a3de8c5271cda14edb /tests/test-test-runner.el | |
| parent | e01b0de542e2c89faf21958b01134ef227367e69 (diff) | |
| download | dotemacs-83bbc3032c3d19220930db6ded9325fffeedd8f1.tar.gz dotemacs-83bbc3032c3d19220930db6ded9325fffeedd8f1.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 'tests/test-test-runner.el')
0 files changed, 0 insertions, 0 deletions
