WORK-198
Setting up your dashboard 0 entities found · 8/31 branches scanned
ID:WORK-198Status:done

Migrate Lumina and plugin tint configs

Apply the SPEC-053 field renames to every concrete tint definition that ships with refrakt. Primary scope: Lumina's five tints (base, subtle, warm, cool, dark). Secondary scope: any plugin under plugins/ that defines its own tints. End state: every shipped tint uses the new vocabulary; everything renders identically to before.

Priority:highComplexity:smallMilestone:v0.14.0Source:SPEC-053

Criteria completion

Criteria completion: 5 of 5 (100%) checked; tracking started on May 18, no incremental history yet0%25%50%75%100%May 18Jun 15

Tracking started May 18 — check back for trends.

Branches 2
History 4
  1. c1d4f32
    statusreadydone
    by bjornolofandersson
  2. 7c7dd33
    Content editedby Claude
    v0.14.0 Chunk 5: SPEC-053 tint vocabulary alignment (WORK-195-199)
  3. 3b92415
    Created (ready)by bjornolofandersson
  4. 0d5a42c
    Content editedby Claude
    plan: add SPEC-053 tint shape alignment work items (WORK-195 to 199)

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 migrate
  • plugins/*/src/ — secondary audit scope