aboutsummaryrefslogtreecommitdiff
path: root/docs/design
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-08 00:18:14 -0500
committerCraig Jennings <c@cjennings.net>2026-06-08 00:18:14 -0500
commitd3b735da3c7ff55665105763773bef451d4584e9 (patch)
tree69b1b38d323354531262946fe5c21c08cd4b52fb /docs/design
parentc7097c5044d8271bd80037b3e41738fc6220ec3b (diff)
downloaddotemacs-d3b735da3c7ff55665105763773bef451d4584e9.tar.gz
dotemacs-d3b735da3c7ff55665105763773bef451d4584e9.zip
feat(theme-selector): add package-face state and schema (tier-3 phase 1)
I laid the tier-3 foundation: an APPS registry (org starter for now) and a PKGMAP holding {fg,bg,bold,italic,inherit,source} per face. Pure helpers seed PKGMAP from APPS defaults, build the export per the state policy, and merge an import back in. Export gains a packages key when any package face is present, and import reads it while old JSON with no packages key still loads cleanly onto the seeded defaults. No UI yet — that's phase 3. A #selftest harness, guarded by the URL hash so it never shows in normal use, runs seed to export to import and checks the round-trip, old-JSON merge, and inherit/source survival. Headless Chrome reports PASS, which is how I verified the schema end-to-end against the real emitted code rather than a copy.
Diffstat (limited to 'docs/design')
0 files changed, 0 insertions, 0 deletions