aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/sterling.json
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-24 19:17:23 -0400
committerCraig Jennings <c@cjennings.net>2026-06-24 19:17:23 -0400
commit07db16650d6f5758f7eae2100c2353910a2613fd (patch)
tree9d0dbcdf76d4d2448922d5e17ec902e0e5139b43 /scripts/theme-studio/sterling.json
parent7a0a6d011d4e7d3bf5f8a17085ef8abd1f406309 (diff)
downloaddotemacs-07db16650d6f5758f7eae2100c2353910a2613fd.tar.gz
dotemacs-07db16650d6f5758f7eae2100c2353910a2613fd.zip
refactor(theme-studio): extract control factories to controls.js, drop dead previewFaceAttrs
I split the custom dropdown, detail-editor, and expander factories out of app.js into controls.js (205 lines), spliced back at a CONTROLS_J token by generate.py. The token sits at the exact extraction point, so the assembled page is byte-identical and every gate passes unchanged. app.js drops from 927 to 721 lines. I also removed previewFaceAttrs (function, export, and test). It was test-only dead code whose docstring stalely claimed the gate calls it. The gate uses assertPreviewFaces instead.
Diffstat (limited to 'scripts/theme-studio/sterling.json')
0 files changed, 0 insertions, 0 deletions