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 | 1dbf036113a9c123819b13699008c1cdf203bd92 (patch) | |
| tree | e459ada76b43623303964e62902f2f8b69a554ab /scripts/theme-studio/face_coverage.py | |
| parent | 119968487f401fcb0d568ab4b6e16bd261d49e65 (diff) | |
| download | dotemacs-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/face_coverage.py')
0 files changed, 0 insertions, 0 deletions
