Repository navigation
ux(brands): soften the active brand card outline - #175
Merged
Merged
Conversation
The active brand card on /dashboard/brands used `ring-2 ring-primary border-primary/60`, stacking a full-saturation 2px ring on top of an opaque primary border for an effective ~3px outline. Drop the ring to 1px and route both ring and border through `primary/40` so the active state still reads as selected but no longer dominates the grid.
This branch was successfully deployed
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.
Summary
web/src/components/dashboard/brand-card.tsx:38was usingring-2 ring-primary border-primary/60on the active card, which stacks a full-saturation 2px ring on top of an opaque primary border — visually ~3px and noticeably heavier than the rest of the grid.Swap to
ring-1 ring-primary/40 border-primary/40:ring-2→ring-1).The hover affordance (
hover:border-primary/40 hover:shadow-sm) is unchanged.Test plan
/dashboard/brands, the active card's outline is clearly identifiable but feels in line with the inactive cards' weight.