Skip to content

Commit 3573fe8

Browse files
crisbetotinayuangao
authored andcommitted
chore(sort): include sort theme and typography in theme mixin (#11303)
Fixes the sort theme not being included in the theme mixin. While the theme doesn't have any styling now, it would've broken if we decided to add some styling. Also add an empty typography mixin.
1 parent cd37a54 commit 3573fe8

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

src/lib/core/theming/_all-theme.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
@import '../../slide-toggle/slide-toggle-theme';
2828
@import '../../slider/slider-theme';
2929
@import '../../stepper/stepper-theme';
30+
@import '../../sort/sort-theme';
3031
@import '../../tabs/tabs-theme';
3132
@import '../../toolbar/toolbar-theme';
3233
@import '../../tooltip/tooltip-theme';
@@ -66,6 +67,7 @@
6667
@include mat-slide-toggle-theme($theme);
6768
@include mat-slider-theme($theme);
6869
@include mat-stepper-theme($theme);
70+
@include mat-sort-theme($theme);
6971
@include mat-tabs-theme($theme);
7072
@include mat-toolbar-theme($theme);
7173
@include mat-tooltip-theme($theme);

src/lib/core/typography/_all-typography.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
@import '../../slide-toggle/slide-toggle-theme';
2626
@import '../../slider/slider-theme';
2727
@import '../../stepper/stepper-theme';
28+
@import '../../sort/sort-theme';
2829
@import '../../tabs/tabs-theme';
2930
@import '../../toolbar/toolbar-theme';
3031
@import '../../tooltip/tooltip-theme';
@@ -68,6 +69,7 @@
6869
@include mat-slide-toggle-typography($config);
6970
@include mat-slider-typography($config);
7071
@include mat-stepper-typography($config);
72+
@include mat-sort-typography($config);
7173
@include mat-tabs-typography($config);
7274
@include mat-toolbar-typography($config);
7375
@include mat-tooltip-typography($config);

src/lib/sort/_sort-theme.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
2-
// Empty mixin to be consistent with all other components.
1+
// Empty mixins to be consistent with all other components.
32
@mixin mat-sort-theme($theme) { }
3+
4+
@mixin mat-sort-typography($config) { }

0 commit comments

Comments
 (0)