Acceptance Criteria
packages/lumina/src/config.ts tint configs migrated: background → bg, primary → text, secondary → muted, accent → primary, mode: 'dark' → lockMode: 'dark'- All five Lumina tints (
base, subtle, warm, cool, dark) updated. The dark tint specifically is now { lockMode: 'dark', dark: { bg, text, primary } } - Plugin audit:
grep -rln "tints:" plugins/ finds no plugin shipping tint definitions today, so the migration is contained to Lumina - Full test suite passes (2429 + 10 new tint-extends tests) — the existing tint rune tests are token-driven, so they migrate transparently
- No grep hits for old field names inside
tints: { … } blocks: searched for background:, secondary:, accent:, and mode: followed by quoted-string values — clean
Approach
This is the work item that depends on the previous three in the SPEC-053 chain (WORK-195, WORK-196, WORK-197) being merged. Once the types, merge, and CSS bridge speak the new vocabulary, the actual config files migrate.
For Lumina's config.ts, the migration is a careful find-and-replace within tints: { … } blocks — semantic, not regex-blind, because the same field names appear in other contexts (e.g., a CSS color token name might happen to contain "primary" too). Walk each tint definition explicitly.
Plugin audit: grep -rl "tints:" plugins/ to find candidates, then migrate each in the same way.
Dependencies
- WORK-195 — types ready.
- WORK-196 — merge logic ready.
- WORK-197 — CSS bridge ready.
References
- SPEC-053 — rename map and before/after examples
packages/lumina/src/config.ts — primary file to migrateplugins/*/src/ — secondary audit scope