File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
src/material-experimental/mdc-button Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,8 @@ $mat-button-state-target: '.mdc-button__ripple';
173
173
@mixin mat-fab-theme-mdc ($theme ) {
174
174
@include mat-using-mdc-theme ($theme ) {
175
175
.mat-mdc-fab , .mat-mdc-mini-fab {
176
- @include mdc-states ($query : $mat-theme-styles-query );
176
+ @include mdc-states (
177
+ $query : $mat-theme-styles-query , $ripple-target : $mat-button-state-target );
177
178
178
179
& .mat-unthemed {
179
180
@include mdc-states-base-color (
@@ -227,11 +228,12 @@ $mat-button-state-target: '.mdc-button__ripple';
227
228
@mixin mat-icon-button-theme-mdc ($theme ) {
228
229
@include mat-using-mdc-theme ($theme ) {
229
230
.mat-mdc-icon-button {
230
- @include mdc-states ($query : $mat-theme-styles-query );
231
+ @include mdc-states (
232
+ $query : $mat-theme-styles-query , $ripple-target : $mat-button-state-target );
231
233
232
234
& .mat-unthemed {
233
235
@include mdc-states-base-color (
234
- $mdc-theme-surface , $query : $mat-theme-styles-query ,
236
+ $mdc-theme-on- surface , $query : $mat-theme-styles-query ,
235
237
$ripple-target : $mat-button-state-target );
236
238
@include mdc-icon-button-ink-color ($mdc-theme-on-surface , $query : $mat-theme-styles-query );
237
239
}
You can’t perform that action at this time.
0 commit comments