diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-19 10:15:14 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-19 10:15:14 -0400 |
| commit | 9b28ff54eaffbad2f0958df625e4430d0abd91a3 (patch) | |
| tree | b1ab09080db43234e469827f15eb9b17c18e730e /scripts/theme-studio/styles.css | |
| parent | 44c738dee2f0374ae5422a0cf0fe558a660e8786 (diff) | |
| download | dotemacs-9b28ff54eaffbad2f0958df625e4430d0abd91a3.tar.gz dotemacs-9b28ff54eaffbad2f0958df625e4430d0abd91a3.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/styles.css')
0 files changed, 0 insertions, 0 deletions
