aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/default-face-summary.py
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-19 10:26:05 -0400
committerCraig Jennings <c@cjennings.net>2026-06-19 10:26:05 -0400
commit1dbf036113a9c123819b13699008c1cdf203bd92 (patch)
treee459ada76b43623303964e62902f2f8b69a554ab /scripts/theme-studio/default-face-summary.py
parent119968487f401fcb0d568ab4b6e16bd261d49e65 (diff)
downloaddotemacs-1dbf036113a9c123819b13699008c1cdf203bd92.tar.gz
dotemacs-1dbf036113a9c123819b13699008c1cdf203bd92.zip
refactor(theme-studio): unify the face CSS builders in app-core
syntaxStyle, uiCss, and ofs each assembled the same color/background/weight/style/text-decoration/box-shadow string by hand, differing only in how they resolved fg/bg and whether they added a font-size. I promoted one faceCss(face, fg, bg, opts) plus cssWeight, boxCss, and a faceDecoration helper into app-core (all pure, no DOM), and reduced the three builders to thin wrappers that resolve fg/bg and call it. styleEx and paintUI now use the promoted cssWeight/boxCss too. udeco keeps its own untrimmed decoration form, so it stays in app.js.
Diffstat (limited to 'scripts/theme-studio/default-face-summary.py')
0 files changed, 0 insertions, 0 deletions