Skip to content

Commit 102f083

Browse files
authored
Merge pull request #161 from WeGo-Together/hwanwook-fix/button
[Fix] hover, click 시 버튼 디자인 수정
2 parents 4318149 + fb55aa3 commit 102f083

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/components/ui/button/index.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,19 @@ import { cn } from '@/lib/utils';
77
const buttonVariants = cva('bg-mono-white w-full border transition', {
88
variants: {
99
variant: {
10-
primary: 'bg-mint-400 text-text-md-bold text-mono-white',
11-
secondary: 'border-mint-500 text-text-sm-semibold text-mint-500',
12-
tertiary: 'border-gray-400 text-text-sm-semibold text-gray-600',
10+
primary: 'bg-mint-400 text-text-md-bold text-mono-white hover:bg-mint-600 active:bg-mint-700',
11+
secondary:
12+
'border-mint-500 text-text-sm-semibold text-mint-500 active:text-mint-700 active:border-mint-600 hover:bg-gray-50 active:bg-gray-100',
13+
tertiary:
14+
'text-text-sm-semibold border-gray-400 text-gray-600 hover:bg-gray-50 active:bg-gray-100',
1315
},
1416
size: {
1517
md: 'h-13 rounded-2xl',
1618
sm: 'h-10 rounded-xl',
1719
},
1820
disabled: {
1921
true: '!cursor-not-allowed',
20-
false: 'hover:opacity-80',
22+
false: '',
2123
},
2224
},
2325
compoundVariants: [

0 commit comments

Comments
 (0)