From 535398572daea2ec389c341f4e0c53cb33582b26 Mon Sep 17 00:00:00 2001 From: Liz Mitchell Date: Mon, 3 Feb 2020 10:04:36 -0800 Subject: [PATCH] fix(textfield): use correct disabled colors for IE11 high contrast PiperOrigin-RevId: 292576491 Co-authored-by: Material Web Copybara Robot <59487319+material-web-copybara@users.noreply.github.com> --- packages/mdc-textfield/_mixins.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packages/mdc-textfield/_mixins.scss b/packages/mdc-textfield/_mixins.scss index 6d89b281f31..535f14b6200 100644 --- a/packages/mdc-textfield/_mixins.scss +++ b/packages/mdc-textfield/_mixins.scss @@ -756,6 +756,12 @@ @media screen and (-ms-high-contrast: active) { @include bottom-line-color_(GrayText, $query: $query); + @include placeholder-color_(GrayText, $query: $query); + @include label-ink-color_(GrayText, $query: $query); + @include helper-text-mixins.helper-text-color_(GrayText, $query: $query); + @include character-counter-mixins.character-counter-color_(GrayText, $query: $query); + @include icon-mixins.leading-icon-color_(GrayText, $query: $query); + @include icon-mixins.trailing-icon-color_(GrayText, $query: $query); } @include feature-targeting-mixins.targets($feat-structure) { @@ -942,6 +948,10 @@ @mixin outlined-disabled_($query: feature-targeting-functions.all()) { @include notched-outline-mixins.color(variables.$outlined-disabled-border, $query: $query); @include fill-color_(transparent, $query); + + @media screen and (-ms-high-contrast: active) { + @include notched-outline-mixins.color(GrayText, $query: $query); + } } @mixin outlined-invalid_($query: feature-targeting-functions.all()) {