Skip to content

Commit

Permalink
fix(material/toolbar): don't override colors of themed buttons (#26222)
Browse files Browse the repository at this point in the history
Fixes a regression caused by #26089 where the colors of all buttons in the toolbar were being overridden, instead of only the unthemed ones.

Fixes #26192.

(cherry picked from commit e19addb)
  • Loading branch information
crisbeto committed Dec 13, 2022
1 parent 83825bd commit 0ca8c77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/material/toolbar/toolbar.scss
Expand Up @@ -11,7 +11,7 @@ $height-mobile-portrait: 56px !default;
outline: solid 1px;
}

.mat-mdc-button-base {
.mat-mdc-button-base.mat-unthemed {
--mdc-text-button-label-text-color: inherit;
--mdc-outlined-button-label-text-color: inherit;
}
Expand Down

0 comments on commit 0ca8c77

Please sign in to comment.