From 436858efb255cb1067a66c5f37fb31ab14c81454 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Thu, 8 Jun 2017 23:32:15 +0200 Subject: [PATCH] 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. --- src/lib/slide-toggle/_slide-toggle-theme.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/slide-toggle/_slide-toggle-theme.scss b/src/lib/slide-toggle/_slide-toggle-theme.scss index d9c979bbc98..f1a3eb31950 100644 --- a/src/lib/slide-toggle/_slide-toggle-theme.scss +++ b/src/lib/slide-toggle/_slide-toggle-theme.scss @@ -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); } }