@@ -37,50 +37,67 @@ $button-secondary-border-color: $button-primary-border-color;
3737 }
3838
3939 & .is-primary {
40- background-color : $primary !important ;
41- color : $primary-invert !important ;
42- border-color : $primary-invert !important ;
43-
40+ & ,
4441 & :hover ,
45- & :focus {
46- color : $primary-invert !important ;
42+ & .is-hovered ,
43+ & :focus ,
44+ & .is-focused ,
45+ & :active {
4746 background-color : $primary !important ;
47+ color : $primary-invert !important ;
4848 border-color : $primary-invert !important ;
4949
5050 .icon {
5151 fill : $primary-invert !important ;
5252 }
5353 }
54-
55- .icon {
56- fill : $primary-invert !important ;
57- }
5854 }
5955
6056 & .is-primary.is-inverted ,
6157 & .is-primary-invert {
62- border-color : $primary !important ;
63- background-color : $primary-invert !important ;
64- color : $primary !important ;
58+ & ,
59+ & :hover ,
60+ & .is-hovered ,
61+ & :focus ,
62+ & .is-focused ,
63+ & :active {
64+ border-color : $primary !important ;
65+ background-color : $primary-invert !important ;
66+ color : $primary !important ;
6567
66- .icon {
67- fill : currentColor !important ;
68- color : inherit ;
68+ .icon {
69+ fill : currentColor !important ;
70+ color : inherit ;
71+ }
6972 }
7073 }
7174
7275 & .is-secondary {
73- background-color : $primary-invert !important ;
74- color : $primary !important ;
76+ & ,
77+ & :hover ,
78+ & .is-hovered ,
79+ & :focus ,
80+ & .is-focused ,
81+ & :active {
82+ background-color : $primary-invert !important ;
83+ color : $primary !important ;
7584
76- .icon {
77- fill : currentColor !important ;
85+ .icon {
86+ fill : currentColor !important ;
87+ }
7888 }
7989 }
8090
8191 & .is-outlined {
82- border-color : $primary-invert !important ;
83- background-color : transparent !important ;
84- color : $primary-invert !important ;
92+ & ,
93+ & :hover ,
94+ & .is-hovered ,
95+ & :focus ,
96+ & .is-focused ,
97+ & :active {
98+ border-color : $primary-invert !important ;
99+ background-color : transparent !important ;
100+ color : $primary-invert !important ;
101+ }
85102 }
86103}
0 commit comments