diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-09 20:06:53 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-09 20:06:53 -0500 |
| commit | 63ae5575779e4de19ecc004bddc7f1f505e232f7 (patch) | |
| tree | 335fbd06eb34001f4370757ab2b7d457ef2ee1e6 /scripts/setup-telega.sh | |
| parent | b75cd743bf2daeb111b00813c7c2b465984acb8e (diff) | |
| download | dotemacs-63ae5575779e4de19ecc004bddc7f1f505e232f7.tar.gz dotemacs-63ae5575779e4de19ecc004bddc7f1f505e232f7.zip | |
feat(theme-studio): re-bind "(gone)" assignments when a name returns
Deleting a palette color leaves any assignment pointing at it showing "(gone)". Recreating a color with the same deleted name now re-points those stranded assignments to the new color, even when its hex differs, instead of leaving them stuck on the old hex forever.
Delete records the removed name and hex; the next add of that name re-points every reference (syntax map, UI faces, package faces) to the new hex and consumes the record. The registry clears on import so a stale name from a previous theme can't re-bind across a load. I pulled the re-point loop that update-selected already used into a shared helper. A #healtest gate covers delete-then-recreate-with-a-new-hex.
Diffstat (limited to 'scripts/setup-telega.sh')
0 files changed, 0 insertions, 0 deletions
