File tree 2 files changed +15
-11
lines changed 2 files changed +15
-11
lines changed Original file line number Diff line number Diff line change
1
+ @import " @wordpress/base-styles/colors" ;
2
+
1
3
/* @wordpress/components FormToggle overrides ----------------------------------------- */
2
4
.components-form-toggle {
3
5
input [type = " checkbox" ] {
124
126
}
125
127
126
128
& .is-primary ,
127
- & .social-buttons__button {
129
+ // Social buttons
130
+ & .a8c-components-wp-button {
128
131
border-radius : 8px ; /* stylelint-disable-line scales/radii */
129
132
font-size : 1rem ;
130
133
font-weight : 500 ;
131
134
height : 48px ;
132
135
}
133
136
134
- & .social-buttons__button {
135
- & :focus:not (:disabled ) {
136
- box-shadow : inset 0 0 0 1px var (--wp-components-color-background , #fff ), 0 0 0 2px var (--wp-components-color-accent );
137
- }
138
- }
139
-
140
137
& .is-primary {
141
138
& :focus:not (:disabled ) {
142
139
box-shadow : 0 0 0 2px var (--wp-components-color-accent );
152
149
margin-top : 0 ;
153
150
}
154
151
}
152
+
153
+ // Social buttons
154
+ & .a8c-components-wp-button {
155
+ & :not (:focus ) {
156
+ box-shadow : inset 0 0 0 2px $gray-300 , 0 0 0 currentColor ;
157
+ }
158
+
159
+ & :focus:not (:disabled ) {
160
+ box-shadow : inset 0 0 0 1px var (--wp-components-color-background , #fff ), 0 0 0 2px var (--wp-components-color-accent );
161
+ }
162
+ }
155
163
}
156
164
}
157
165
Original file line number Diff line number Diff line change @@ -1556,10 +1556,6 @@ $breakpoint-mobile: 660px;
1556
1556
.social-buttons__button {
1557
1557
padding : 8px 16px ;
1558
1558
1559
- & :not (:focus ) {
1560
- box-shadow : inset 0 0 0 2px $gray-300 , 0 0 0 currentColor ;
1561
- }
1562
-
1563
1559
> span {
1564
1560
color : var (--studio-gray-100 );
1565
1561
font-family : $woo-inter-font ;
You can’t perform that action at this time.
0 commit comments