Skip to content

Commit

Permalink
fix(slide-toggle): switch typography level to body-1 (#5000)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
devversion authored and andrewseguin committed Jun 8, 2017
1 parent aafa6b0 commit 436858e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/slide-toggle/_slide-toggle-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 436858e

Please sign in to comment.