Skip to content

Commit

Permalink
fix(material-experimental/mdc-radio): fix ripple color (#24986)
Browse files Browse the repository at this point in the history
* fix(material-experimental/mdc-radio): fix ripple color

* fix(material-experimental/mdc-radio): address feedback

(cherry picked from commit 20432de)
  • Loading branch information
mmalerba committed Jun 6, 2022
1 parent 9c6b08e commit a7688a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/material-experimental/mdc-radio/radio.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@
// TODO(crisbeto): this should be included by MDC's `theme-styles`, but it isn't currently.
@include mdc-radio-theme.focus-indicator-color(
var(--mat-mdc-radio-checked-ripple-color, transparent));

.mat-ripple-element {
background-color: var(--mat-mdc-radio-checked-ripple-color, transparent);
}
}

// This is necessary because we do not depend on MDC's ripple, but have our own that should be
Expand Down

0 comments on commit a7688a8

Please sign in to comment.