Skip to content

feat: SW-2071 move hover/interactive surfaces from muted to accent#140

Open
boramyi-ts wants to merge 2 commits into
mainfrom
SW-2071-hover-accent-token
Open

feat: SW-2071 move hover/interactive surfaces from muted to accent#140
boramyi-ts wants to merge 2 commits into
mainfrom
SW-2071-hover-accent-token

Conversation

@boramyi-ts

@boramyi-ts boramyi-ts commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

SW-2071 — Hover / interactive surface: mutedaccent

SW-2071

Aligns interactive states with the shadcn convention. Every hover / focus / active surface moves off --muted onto --accent, with the paired text shifting to --accent-foreground. The light --accent token is retuned #EEF2FF#EEF5FF for the new hover surface; dark --accent is unchanged (but dark hovers still shift off the near-black --muted).

Scope

  • Migrated → accent: hover:, focus:, aria-expanded, aria-pressed, data-[state=on], data-active/data-open/data-popup-open, and /40/60 opacity variants — across button, toggle, badge, item, navigation-menu, menubar, table, and the ai/composed components (queue, chain-of-thought, conversation, WellLegend, PlateMapGrid, RichListItem, DataAppShell).
  • Left on muted (static, non-interactive): selected table rows, striped rows, calendar range fill, plate-map active cell, skeletons, all text-muted-foreground.

Before / after

Each shot has three columns: Before (--muted) → Accent, old value (#EEF2FF, isolates the muted→accent move) → After (#EEF5FF, isolates the retune). Forced-hover state shown.

Light
SW-2071 light before/after

Dark
SW-2071 dark before/after

Verification

yarn lint + yarn typecheck pass clean; no interactive bg-muted surfaces remain.

Align interactive states with the shadcn convention: every hover, focus,
and active surface (aria-expanded, aria-pressed, data-[state=on],
data-active/open/popup-open, plus opacity variants) moves off --muted onto
--accent, with paired text shifting to --accent-foreground. Static fills
(selected rows, striped rows, calendar range, skeletons) and muted text
stay on --muted.

Retune light --accent #EEF2FF -> #EEF5FF for the new hover surface.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@boramyi-ts boramyi-ts requested review from a team as code owners June 17, 2026 19:58
@vercel

vercel Bot commented Jun 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ts-lib-ui-kit-storybook Ready Ready Preview, Comment Jun 23, 2026 7:34pm

Request Review

@github-actions

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 94.74% (🎯 83%)
🟰 ±0%
20625 / 21770
🟢 Statements 94.74% (🎯 83%)
🟰 ±0%
20625 / 21770
🟢 Functions 93.58% (🎯 74%)
🟰 ±0%
919 / 982
🟢 Branches 88.69% (🎯 81%)
⬇️ -0.05%
3766 / 4246
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/components/ai/chain-of-thought.tsx 99.24%
🟰 ±0%
88.88%
🟰 ±0%
100%
🟰 ±0%
99.24%
🟰 ±0%
130
src/components/ai/conversation.tsx 100%
🟰 ±0%
100%
🟰 ±0%
100%
🟰 ±0%
100%
🟰 ±0%
src/components/ai/queue.tsx 97.2%
🟰 ±0%
83.87%
🟰 ±0%
100%
🟰 ±0%
97.2%
🟰 ±0%
341-346
src/components/composed/DataAppShell/DataAppShell.tsx 97.92%
🟰 ±0%
88.33%
🟰 ±0%
85.71%
🟰 ±0%
97.92%
🟰 ±0%
212-213, 297-302
src/components/composed/PlateMapEditor/PlateMapGrid.tsx 98.76%
🟰 ±0%
75%
🟰 ±0%
100%
🟰 ±0%
98.76%
🟰 ±0%
169, 171
src/components/composed/PlateMapEditor/WellLegend.tsx 100%
🟰 ±0%
73.68%
🟰 ±0%
100%
🟰 ±0%
100%
🟰 ±0%
src/components/composed/RichListItem/RichListItem.tsx 97.14%
🟰 ±0%
72.72%
🟰 ±0%
100%
🟰 ±0%
97.14%
🟰 ±0%
27-28
src/components/ui/badge.tsx 100%
🟰 ±0%
100%
🟰 ±0%
100%
🟰 ±0%
100%
🟰 ±0%
src/components/ui/button.tsx 100%
🟰 ±0%
100%
🟰 ±0%
100%
🟰 ±0%
100%
🟰 ±0%
src/components/ui/item.tsx 100%
🟰 ±0%
90.9%
🟰 ±0%
100%
🟰 ±0%
100%
🟰 ±0%
src/components/ui/menubar.tsx 100%
🟰 ±0%
100%
🟰 ±0%
100%
🟰 ±0%
100%
🟰 ±0%
src/components/ui/navigation-menu.tsx 100%
🟰 ±0%
100%
🟰 ±0%
100%
🟰 ±0%
100%
🟰 ±0%
src/components/ui/table.tsx 100%
🟰 ±0%
100%
🟰 ±0%
100%
🟰 ±0%
100%
🟰 ±0%
src/components/ui/toggle.tsx 100%
🟰 ±0%
100%
🟰 ±0%
100%
🟰 ±0%
100%
🟰 ±0%
Generated in workflow #806 for commit 180413b by the Vitest Coverage Report Action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants