Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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.

@@ -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 join this conversation on GitHub. Already have an account? Sign in to comment
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