From 10a481f307a2ad067db7fb317ba966e1b25ebef4 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Mon, 28 Feb 2022 18:05:41 +0100 Subject: [PATCH] fix(material/checkbox): inconsistent disabled color (#23083) The checkbox was using `secondary` text when it's disabled which is inconsistent and incorrect, because all other components use `disabled`. Fixes #23081. --- src/material/checkbox/_checkbox-theme.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/material/checkbox/_checkbox-theme.scss b/src/material/checkbox/_checkbox-theme.scss index 042dc14be951..8b96f974432e 100644 --- a/src/material/checkbox/_checkbox-theme.scss +++ b/src/material/checkbox/_checkbox-theme.scss @@ -71,7 +71,7 @@ } .mat-checkbox-label { - color: theming.get-color-from-palette($foreground, secondary-text); + color: theming.get-color-from-palette($foreground, disabled); } }