From 95d5e41121106b68916ab0ab2a1d19928cfa62b3 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Mon, 28 Jun 2021 17:15:24 +0200 Subject: [PATCH] fix(material/checkbox): inconsistent disabled color 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); } }