@@ -21,32 +21,44 @@ const Wrapper = styled.button<Pick<Props, 'selected' | 'label'>>(({ theme, selec
2121 ํฉ๊ฒฉ : {
2222 backgroundColor : theme . colors . primary100 ,
2323 color : theme . colors . primary800 ,
24+ border : `2px solid ${ theme . colors . primary800 } ` ,
2425 } ,
2526 ๋ถํฉ๊ฒฉ : {
2627 backgroundColor : theme . colors . red100 ,
2728 color : theme . colors . red600 ,
29+ border : `2px solid ${ theme . colors . red600 } ` ,
2830 } ,
2931 ๋ฏธ์ : {
3032 backgroundColor : theme . colors . gray200 ,
3133 color : theme . colors . gray700 ,
34+ border : `2px solid ${ theme . colors . gray700 } ` ,
3235 } ,
3336 } ;
3437
3538 const defaultStyle = {
3639 backgroundColor : theme . colors . gray100 ,
3740 color : theme . colors . gray600 ,
41+ border : `2px solid ${ theme . colors . gray300 } ` ,
3842 } ;
3943
4044 const appliedStyle = selected ? statusStyles [ label ] : defaultStyle ;
4145
4246 return {
43- border : 'none' ,
44- padding : '0.4rem 1.7rem' ,
47+ padding : '0.3rem 1.5rem' ,
4548 cursor : 'pointer' ,
46- fontSize : theme . font . size . sm ,
49+ fontSize : theme . font . size . base ,
4750 fontWeight : selected ? theme . font . weight . bold : theme . font . weight . regular ,
4851 transition : 'all 200ms ease-in-out' ,
4952 borderRadius : '4rem' ,
53+ boxShadow : '0 2px 4px rgba(0, 0, 0, 0.1)' ,
54+ '&:hover' : {
55+ transform : 'translateY(-2px)' ,
56+ boxShadow : '0 4px 8px rgba(0, 0, 0, 0.15)' ,
57+ } ,
58+ '&:active' : {
59+ transform : 'translateY(0)' ,
60+ boxShadow : '0 2px 4px rgba(0, 0, 0, 0.1)' ,
61+ } ,
5062 ...appliedStyle ,
5163 } ;
5264} ) ;
0 commit comments