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

fix(text-field): Update caret color to match spec #2894

Merged
merged 5 commits into from
Jun 18, 2018

Conversation

williamernest
Copy link
Contributor

fixes: #2819
Added a mixin to support modifying the color.

@codecov-io
Copy link

codecov-io commented Jun 6, 2018

Codecov Report

Merging #2894 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #2894   +/-   ##
======================================
  Coverage    98.3%   98.3%           
======================================
  Files         101     101           
  Lines        4375    4375           
  Branches      564     564           
======================================
  Hits         4301    4301           
  Misses         74      74

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3ef8116...1f99c0d. Read the comment docs.

@williamernest williamernest requested a review from bonniezhou June 7, 2018 23:42
@@ -124,6 +124,12 @@
}
}

@mixin mdc-text-field-caret-color($color) {
&:not(.mdc-text-field--disabled) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can remove the not selector and the private mixin, since disabled text fields don't have a caret.

@bonniezhou bonniezhou self-assigned this Jun 11, 2018
Copy link
Contributor

@bonniezhou bonniezhou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@williamernest williamernest merged commit 88fd0bf into master Jun 18, 2018
@williamernest williamernest deleted the fix/text-field/update-caret-color branch June 18, 2018 17:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Text field caret color does not match as per spec
3 participants