File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
src/material/button-toggle Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -309,3 +309,23 @@ $_standard-tokens: (
309
309
border : 0 ;
310
310
}
311
311
}
312
+
313
+ // Change the border-radius of the focus indicator to
314
+ // match the border-radius of the standalone-button-toggle.
315
+ .mat-button-toggle-standalone.mat-button-toggle-appearance-standard {
316
+ --mat-focus-indicator-border-radius : var (--mat-standard-button-toggle-shape );
317
+ }
318
+
319
+ // Change the border-radius of the focus indicator to
320
+ // match the border-radius of the button-toggle-group.
321
+ .mat-button-toggle-group-appearance-standard .mat-button-toggle {
322
+ & :last-of-type .mat-button-toggle-button :before {
323
+ border-top-right-radius : var (--mat-standard-button-toggle-shape );
324
+ border-bottom-right-radius : var (--mat-standard-button-toggle-shape );
325
+ }
326
+
327
+ & :first-of-type .mat-button-toggle-button :before {
328
+ border-top-left-radius : var (--mat-standard-button-toggle-shape );
329
+ border-bottom-left-radius : var (--mat-standard-button-toggle-shape );
330
+ }
331
+ }
You can’t perform that action at this time.
0 commit comments