diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-19 10:26:05 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-19 10:26:05 -0400 |
| commit | b1ae5f2ea35f808e83b12d5ab39a1ea73ec6c424 (patch) | |
| tree | 087a6a07c16498159a02d8adbe15758de3b5d61a /modules/custom-case.el | |
| parent | 2c8ef2798f324528acf9a16845d2ce456e56a5c3 (diff) | |
| download | dotemacs-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 'modules/custom-case.el')
0 files changed, 0 insertions, 0 deletions
