Pin agent color usage to semantic tokens — no raw hex in JSX
The error text looks right on the default theme: #FF4D4F , close enough to the brand red. In dark mode it glows like a highlighter. In the high-contrast theme it fails the contrast check the design system already passed for --color-danger-text . I’ve started treating a raw hex, rgb() , or Tailwind…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-11-17 14:30 · DEV Community — AI
Pin agent color usage to semantic tokens — no raw hex in JSX