Theming in Angular 6 (and 7) for Mat-button-toggle
问题 I found the wonderful link how to customize the Material toggle button. I succeed to set the background-color and the font-weight the way I want with @import '~@angular/material/theming'; @include mat-core(); $app-primary: mat-palette($mat-indigo); $app-accent: mat-palette($mat-pink, A200, A100, A400); $app-theme: mat-light-theme($app-primary, $app-accent); @mixin mix-app-theme($app-theme) { $primary: map-get($app-theme, primary); $accent: map-get($app-theme, accent); .mat-button-toggle