Skip to content

Commit 460ba06

Browse files
Keep themed appearance for print (#29714)
1 parent e8eed52 commit 460ba06

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scss/forms/_form-check.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
background-color: $form-check-input-bg;
2222
border: $form-check-input-border;
2323
appearance: none;
24+
color-adjust: exact; // Keep themed appearance for print
2425

2526
&[type="checkbox"] {
2627
@include border-radius($form-check-input-border-radius);
@@ -113,6 +114,7 @@
113114
background-position: left center;
114115
background-size: $form-switch-bg-size; // Get a 1px separation
115116
@include border-radius($form-switch-border-radius);
117+
color-adjust: exact; // Keep themed appearance for print
116118
// Todo: Figure out how to tackle these, with or without mixin?
117119
// transition: $form-switch-transition;
118120
// transition-property: $form-switch-transition-property;

0 commit comments

Comments
 (0)