Files
Lambda 88e276755b fix(ui): raise light-mode muted-foreground to WCAG AA
text-muted-foreground is the workhorse secondary colour (2096 uses) and in
light mode it failed AA on every surface except pure white:

  --sidebar         oklch(0.9644)  4.35:1
  --sidebar-accent  oklch(0.935)   3.99:1   (nav label hover state)
  --muted/--accent  oklch(0.967)   4.39:1
  --surface-selected oklch(0.95)   4.17:1

The sidebar case is the primary navigation label itself
(packages/views/layout/app-sidebar.tsx).

Lightness has to be set by the darkest light surface the token sits on, not
by the page canvas: AA on --sidebar-accent needs L <= 0.523. 0.505 keeps a
margin (4.87:1 there, 5.89:1 on white). Hue and chroma unchanged so the
neutral ramp does not shift. Dark mode already passed (5.19-7.15:1) and is
untouched.

Co-authored-by: multica-agent <github@multica.ai>
2026-07-29 14:45:18 +08:00
..