Skip to content

Commit

Permalink
fix(multiple): use ripple theme color for color mixins (#23739)
Browse files Browse the repository at this point in the history
(cherry picked from commit 0768584)
  • Loading branch information
andrewseguin committed Oct 19, 2021
1 parent 2e747ac commit ba75867
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -12,7 +12,7 @@ $fab-state-target: '.mdc-fab__ripple';
// which is what the ripple mixin uses. This creates a new theme that sets the color to the
// foreground base to appropriately color the ink.
@mixin ripple-ink-color($mdc-color) {
@include ripple-theme.theme((
@include ripple-theme.color((
foreground: (
base: mdc-theme-color.prop-value($mdc-color)
),
Expand Down
4 changes: 2 additions & 2 deletions src/material-experimental/mdc-checkbox/_checkbox-theme.scss
Expand Up @@ -36,7 +36,7 @@
@mixin _selected-ripple-colors($theme, $mdcColor) {
.mdc-checkbox--selected ~ {
.mat-mdc-checkbox-ripple {
@include ripple-theme.theme((
@include ripple-theme.color((
foreground: (
base: mdc-theme-color.prop-value($mdcColor)
),
Expand Down Expand Up @@ -73,7 +73,7 @@
.mat-mdc-checkbox {
@include private-checkbox-styles-with-color(primary);
@include mdc-form-field.core-styles($query: mdc-helpers.$mat-theme-styles-query);
@include ripple-theme.theme((
@include ripple-theme.color((
foreground: (
base: mdc-theme-color.prop-value(on-surface)
),
Expand Down

0 comments on commit ba75867

Please sign in to comment.