We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 635ee67 commit 7cc42f5Copy full SHA for 7cc42f5
src/material/datepicker/date-range-input.scss
@@ -1,5 +1,6 @@
1
@use '../core/style/variables';
2
@use '../core/style/vendor-prefixes';
3
+@use '../../cdk/a11y';
4
5
$date-range-input-separator-spacing: 4px;
6
$date-range-input-part-max-width: calc(50% - #{$date-range-input-separator-spacing});
@@ -80,6 +81,12 @@ $date-range-input-part-max-width: calc(50% - #{$date-range-input-separator-spaci
80
81
color: transparent !important;
82
-webkit-text-fill-color: transparent;
83
transition: none;
84
+
85
+ @include a11y.high-contrast(active, off) {
86
+ // In high contrast mode the browser will render the
87
+ // placeholder despite the `color: transparent` above.
88
+ opacity: 0;
89
+ }
90
}
91
92
0 commit comments