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';
173173@mixin mat-fab-theme-mdc ($theme ) {
174174 @include mat-using-mdc-theme ($theme ) {
175175 .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 );
177178
178179 & .mat-unthemed {
179180 @include mdc-states-base-color (
@@ -227,11 +228,12 @@ $mat-button-state-target: '.mdc-button__ripple';
227228@mixin mat-icon-button-theme-mdc ($theme ) {
228229 @include mat-using-mdc-theme ($theme ) {
229230 .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 );
231233
232234 & .mat-unthemed {
233235 @include mdc-states-base-color (
234- $mdc-theme-surface , $query : $mat-theme-styles-query ,
236+ $mdc-theme-on- surface , $query : $mat-theme-styles-query ,
235237 $ripple-target : $mat-button-state-target );
236238 @include mdc-icon-button-ink-color ($mdc-theme-on-surface , $query : $mat-theme-styles-query );
237239 }
You can’t perform that action at this time.
0 commit comments