Skip to content

Commit c3e99a9

Browse files
committed
build: fix mdc slider demo
In #19411 the MDC slider theme was dropped from the all themes mixin since the current slider implementation will be replaced eventually which also broke the MDC slider demo. These changes add back the slider theme only to the dev app so that we can still test it since this is still code that we're releasing to npm.
1 parent a3dabc9 commit c3e99a9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/dev-app/theme.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
@import '../material-experimental/mdc-theming/all-theme';
1010
@import '../material-experimental/mdc-typography/all-typography';
1111
@import '../material-experimental/mdc-density/all-density';
12+
@import '../material-experimental/mdc-slider/slider-theme';
1213
@import '../material-experimental/popover-edit/popover-edit';
1314

1415
// Plus imports for other components in your app.
@@ -41,6 +42,7 @@ $candy-app-theme: mat-light-theme((
4142
@include angular-material-mdc-theme($candy-app-theme);
4243
@include mat-column-resize-theme($candy-app-theme);
4344
@include mat-popover-edit-theme($candy-app-theme);
45+
@include mat-mdc-slider-theme($candy-app-theme);
4446

4547
// Define an alternate dark theme.
4648
$dark-primary: mat-palette($mat-blue-grey);
@@ -69,6 +71,7 @@ $dark-theme: mat-dark-theme((
6971
@include angular-material-mdc-color($dark-theme);
7072
@include mat-column-resize-color($dark-theme);
7173
@include mat-popover-edit-color($dark-theme);
74+
@include mat-mdc-slider-color($dark-theme);
7275
}
7376

7477
// Include the dark theme for focus indicators.

0 commit comments

Comments
 (0)