diff --git a/src/lib/chips/_chips-theme.scss b/src/lib/chips/_chips-theme.scss index 0b971144028b..ef6a113d6e26 100644 --- a/src/lib/chips/_chips-theme.scss +++ b/src/lib/chips/_chips-theme.scss @@ -5,10 +5,6 @@ $mat-chip-remove-font-size: 18px; -@mixin mat-chips-theme-color($color) { - @include mat-chips-color(mat-color($color, default-contrast), mat-color($color)); -} - @mixin mat-chips-color($foreground, $background) { background-color: $background; color: $foreground; @@ -23,6 +19,14 @@ $mat-chip-remove-font-size: 18px; } } +@mixin mat-chips-theme-color($palette) { + @include mat-chips-color(mat-color($palette, default-contrast), mat-color($palette)); + + .mat-ripple-element { + background: mat-color($palette, default-contrast, 0.1); + } +} + @mixin mat-chips-theme($theme) { $is-dark-theme: map-get($theme, is-dark); $primary: map-get($theme, primary);