fix(ui): adaptive text color for breadcrumb pills (#200) #238

Merged
forbes merged 1 commits from fix/breadcrumb-contrast into main 2026-02-15 09:09:45 +00:00

1 Commits

Author SHA1 Message Date
forbes
7bbe856ba4 fix(ui): adaptive text color for breadcrumb pills (#200)
Some checks failed
Build and Test / build (pull_request) Has been cancelled
Use WCAG relative luminance to choose dark or light text color based
on pill background brightness. Bright backgrounds (Green, Yellow,
Mauve, Teal, Peach) now get dark text (#1e1e2e) instead of the
previous fixed light text (#cdd6f4) that caused poor contrast.

Closes #200
2026-02-15 03:01:46 -06:00