Skip to content

style(web): theme-safe colours and one source for brand accents - #1991

Merged
Makisuo merged 2 commits into
mainfrom
fix/design-consistency-pass-1
Oct 30, 2026
Merged

Makisuo merged 2 commits into
mainfrom
fix/design-consistency-pass-1

style(web): leave the SQL badge colour to the token PR

b73d795
Select commit
Loading
Failed to load commit list.
Maple Review Bot / Maple / review succeeded Oct 30, 2026 in 41s

Confidence 10/10 · No issues found

🟢 Confidence 10/10 · safe to merge. Pure constant/exports dedupe with identical values; the SQL-badge recolour that changed paint is no longer in the head.
no findings · tests not needed · risk low

Moves the trace waterfall and span-panel brand accents into a React-free @maple/ui/lib/cloud-platforms/accents.ts, drops the second RAILWAY_ACCENT, and swaps the agent tool-input bg-black/[0.06] wash for bg-muted/50. Values are unchanged and the moved classes are still generated; safe to merge.

  • accents.ts becomes the only source of the 18 db.system accent classes and the Cloudflare accent
  • RAILWAY_ACCENT now comes from integrations/catalog.ts in both Railway views
  • The agent tool-input half uses bg-muted/50 instead of the dark-mode-invisible bg-black/[0.06]
What was checked
  • All 18 accent values match the two removed copies, and unknown systems still fall back to text-muted-foreground
  • Both Tailwind roots scan packages/ui/src (apps/web/src/theme.css:12, apps/local-ui/src/styles.css:11), so the moved text-[#…] classes still emit
  • grep at head finds no remaining importers of the deleted DB_SYSTEM_ACCENTS maps or the deleted RAILWAY_ACCENT export

b73d795 · Reply "won't fix" to dismiss a finding, or mention @maple-review-bot to ask about one.