Skip to content

Commit 0768584

Browse files
authored
fix(multiple): use ripple theme color for color mixins (#23739)
1 parent bfea409 commit 0768584

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/material-experimental/mdc-button/_button-theme-private.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ $fab-state-target: '.mdc-fab__ripple';
1212
// which is what the ripple mixin uses. This creates a new theme that sets the color to the
1313
// foreground base to appropriately color the ink.
1414
@mixin ripple-ink-color($mdc-color) {
15-
@include ripple-theme.theme((
15+
@include ripple-theme.color((
1616
foreground: (
1717
base: mdc-theme-color.prop-value($mdc-color)
1818
),

src/material-experimental/mdc-checkbox/_checkbox-theme.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
@mixin _selected-ripple-colors($theme, $mdcColor) {
3737
.mdc-checkbox--selected ~ {
3838
.mat-mdc-checkbox-ripple {
39-
@include ripple-theme.theme((
39+
@include ripple-theme.color((
4040
foreground: (
4141
base: mdc-theme-color.prop-value($mdcColor)
4242
),
@@ -73,7 +73,7 @@
7373
.mat-mdc-checkbox {
7474
@include private-checkbox-styles-with-color(primary);
7575
@include mdc-form-field.core-styles($query: mdc-helpers.$mat-theme-styles-query);
76-
@include ripple-theme.theme((
76+
@include ripple-theme.color((
7777
foreground: (
7878
base: mdc-theme-color.prop-value(on-surface)
7979
),

0 commit comments

Comments
 (0)