Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
fix(IR-3746): fix secondary button (#10948)
Browse files Browse the repository at this point in the history
  • Loading branch information
kattsushi authored Aug 14, 2024
1 parent bce156b commit 815bda7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ui/src/primitives/tailwind/Button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const sizes = {

const variants = {
primary: 'bg-blue-primary',
secondary: 'bg-blue-secondary',
secondary: 'bg-theme-blue-secondary',
outline: 'border border-solid border-theme-primary bg-theme-surface-main dark:bg-theme-highlight text-theme-primary',
danger: 'bg-red-500',
success: 'bg-teal-700',
Expand Down Expand Up @@ -90,8 +90,8 @@ const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
sizes[size],
fullWidth ? 'w-full' : 'w-fit',
roundedTypes[rounded],
disabled ? 'bg-[#F3F4F6] text-[#9CA3AF] dark:bg-[#5F7DBF] dark:text-[#FFFFFF]' : '',
variants[variant],
disabled ? 'bg-[#F3F4F6] text-[#9CA3AF] dark:bg-[#5F7DBF] dark:text-[#FFFFFF]' : '',
className
)

Expand Down

0 comments on commit 815bda7

Please sign in to comment.