Skip to content

Commit 0ca8c77

Browse files
committed
fix(material/toolbar): don't override colors of themed buttons (#26222)
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)
1 parent 83825bd commit 0ca8c77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/toolbar/toolbar.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ $height-mobile-portrait: 56px !default;
1111
outline: solid 1px;
1212
}
1313

14-
.mat-mdc-button-base {
14+
.mat-mdc-button-base.mat-unthemed {
1515
--mdc-text-button-label-text-color: inherit;
1616
--mdc-outlined-button-label-text-color: inherit;
1717
}

0 commit comments

Comments
 (0)