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

md-input-element color should be currentColor, to match a transparent background #1260

Closed
jimitndiaye opened this issue Sep 19, 2016 · 2 comments

Comments

@jimitndiaye
Copy link
Contributor

Bug, feature request, or proposal:

The default background is transparent. The default color should thus be current color in order for the input text to constrast properly. It is currently using the default value of initial but this causes problems when the background/foreground color changes. This is illustrated by @jelbourn 's https://github.com/jelbourn/material2-app (switch to dark mode and you'll see that the md-input's still have black text on a dark background)

What is the expected behavior?

Color should contrast correctly

What is the current behavior?

It retains the initial value and does not update dynamically.

What are the steps to reproduce?

Run https://github.com/jelbourn/material2-app and click on the Toggle Dark Theme button.

Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: http://plnkr.co/edit/o077B6uEiiIgkC0S06dd

What is the use-case or motivation for changing an existing behavior?

Text should always be easily visible

Which versions of Angular, Material, OS, browsers are affected?

Is there anything else we should know?

@jimitndiaye jimitndiaye changed the title md-input-lement color should be currentColor, to match a transparent background md-input-element color should be currentColor, to match a transparent background Sep 19, 2016
@jimitndiaye
Copy link
Contributor Author

closed by #1262

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant