1212// ::after for state interactions (hover, active, focus). Their API calls this their
1313// "ripple target", but we do not use it as our ripple, just state color.
1414$mat-button-state-target : ' .mdc-button__ripple' ;
15+ $mat-fab-state-target : ' .mdc-fab__ripple' ;
1516
1617// Applies the disabled theme color to the text color.
1718@mixin _mat-button-disabled-color () {
@@ -213,11 +214,11 @@ $mat-button-state-target: '.mdc-button__ripple';
213214 @include mdc-helpers .mat-using-mdc-theme ($config ) {
214215 .mat-mdc-fab , .mat-mdc-mini-fab {
215216 @include mdc-states (
216- $query : mdc-helpers .$mat-theme-styles-query , $ripple-target : $mat-button -state-target );
217+ $query : mdc-helpers .$mat-theme-styles-query , $ripple-target : $mat-fab -state-target );
217218
218219 & .mat-unthemed {
219220 @include mdc-states-base-color (mdc-helpers .$mdc-theme-on-surface ,
220- $query : mdc-helpers .$mat-theme-styles-query , $ripple-target : $mat-button -state-target );
221+ $query : mdc-helpers .$mat-theme-styles-query , $ripple-target : $mat-fab -state-target );
221222 @include mdc-fab-container-color (mdc-helpers .$mdc-theme-surface ,
222223 $query : mdc-helpers .$mat-theme-styles-query );
223224 @include mdc-fab-ink-color (mdc-helpers .$mdc-theme-on-surface ,
@@ -226,23 +227,23 @@ $mat-button-state-target: '.mdc-button__ripple';
226227
227228 & .mat-primary {
228229 @include mdc-states-base-color (on- primary, $query : mdc-helpers .$mat-theme-styles-query ,
229- $ripple-target : $mat-button -state-target );
230+ $ripple-target : $mat-fab -state-target );
230231 @include mdc-fab-container-color (primary, $query : mdc-helpers .$mat-theme-styles-query );
231232 @include mdc-fab-ink-color (on- primary, $query : mdc-helpers .$mat-theme-styles-query );
232233 @include _mat-button-ripple-ink-color (on- primary);
233234 }
234235
235236 & .mat-accent {
236237 @include mdc-states-base-color (on- secondary, $query : mdc-helpers .$mat-theme-styles-query ,
237- $ripple-target : $mat-button -state-target );
238+ $ripple-target : $mat-fab -state-target );
238239 @include mdc-fab-container-color (secondary, $query : mdc-helpers .$mat-theme-styles-query );
239240 @include mdc-fab-ink-color (on- secondary, $query : mdc-helpers .$mat-theme-styles-query );
240241 @include _mat-button-ripple-ink-color (on- secondary);
241242 }
242243
243244 & .mat-warn {
244245 @include mdc-states-base-color (on- error, $query : mdc-helpers .$mat-theme-styles-query ,
245- $ripple-target : $mat-button -state-target );
246+ $ripple-target : $mat-fab -state-target );
246247 @include mdc-fab-container-color (error, $query : mdc-helpers .$mat-theme-styles-query );
247248 @include mdc-fab-ink-color (on- error, $query : mdc-helpers .$mat-theme-styles-query );
248249 @include _mat-button-ripple-ink-color (on- error);
0 commit comments