feat: SW-2071 move hover/interactive surfaces from muted to accent#140
Open
boramyi-ts wants to merge 1 commit into
Open
feat: SW-2071 move hover/interactive surfaces from muted to accent#140boramyi-ts wants to merge 1 commit into
boramyi-ts wants to merge 1 commit into
Conversation
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>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SW-2071 — Hover / interactive surface:
muted→accentSW-2071
Aligns interactive states with the shadcn convention. Every hover / focus / active surface moves off
--mutedonto--accent, with the paired text shifting to--accent-foreground. The light--accenttoken is retuned#EEF2FF→#EEF5FFfor the new hover surface; dark--accentis unchanged (but dark hovers still shift off the near-black--muted).Scope
accent:hover:,focus:,aria-expanded,aria-pressed,data-[state=on],data-active/data-open/data-popup-open, and/40–/60opacity variants — across button, toggle, badge, item, navigation-menu, menubar, table, and the ai/composed components (queue, chain-of-thought, conversation, WellLegend, PlateMapGrid, RichListItem, DataAppShell).muted(static, non-interactive): selected table rows, striped rows, calendar range fill, plate-map active cell, skeletons, alltext-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

Dark

Verification
yarn lint+yarn typecheckpass clean; no interactivebg-mutedsurfaces remain.