Skip to content

Commit e19addb

Browse files
authored
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.
1 parent c8961cd commit e19addb

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)