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 | 1b51342aa2fcc698c3486e336364dad0b22900ed (patch) | |
| tree | a52147c18eba4f83d48a1346b48bec1308447829 /scripts/theme-studio/test-columns.mjs | |
| parent | d102b052a196fb52ecc7fe7cd506a421e25ce0d8 (diff) | |
| download | dotemacs-1b51342aa2fcc698c3486e336364dad0b22900ed.tar.gz dotemacs-1b51342aa2fcc698c3486e336364dad0b22900ed.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/test-columns.mjs')
0 files changed, 0 insertions, 0 deletions
