Skip to content

Commit 21d0451

Browse files
committed
fix(mdc-indigo-pink): add mat-core and mat-core-theme to indigo-pink
* Some of the base css was missing without these mixins which was causing the button ripple to not work properly.
1 parent f1ae4d9 commit 21d0451

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

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)