Skip to content

Commit

Permalink
fix(Button): change hover bg color for button link and text
Browse files Browse the repository at this point in the history
  • Loading branch information
Cata1989 committed May 14, 2024
1 parent 2069c65 commit 77986f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/beeq/src/components/button/scss/bq-button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
.bq-button--link {
@apply bg-transparent text-text-brand no-underline;
// Primary `HOVER` state
@apply [&:not(.disabled)]:hover:bg-hover-ui-secondary;
@apply [&:not(.disabled)]:hover:bg-hover-ui-primary;
// Primary `ACTIVE` state
@apply [&:not(.disabled)]:active:bg-active-ui-secondary [&:not(.disabled)]:active:hover:bg-active-ui-secondary;
// HTML `<a>` elements does not have a `disabled` state so we need to handle it manually
Expand All @@ -77,7 +77,7 @@
.bq-button--text {
@apply bg-transparent text-text-primary;
// Primary `HOVER` state
@apply hover:enabled:bg-hover-ui-secondary;
@apply hover:enabled:bg-hover-ui-primary;
// Primary `ACTIVE` state
@apply active:enabled:bg-active-ui-secondary active:enabled:hover:bg-active-ui-secondary;
}
Expand Down

0 comments on commit 77986f1

Please sign in to comment.