Skip to content

Commit 43214b5

Browse files
authored
Revert "fix(material/checkbox): incorrect text color when placed inside an overlay with a dark theme (#19054)" (#24519)
This reverts commit f20122a.
1 parent 899d0e1 commit 43214b5

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/material/checkbox/_checkbox-theme.scss

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,6 @@
3232
fill: $checkbox-mark-color;
3333
}
3434

35-
.mat-checkbox-label {
36-
// Explicitly set the text color since the checkbox may be
37-
// inside an overlay that doesn't have the proper theme text color.
38-
color: theming.get-color-from-palette($foreground, 'text');
39-
}
40-
4135
.mat-checkbox-checkmark-path {
4236
// !important is needed here because a stroke must be set as an
4337
// attribute on the SVG in order for line animation to work properly.

0 commit comments

Comments
 (0)