Skip to content

Commit c57a2a7

Browse files
committed
fix(material/slider): Allow typography mixin to consume 2018 style configs
See angular#21059 for context.
1 parent 89d5790 commit c57a2a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/material/slider/_slider-theme.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@import '../core/theming/palette';
22
@import '../core/theming/theming';
3+
@import '../core/typography/typography';
34
@import '../core/typography/typography-utils';
45

56
@mixin _mat-slider-inner-content-theme($palette) {
@@ -164,6 +165,7 @@
164165
}
165166

166167
@mixin mat-slider-typography($config-or-theme) {
168+
$config: mat-private-typography-normalized-config(mat-get-typography-config($config-or-theme));
167169
$config: mat-get-typography-config($config-or-theme);
168170
.mat-slider-thumb-label-text {
169171
font: {

0 commit comments

Comments
 (0)