Skip to content

Commit

Permalink
fix(material-experimental/mdc-checkbox): fix mdc function name (angul…
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalerba authored Mar 11, 2021
1 parent 8a10451 commit 85b5df6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/material-experimental/mdc-checkbox/_checkbox-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
.mat-mdc-checkbox-ripple {
@include ripple.theme((
foreground: (
base: mdc-theme-prop-value($mdcColor)
base: mdc-theme-color.prop-value($mdcColor)
),
));
}
Expand Down Expand Up @@ -74,12 +74,12 @@
@include mdc-form-field.core-styles($query: mdc-helpers.$mat-theme-styles-query);
@include ripple.theme((
foreground: (
base: mdc-theme-prop-value(on-surface)
base: mdc-theme-color.prop-value(on-surface)
),
));

.mdc-checkbox__ripple {
background: mdc-theme-prop-value(on-surface);
background: mdc-theme-color.prop-value(on-surface);
}

// MDC's checkbox doesn't support a `color` property. We add support for it by adding a CSS
Expand Down

0 comments on commit 85b5df6

Please sign in to comment.