diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-19 10:42:22 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-19 10:42:22 -0400 |
| commit | 946e57555f6a13c3cfb03e8547cec9b746c4c3c9 (patch) | |
| tree | 8447cbe41f43a99fc82be34fb6e168d1a88d0b75 /scripts/theme-studio/default_faces.py | |
| parent | c37b0227289da8efb8045a8a44c4bdc587507822 (diff) | |
| download | dotemacs-946e57555f6a13c3cfb03e8547cec9b746c4c3c9.tar.gz dotemacs-946e57555f6a13c3cfb03e8547cec9b746c4c3c9.zip | |
refactor(theme-studio): table-drive vibe chroma and share the inherit walk
vibeChroma was a ten-branch if-ladder of magic chroma constants; it's now a [base, range] lookup table, so a vibe is one row to read or tune. resolveSyntaxFg and resolveUiAttr each hand-rolled the same cycle-guarded inherit walk; both now call one walkInheritChain helper that takes the parent and value functions. effResolve keeps its own recursive form since it double-indexes through the package map.
I left the palette-actions splice helpers (replacePaletteEntries, withCfg) and the paletteGroups dedup for a later pass: they mutate the live palette and are only browser-gate covered, so they want their own careful change rather than riding this one.
Diffstat (limited to 'scripts/theme-studio/default_faces.py')
0 files changed, 0 insertions, 0 deletions
