Skip to content

Commit 436858e

Browse files
devversionandrewseguin
authored andcommitted
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.
1 parent aafa6b0 commit 436858e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/slide-toggle/_slide-toggle-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,6 @@
9090

9191
@mixin mat-slide-toggle-typography($config) {
9292
.mat-slide-toggle-content {
93-
@include mat-typography-level-to-styles($config, button);
93+
@include mat-typography-level-to-styles($config, body-1);
9494
}
9595
}

0 commit comments

Comments
 (0)