File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
src/material-experimental/mdc-snack-bar Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ ng_module(
2222 module_name = "@angular/material-experimental/mdc-snack-bar" ,
2323 deps = [
2424 "//src:dev_mode_types" ,
25+ "//src/material-experimental/mdc-button" ,
2526 "//src/material-experimental/mdc-core" ,
2627 "//src/material/snack-bar" ,
2728 "@npm//@angular/core" ,
Original file line number Diff line number Diff line change 2828 @include mdc-snackbar-core-styles ($query : $mat-theme-styles-query );
2929 }
3030
31+ // Usually this color is provided by the `mdc-snackbar-core-styles` mixin, but our styles
32+ // to handle unthemed buttons have a higher specificity so we have to re-provide it here.
33+ .mat-mdc-snack-bar-container .mat-mdc-snack-bar-action.mdc-snackbar__action {
34+ color : $mdc-snackbar-action-ink-color ;
35+ }
36+
3137 $mdc-snackbar-fill-color : $orig-mdc-snackbar-fill-color !global;
3238 $mdc-snackbar-label-ink-color : $orig-mdc-snackbar-label-ink-color !global;
3339 $mdc-snackbar-dismiss-ink-color : $orig-mdc-snackbar-dismiss-ink-color !global;
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import {OverlayModule} from '@angular/cdk/overlay';
1010import { PortalModule } from '@angular/cdk/portal' ;
1111import { CommonModule } from '@angular/common' ;
1212import { NgModule } from '@angular/core' ;
13- import { MatButtonModule } from '@angular/material/ button' ;
13+ import { MatButtonModule } from '@angular/material-experimental/mdc- button' ;
1414import { MatCommonModule } from '@angular/material-experimental/mdc-core' ;
1515
1616import { MatSimpleSnackBar } from './simple-snack-bar' ;
You can’t perform that action at this time.
0 commit comments