From 3e11d333d899fa4dfb86d101c9456e4a8495b563 Mon Sep 17 00:00:00 2001 From: Aust Date: Wed, 10 May 2017 15:52:35 -0600 Subject: [PATCH] fix(textfield): Make bar respect invalid styling (#585) --- packages/mdc-textfield/mdc-textfield.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/mdc-textfield/mdc-textfield.scss b/packages/mdc-textfield/mdc-textfield.scss index e3902cf8d76..d030df45664 100644 --- a/packages/mdc-textfield/mdc-textfield.scss +++ b/packages/mdc-textfield/mdc-textfield.scss @@ -201,7 +201,8 @@ $mdc-textfield-disabled-border-on-dark: rgba(white, .3); .mdc-textfield--invalid { &:not(.mdc-textfield--focused) { - &::after { + &::after, + &.mdc-textfield--upgraded::after { background-color: $mdc-textfield-error-on-light; } @@ -212,7 +213,8 @@ $mdc-textfield-disabled-border-on-dark: rgba(white, .3); @include mdc-theme-dark(".mdc-textfield", true) { &:not(.mdc-textfield--focused) { - &::after { + &::after, + &.mdc-textfield--upgraded::after { background-color: $mdc-textfield-error-on-dark; }