Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
fix(textfield): Make bar respect invalid styling (#585)
Browse files Browse the repository at this point in the history
  • Loading branch information
AustP authored and amsheehan committed May 10, 2017
1 parent e80fe7d commit 3e11d33
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/mdc-textfield/mdc-textfield.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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;
}

Expand Down

0 comments on commit 3e11d33

Please sign in to comment.