diff --git a/src/material/datepicker/datepicker-toggle.scss b/src/material/datepicker/datepicker-toggle.scss index 74b6e5cc8048..5f024c84b629 100644 --- a/src/material/datepicker/datepicker-toggle.scss +++ b/src/material/datepicker/datepicker-toggle.scss @@ -1,4 +1,4 @@ -@use '../../cdk/a11y/a11y'; +@import '../../cdk/a11y/a11y'; .mat-form-field-appearance-legacy { .mat-form-field-prefix, @@ -24,7 +24,7 @@ } } -@include a11y.high-contrast(active, off) { +@include cdk-high-contrast(active, off) { .mat-datepicker-toggle-default-icon { // On Chromium-based browsers the icon doesn't appear to inherit the text color in high // contrast mode so we have to set it explicitly. This is a no-op on IE and Firefox.