Skip to content

Commit e2d4eec

Browse files
crisbetoandrewseguin
authored andcommitted
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. (cherry picked from commit 02e9ab0)
1 parent ed2f516 commit e2d4eec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/checkbox/_checkbox-theme.scss

+1-1
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)