Skip to content

Commit 02e9ab0

Browse files
authored
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.
1 parent b7ee958 commit 02e9ab0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/checkbox/_checkbox-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
}
7272

7373
.mat-checkbox-label {
74-
color: theming.get-color-from-palette($foreground, secondary-text);
74+
color: theming.get-color-from-palette($foreground, disabled);
7575
}
7676
}
7777

0 commit comments

Comments
 (0)