mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(slide-toggle): switch typography level to body-1 (#5000)
* With the typography the slide-toggle was switched accidentally from a font-weight of 500 to a font-weight of 400. * The slide-toggle label should not be treated as a button because it's basically a normal body text.
This commit is contained in:
committed by
Andrew Seguin
parent
aafa6b0d04
commit
436858efb2
@@ -90,6 +90,6 @@
|
||||
|
||||
@mixin mat-slide-toggle-typography($config) {
|
||||
.mat-slide-toggle-content {
|
||||
@include mat-typography-level-to-styles($config, button);
|
||||
@include mat-typography-level-to-styles($config, body-1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user