Skip to content

Commit

Permalink
include focus state for gradient swapping
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakaryH committed Feb 26, 2025
1 parent a29bac4 commit 2507013
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/components/src/Chip/Chip.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,13 @@
}

.chip:hover .truncateGradient::before,
.chip:focus .truncateGradient::before,
.chip:focus-visible .truncateGradient::before {
opacity: 0;
}

.chip:hover .truncateGradient::after,
.chip:focus .truncateGradient::after,
.chip:focus-visible .truncateGradient::after {
opacity: 1;
}
Expand Down

0 comments on commit 2507013

Please sign in to comment.