Skip to content

Commit f45cd25

Browse files
committed
fix(mdc-indigo-pink): add mat-core and mat-core-theme to indigo-pink
1 parent f1ae4d9 commit f45cd25

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

src/material-experimental/mdc-theming/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,6 @@ sass_binary(
4444
deps = [
4545
":all_themes",
4646
"//src/material-experimental/mdc-typography:all_typography",
47+
"//src/material/core:theming_scss_lib",
4748
],
4849
)

src/material-experimental/mdc-theming/_all-theme.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
@import '../mdc-progress-bar/progress-bar-theme';
1313
@import '../mdc-input/input-theme';
1414
@import '../mdc-form-field/form-field-theme';
15+
@import '../../material/core/core';
1516
@import '../../material/core/theming/check-duplicate-styles';
1617

1718
@mixin angular-material-mdc-theme($theme-or-color-config) {

src/material-experimental/mdc-theming/prebuilt/indigo-pink.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
@import '../all-theme';
22
@import '../../mdc-typography/all-typography';
33

4+
// Include non-theme styles for core.
5+
@include mat-core();
6+
47
// Define a theme.
58
$primary: mat-palette($mat-indigo);
69
$accent: mat-palette($mat-pink, A200, A100, A400);
@@ -10,3 +13,4 @@ $theme: mat-light-theme($primary, $accent);
1013
// Include all theme styles for the components.
1114
@include angular-material-mdc-theme($theme);
1215
@include angular-material-mdc-typography();
16+
@include mat-core-theme($theme);

0 commit comments

Comments
 (0)