Migration Guide
A suggested order for rolling these changes into the Prometheus web UI. Each phase is independently shippable.
Phase 1. Tokenization
4 action item(s). Start here before moving to the next phase.
- AI-006 — Stabilize highlight.js role-to-color across themes easy
- AI-008 — Define --font-family-mono and apply everywhere easy
- AI-012 — Tokenize hardcoded spacing in page layouts medium
- AI-018 — Introduce --doc-status-warn for pending states easy
Phase 2. Component unification
7 action item(s). Start here before moving to the next phase.
- AI-001 — Drop duplicate body on empty-state Alerts easy
- AI-003 — Replace bare <code> with Label Badge on /tsdb-status and /flags medium
- AI-005 — Unify Card title treatment — always icon + text easy
- AI-007 — Parameterize empty-state copy per rule type easy
- AI-009 — Fix Stats Badge uppercase mismatch easy
- AI-013 — Responsive review — header collapses below 768px medium
- AI-014 — Deprecate Card Title without Icon easy
Phase 3. Accessibility
6 action item(s). Start here before moving to the next phase.
- AI-002 — Promote Health Status Badge to every boolean-state field medium
- AI-004 — Make every Table sortable by default medium
- AI-010 — Add Copy Button to the Flags table easy
- AI-011 — Add focus-visible outline to Icon Buttons in the header easy
- AI-015 — Add aria-sort to Sortable Table headers easy
- AI-016 — Add :hover underline to Link component easy
After the migration
- Publish
tokens.cssalongside the Mantine theme — a downstream consumer can then match your visual identity without reverse-engineering the UI. - Re-run the
design-system-extraction-codeskill to regenerate this docs site and confirm the inconsistencies drop off.