Skip to content

Commit

Permalink
fix(material/datepicker): fix high contrast mixin name (#22418)
Browse files Browse the repository at this point in the history
  • Loading branch information
annieyw committed Apr 7, 2021
1 parent 1e8de9c commit f1cba07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/material/datepicker/datepicker-toggle.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '../../cdk/a11y/a11y';
@import '../../cdk/a11y/a11y';

.mat-form-field-appearance-legacy {
.mat-form-field-prefix,
Expand All @@ -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.
Expand Down

0 comments on commit f1cba07

Please sign in to comment.