Issue 475
UI kit: a selected style that doesn't look like a primary CTA (event filters)
Back to our planOpen
frontendstylingtech-debtuxpriority: low
Type
tech-debt
Problem
On /events (#473), the current category filter uses the primary Button fill. At 1280 px it looks exactly like the header's Contact call to action. The review of #473 accepted this, because it marks a selected state and has aria-current, but suggested a follow-up (minor 5): the UI kit has no "selected" look that doesn't read as a call to action.
Proposed fix
Add a selected style to the UI kit, for example a toggle or pressed variant on Button, or a segmented-control part. Something like a tinted bg-primary/10, a primary border and a check icon. Use it on the event filters and anywhere else that marks the current choice. Document it in docs/ui/component-set.md and the gallery.
Acceptance criteria
- The current filter is clearly selected, without looking like a primary CTA.
- WCAG AA contrast holds in light and dark mode, and the state isn't shown by colour alone.
- Screenshots are taken at the 6 widths in both themes.
Area
frontend, styling, ux
Priority
low
Generated by Claude Code, opens in a new tab