aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/test-columns.mjs
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
commitb1ae5f2ea35f808e83b12d5ab39a1ea73ec6c424 (patch)
tree087a6a07c16498159a02d8adbe15758de3b5d61a /scripts/theme-studio/test-columns.mjs
parent2c8ef2798f324528acf9a16845d2ce456e56a5c3 (diff)
downloaddotemacs-b1ae5f2ea35f808e83b12d5ab39a1ea73ec6c424.tar.gz
dotemacs-b1ae5f2ea35f808e83b12d5ab39a1ea73ec6c424.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/test-columns.mjs')
0 files changed, 0 insertions, 0 deletions