Skip to content

T-AM3S-design-language-augmented-web-hex-burndown

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

augmented_web adopted the layer through an alias bridge, but 977 raw hex literals across ~74 files bypass it, so those surfaces stay light-stuck. Burn the literals down to --d-* tokens, then flip the app’s color-mode preference from 'light' to 'system'.

LocationRole today
solutions/augmented/apps/augmented_web/layers/files/pages/editor.vueHeaviest debt (~49 hexes).
solutions/augmented/apps/augmented_web/layers/files/components/FileUploader.vue~45 hexes.
solutions/augmented/apps/augmented_web/layers/dashboard/widgets/google-calendar/Renderer.vue~37 hexes.
solutions/augmented/apps/augmented_web/layers/files/components/CollectionDashboard.vue~34 hexes; ~25 more files above 10.
solutions/augmented/apps/augmented_web/nuxt.config.tscolorMode: { preference: 'light' } held there until the debt flips cleanly.

Hex literals replaced by --d-* tokens (written directly, not new aliases), swept hotspot-first with visual parity in light and coherent rendering in dark at each step. When the count reaches zero, the color-mode preference flips to 'system'.

  1. Rank files by hex count; sweep hotspot-first, one area per commit.
  2. Map each literal to its semantic token; echarts widget palettes stay out of scope (T-B48W-design-language-dataviz-projection).
  3. Screenshot pairs per sweep (light parity + dark coherence).
  4. Flip colorMode.preference to 'system' in the final PR.
LocationKindChange
solutions/augmented/apps/augmented_web/modifyliteral → token sweeps
solutions/augmented/apps/augmented_web/nuxt.config.tsmodifypreference flip at the end
  • AC-1: Hex-literal count in the app reaches ~0 (echarts widget palettes exempt until the data-viz projection).
  • AC-2: Dark mode renders coherently on every route; preference is 'system'.
  • AC-3: Screenshot pairs accompany each sweep PR.
  • The augmented_web adoption PR merges first.
  • Survey during the augmented_web adoption planning (2026-08-28): 977 hex literals across ~74 files; dark default deferred to protect first-run UX.

← Back to Tasks