Skip to content

Commit

Permalink
fix: update consistent css for button primary/secondary
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Mar 13, 2024
1 parent d342e61 commit d63de8b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/button/Button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ const buttonStyle = cva(
{
variants: {
intent: {
primary: "bg-primary text-white",
secondary:
"bg-white border-2 border-primary text-primary! hover:bg-lightGray focus:bg-transparent focus:border-white",
primary: "bg-primary border-2 border-primary text-white",
secondary: `
bg-white border-2 border-primary text-primary! hover:bg-lightGray
focus:bg-transparent focus:border-primary
`
},
disabled: {
true: "opacity-50 cursor-not-allowed",
Expand Down

0 comments on commit d63de8b

Please sign in to comment.