From 0d77fec1d87bf8836fc41fbccfe326799ba38b01 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Thu, 8 Dec 2022 10:33:11 +0100 Subject: [PATCH] fix(material/toolbar): don't override colors of themed buttons 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. --- src/material/toolbar/toolbar.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/material/toolbar/toolbar.scss b/src/material/toolbar/toolbar.scss index 624126e7b6bd..5d45e4d94aa6 100644 --- a/src/material/toolbar/toolbar.scss +++ b/src/material/toolbar/toolbar.scss @@ -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; }