Skip to content

Commit

Permalink
fix(material/checkbox): inconsistent disabled color (#23083)
Browse files Browse the repository at this point in the history
The checkbox was using `secondary` text when it's disabled which is inconsistent and incorrect, because all other components use `disabled`.

Fixes #23081.
  • Loading branch information
crisbeto committed Feb 28, 2022
1 parent b7ee958 commit 02e9ab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/material/checkbox/_checkbox-theme.scss
Expand Up @@ -71,7 +71,7 @@
}

.mat-checkbox-label {
color: theming.get-color-from-palette($foreground, secondary-text);
color: theming.get-color-from-palette($foreground, disabled);
}
}

Expand Down

0 comments on commit 02e9ab0

Please sign in to comment.