Reputation: 4070
Is it possible to change the mdStepper step icon background color? I tried this:
.mat-step-header .mat-step-icon {
background-color: #bb092d;
color: rgba(255,255,255,.87);
}
But it doesn't work :(
Upvotes: 2
Views: 1664
Reputation: 214285
You should use shadow-piercing descendant combinator
::ng-deep .mat-step-header .mat-step-icon {
background-color: #bb092d;
color: rgba(255,255,255,.87);
}
Caveats: ::ng-deep
is deprecated and can be removed in the near feature
Upvotes: 3