Skip to content

Commit

Permalink
style(button): secondary ghost styling
Browse files Browse the repository at this point in the history
  • Loading branch information
endv-bogdanb committed May 17, 2024
1 parent 4c4f9ff commit 97f8584
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions packages/beeq/src/components/button/scss/bq-button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,17 @@

.bq-button--secondary {
@apply bg-ui-secondary text-text-primary;
// Primary `HOVER` state
// Secondary `HOVER` state
@apply hover:enabled:bg-hover-ui-secondary;
// Primary `ACTIVE` state
// Secondary `ACTIVE` state
@apply active:enabled:bg-active-ui-secondary active:enabled:hover:bg-active-ui-secondary;
}

.bq-button--secondary.ghost {
@apply border-2 border-solid border-stroke-tertiary bg-transparent text-text-primary;
// Secondary `HOVER` state
@apply hover:enabled:bg-hover-ui-secondary;
// Secondary `ACTIVE` state
@apply active:enabled:bg-active-ui-secondary active:enabled:hover:bg-active-ui-secondary;
}

Expand Down

0 comments on commit 97f8584

Please sign in to comment.