Skip to content

Commit

Permalink
Button: Update hover styles to account for pressed state
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshbhutkar committed Jan 8, 2025
1 parent 4b39807 commit 1a8199c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/button/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
color: $components-color-accent;
background: transparent;

&:hover:not(:disabled, [aria-disabled="true"]) {
&:hover:not(:disabled, [aria-disabled="true"], .is-pressed) {
background: color-mix(in srgb, $components-color-accent 4%, transparent);
color: $components-color-accent-darker-20;
}
Expand Down

0 comments on commit 1a8199c

Please sign in to comment.