Skip to content

T-APNC-design-language-agentpants-palette-burndown

Status: open/ready · Impact: low · Complexity: medium

apps/agentpants carries the ring’s largest literal debt (~2,400 raw Tailwind palette classes and dark: variants). Its adoption PR extended the layer but deliberately left the debt. Burn it down to --d-* tokens so theming actually reaches the app.

LocationRole today
apps/agentpants/src-nuxt/app/Raw palette classes and dark: variants throughout components and pages; the layer’s tokens available but unused there.

Literals replaced by token-backed styling, directory by directory, with visual parity at each step. The T-J04U-design-language-no-raw-palette-check baseline for this app ratchets toward zero.

  1. Rank directories by literal count; sweep one per commit.
  2. Map each literal to its token (--d-* or bridge-provided --ui-* semantics); drop the paired dark: variant — tokens carry mode.
  3. Screenshot parity per sweep (light + dark).
  4. Lower the guard baseline as counts fall.
LocationKindChange
apps/agentpants/src-nuxt/app/modifyliteral → token sweeps
  • AC-1: Raw-palette count for the app reaches 0 (guard baseline 0).
  • AC-2: Visual parity screenshot pairs accompany each sweep PR.
  • AC-3: Theme switching (platinum ↔ others, light/dark) restyles the swept surfaces.
  • Component restructuring; behavior changes.
  • docs/planning/design-language/PLAN.md Phase 3 (“burn down opportunistically, not big-bang”).

← Back to Tasks