aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/theme-coloring-guide.org
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-19 10:33:30 -0400
committerCraig Jennings <c@cjennings.net>2026-06-19 10:33:30 -0400
commit2d71dde79e2781316aeda9c6713a3ae2d9bb9452 (patch)
tree01a19697494903b1785c57aa2294274313c9b1e2 /scripts/theme-studio/theme-coloring-guide.org
parent1dbf036113a9c123819b13699008c1cdf203bd92 (diff)
downloaddotemacs-2d71dde79e2781316aeda9c6713a3ae2d9bb9452.tar.gz
dotemacs-2d71dde79e2781316aeda9c6713a3ae2d9bb9452.zip
refactor(theme-studio): extract per-package previews into previews.js
The ~28 renderXxxPreview functions plus ofs/os/previewLines were ~460 lines of bespoke sample content sitting in the middle of the controller. I moved them to a new previews.js, spliced into the page through a PREVIEWS_J token the same way the other inlined libs are, and left the PACKAGE_PREVIEWS registry and dispatcher in app.js. app.js drops from 1233 to 759 lines, and the sample data now lives apart from the table/control machinery.
Diffstat (limited to 'scripts/theme-studio/theme-coloring-guide.org')
0 files changed, 0 insertions, 0 deletions