Skip to content

Commit

Permalink
fix: add disabled styles for outlined button (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
totraev authored Dec 25, 2024
1 parent 45cdf89 commit cf18f32
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/fifty-stingrays-sin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@babylonlabs-io/bbn-core-ui": patch
---

add disabled styles for outlined button
4 changes: 2 additions & 2 deletions src/components/Button/Button.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@

&-outlined {
&.bbn-btn-primary {
@apply border border-primary-light text-primary-main hover:border-primary hover:bg-primary/10;
@apply border border-primary-light text-primary-main hover:border-primary hover:bg-primary/10 disabled:border-primary/12 disabled:bg-transparent disabled:text-primary/24;
}

&.bbn-btn-secondary {
@apply border border-secondary-main text-secondary-main hover:border-secondary-light hover:bg-secondary-light/10;
@apply border border-secondary-main text-secondary-main hover:border-secondary-light hover:bg-secondary-light/10 disabled:border-primary/12 disabled:bg-transparent disabled:text-primary/24;
}
}

Expand Down

0 comments on commit cf18f32

Please sign in to comment.