Skip to content

Commit

Permalink
fix(Button): add hover state for the danger variant
Browse files Browse the repository at this point in the history
  • Loading branch information
Aminejvm committed Nov 7, 2023
1 parent 0dfa6be commit 7015293
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/wet-numbers-greet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@groupos/ui-components': patch
---

- Modal: change overlay's background color - Button: add hover state to the Danger variant
2 changes: 1 addition & 1 deletion packages/components/src/button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const buttonVariants = cva(
input: '!ui-bg-gray-100 ui-border-gray-100 !ui-text-marbleWhite hover:ui-bg-gray-80',
unemphasized: '!ui-bg-transparent ui-border-white hover:ui-bg-gray-90 !ui-text-white',
error: '!ui-bg-transparent ui-border-red-100 hover:ui-bg-gray-90 !ui-text-red-100',
danger: '!ui-bg-red-100 !ui-text-white ui-border-red-100',
danger: '!ui-bg-red-100 !ui-text-white ui-border-red-100 hover:ui-bg-gray-90',
},
size: {
sm: 'ui-px-4 ui-text-base-xxs ui-max-h-7 ui-h-7',
Expand Down

0 comments on commit 7015293

Please sign in to comment.