Skip to content

Commit bd1c973

Browse files
crisbetoandrewseguin
authored andcommitted
fix: add disabled styling for unchecked pseudo checkbox (#15405)
Currently we have some disabled styling for the pseudo checkbox, but it only applies to checked checkboxes. These changes add some styling to distinguish unchecked disabled checkboxes.
1 parent 479618e commit bd1c973

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lib/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
}
2424
}
2525

26+
.mat-pseudo-checkbox-disabled {
27+
color: $disabled-color;
28+
}
29+
2630
// Default to the accent color. Note that the pseudo checkboxes are meant to inherit the
2731
// theme from their parent, rather than implementing their own theming, which is why we
2832
// don't attach to the `mat-*` classes.

0 commit comments

Comments
 (0)