aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/default_faces.py
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-19 10:15:14 -0400
committerCraig Jennings <c@cjennings.net>2026-06-19 10:15:14 -0400
commit39b2d310bb8cb9bc6a7f8059a42b951c591638eb (patch)
tree0c880726d7abf2e52a0b74306490f72522de8103 /scripts/theme-studio/default_faces.py
parent3820b42406e629d094ee7c360abbdc05c44abf70 (diff)
downloaddotemacs-39b2d310bb8cb9bc6a7f8059a42b951c591638eb.tar.gz
dotemacs-39b2d310bb8cb9bc6a7f8059a42b951c591638eb.zip
refactor(theme-studio): drive the package face model from one attribute table
I replaced the two hand-kept attribute lists in normalizePkgFace and packagesForExport with a single faceAttrs() table. Each row carries the default, whether the value resolves through the palette, and the export rule, so adding a face attribute is one row instead of an edit in two places kept in step by hand. faceAttrs is a hoisted function, not a const. The inlined page calls normalizePkgFace at top level (seedPkgmap) before the table's source position, where a const would sit in its temporal dead zone.
Diffstat (limited to 'scripts/theme-studio/default_faces.py')
0 files changed, 0 insertions, 0 deletions