aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/theme-studio.template.html
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
commite5b08b7471e19f1b29836d7a7facec7af0abe98b (patch)
tree95e76360c6f2ded800f610813a79bcee3725f05d /scripts/theme-studio/theme-studio.template.html
parented9834284a1d4fb3903808a5b74d11d4f36f0930 (diff)
downloaddotemacs-e5b08b7471e19f1b29836d7a7facec7af0abe98b.tar.gz
dotemacs-e5b08b7471e19f1b29836d7a7facec7af0abe98b.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/theme-studio.template.html')
0 files changed, 0 insertions, 0 deletions