Skip to content

Commit 0c3bb34

Browse files
author
Felix
committed
feat(material/checkbox): show background-color in print stylesheet (#22298)
* added color-adjust for checkbox background-color
1 parent 3dc0ab5 commit 0c3bb34

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/material/checkbox/_checkbox-theme.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@
5656
}
5757
}
5858

59+
.mat-checkbox-background {
60+
-webkit-print-color-adjust: exact;
61+
color-adjust: exact;
62+
}
63+
5964
.mat-checkbox-disabled {
6065
&.mat-checkbox-checked,
6166
&.mat-checkbox-indeterminate {

0 commit comments

Comments
 (0)