@@ -17,9 +17,9 @@ export const Button = styled(AntButton)<BtnProps>`
17
17
${ ( props ) =>
18
18
props . $noStyle &&
19
19
css `
20
- width : unset !important ;
21
- padding : 0 !important ;
22
- height : unset !important ;
20
+ width : unset;
21
+ padding : 0 ;
22
+ height : unset;
23
23
` }
24
24
25
25
&[disabled],
@@ -35,26 +35,26 @@ export const Button = styled(AntButton)<BtnProps>`
35
35
css `
36
36
box-shadow : none;
37
37
text-shadow : none;
38
- background : rgba (${ defineColorBySeverity ( props . $severity , true ) } , 0.2 ) !important ;
38
+ background : rgba (${ defineColorBySeverity ( props . $severity , true ) } , 0.2 );
39
39
40
- border-color : ${ defineColorBySeverity ( props . $severity ) } !important ;
40
+ border-color : ${ defineColorBySeverity ( props . $severity ) } ;
41
41
42
- color : ${ defineColorBySeverity ( props . $severity ) } !important ;
42
+ color : ${ defineColorBySeverity ( props . $severity ) } ;
43
43
44
44
& : hover {
45
- background : var (--background-color ) !important ;
45
+ background : var (--background-color );
46
46
47
- border-color : rgba (${ defineColorBySeverity ( props . $severity , true ) } , 0.9 ) !important ;
47
+ border-color : rgba (${ defineColorBySeverity ( props . $severity , true ) } , 0.9 );
48
48
49
- color : rgba (${ defineColorBySeverity ( props . $severity , true ) } , 0.9 ) !important ;
49
+ color : rgba (${ defineColorBySeverity ( props . $severity , true ) } , 0.9 );
50
50
}
51
51
52
52
& : focus {
53
- background : var (--background-color ) !important ;
53
+ background : var (--background-color );
54
54
55
- border-color : rgba (${ defineColorBySeverity ( props . $severity , true ) } , 0.9 ) !important ;
55
+ border-color : rgba (${ defineColorBySeverity ( props . $severity , true ) } , 0.9 );
56
56
57
- color : rgba (${ defineColorBySeverity ( props . $severity , true ) } , 0.9 ) !important ;
57
+ color : rgba (${ defineColorBySeverity ( props . $severity , true ) } , 0.9 );
58
58
}
59
59
` }
60
60
@@ -77,7 +77,7 @@ export const Button = styled(AntButton)<BtnProps>`
77
77
78
78
${ props . type === 'primary' &&
79
79
css `
80
- background : ${ ( props ) => props . theme . colors . main . primaryGradient } ;
80
+ background : var ( --primary-gradient-color ) ;
81
81
82
82
& : hover {
83
83
background : var (--secondary-color );
0 commit comments