aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/colormath.js
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-24 18:10:38 -0400
committerCraig Jennings <c@cjennings.net>2026-06-24 18:10:38 -0400
commit7a0a6d011d4e7d3bf5f8a17085ef8abd1f406309 (patch)
tree0833728ace7d64372b219d950b0ce74b2ecd99bf /scripts/theme-studio/colormath.js
parentda441a8121c9e02a26d1e07bbab42d71a6a20178 (diff)
downloaddotemacs-7a0a6d011d4e7d3bf5f8a17085ef8abd1f406309.tar.gz
dotemacs-7a0a6d011d4e7d3bf5f8a17085ef8abd1f406309.zip
refactor(theme-studio): tier-1 simplification pass
These are behavior-preserving cleanups from the refactor/simplify assessment, all test-verified. I merged syncMockHeight and syncPkgHeight into one syncPaneHeight(tableId, paneId), inlined the two single-use displayHex/displayName closures, dropped a pkgbody guard that buildPkgTable already does, and had paintUI call worstCellHtml instead of rebuilding the covered-contrast cell. I deleted the dead generatorHues "manual" branch (a copy of the fallback) and locateInfoLine (orphaned when I removed the preview info line earlier today). The two nerd-icons loaders now share _load_nerd_icons_artifact, with a sentinel so a null-file edge keeps its exact behavior. face_coverage.classify reads through named locals now, guarded by a new characterization test. Two assessment findings were wrong and skipped after I checked them against the code: LOCATE_REG is live (read by previewSpan), and normalizePaletteEntryCore doesn't exist.
Diffstat (limited to 'scripts/theme-studio/colormath.js')
0 files changed, 0 insertions, 0 deletions