Skip to content

Commit

Permalink
fix(textfield): use correct disabled colors for IE11 high contrast
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 292576491

Co-authored-by: Material Web Copybara Robot <[email protected]>
  • Loading branch information
asyncLiz and material-web-copybara authored Feb 3, 2020
1 parent 3e782d8 commit 5353985
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/mdc-textfield/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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()) {
Expand Down

0 comments on commit 5353985

Please sign in to comment.