Description
Expected Behavior
Should use the mdc MatButtonModule
Actual Behavior
Uses the legacy MatButtonModule
https://github.com/angular/components/blob/master/src/material-experimental/mdc-snack-bar/module.ts
This might be because CSS selectors in the MDC button theme are more specific than the selectors that set the color for the snack bar action. So simply updating the module will not work - it will require some tweaks to the snack bar Sass theme to increase selectivity of the Action button selector (https://github.com/angular/components/blob/master/src/material-experimental/mdc-snack-bar/_snack-bar-theme.scss#L39)
This is blocking internal issue b/181260087
Environment
- Angular: any
- CDK/Material: 11
- Browser(s): any
- Operating System (e.g. Windows, macOS, Ubuntu): any