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 | dde63d2708d1d374b2166d3da573402492df072a (patch) | |
| tree | 1fd8f65134bd383ceca2abe02296050f79cbf34c /scripts/theme-studio/styles.css | |
| parent | 119dd8a59ffe7cc58864b750150d67db5668fd1e (diff) | |
| download | dotemacs-dde63d2708d1d374b2166d3da573402492df072a.tar.gz dotemacs-dde63d2708d1d374b2166d3da573402492df072a.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/styles.css')
0 files changed, 0 insertions, 0 deletions
