Skip to content

Commit

Permalink
Revert "fix(material/checkbox): incorrect text color when placed insi…
Browse files Browse the repository at this point in the history
…de an overlay with a dark theme (#19054)" (#24519)

This reverts commit f20122a.

(cherry picked from commit 43214b5)
  • Loading branch information
crisbeto committed Mar 4, 2022
1 parent c4993ac commit f01e495
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/material/checkbox/_checkbox-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@
fill: $checkbox-mark-color;
}

.mat-checkbox-label {
// Explicitly set the text color since the checkbox may be
// inside an overlay that doesn't have the proper theme text color.
color: theming.get-color-from-palette($foreground, 'text');
}

.mat-checkbox-checkmark-path {
// !important is needed here because a stroke must be set as an
// attribute on the SVG in order for line animation to work properly.
Expand Down

0 comments on commit f01e495

Please sign in to comment.