Skip to content

Commit 13fe9c6

Browse files
committed
fixup! fix(material/button-toggle): standard button toggle strong focus border-radius
1 parent abd9115 commit 13fe9c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/material/button-toggle/button-toggle.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -314,16 +314,16 @@ $_standard-tokens: (
314314
// radius of the button-toggle-group or standalone button-toggle.
315315
@include token-utils.use-tokens($_standard-tokens...) {
316316
.mat-button-toggle-standalone.mat-button-toggle-appearance-standard {
317-
--mat-focus-indicator-border-radius: #{token-utils.get-token-variable-reference(shape)};
317+
@include token-utils.create-token-slot(--mat-focus-indicator-border-radius, shape);
318318
}
319319

320320
.mat-button-toggle-group-appearance-standard .mat-button-toggle {
321-
&:last-of-type .mat-button-toggle-button:before {
321+
&:last-of-type .mat-button-toggle-button::before {
322322
@include token-utils.create-token-slot(border-top-right-radius, shape);
323323
@include token-utils.create-token-slot(border-bottom-right-radius, shape);
324324
}
325325

326-
&:first-of-type .mat-button-toggle-button:before {
326+
&:first-of-type .mat-button-toggle-button::before {
327327
@include token-utils.create-token-slot(border-top-left-radius, shape);
328328
@include token-utils.create-token-slot(border-bottom-left-radius, shape);
329329
}

0 commit comments

Comments
 (0)