-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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> placeholders are not working on the pink-bluegrey theme. #2106
Comments
This due to it being a dark theme, but we don't actually apply the theme background to the body, we only have it on the |
@crisbeto Nope. We shouldn't change the styles of any elements not owned by a component. This should probably just be something that goes into the theming guide. |
Wouldn't this be a pretty common use case? I'd imagine that not everybody will use |
Potentially, but I want to stick to that policy for now and try to address this with documentation. |
Adds the `[md-content-wrapper]` attribute which users can apply to their wrapper element, in order to provide the theme background. This is necessary, because the only element that does this at the moment is `md-sidenav-layout` and it's not something that necessarily everybody uses. It's using an attribute selector, instead of a class, in case we want to add some extra functionality to it later on. Fixes angular#1938. Fixes angular#2106.
Adds the `md-app-background` class which users can apply to their wrapper element, in order to provide the theme background. This is necessary, because the only element that does this at the moment is `md-sidenav-container` and it's not something that necessarily everybody uses. Fixes angular#1938. Fixes angular#2106.
Adds the `md-app-background` class which users can apply to their wrapper element, in order to provide the theme background. This is necessary, because the only element that does this at the moment is `md-sidenav-container` and it's not something that necessarily everybody uses. Fixes angular#1938. Fixes angular#2106.
Adds the `md-app-background` class which users can apply to their wrapper element, in order to provide the theme background. This is necessary, because the only element that does this at the moment is `md-sidenav-container` and it's not something that necessarily everybody uses. Fixes angular#1938. Fixes angular#2106.
Adds the `md-app-background` class which users can apply to their wrapper element, in order to provide the theme background. This is necessary, because the only element that does this at the moment is `md-sidenav-container` and it's not something that necessarily everybody uses. Fixes #1938. Fixes #2106.
Adds the `md-app-background` class which users can apply to their wrapper element, in order to provide the theme background. This is necessary, because the only element that does this at the moment is `md-sidenav-container` and it's not something that necessarily everybody uses. Fixes angular#1938. Fixes angular#2106.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug, feature request, or proposal:
Bug report.
What is the expected behavior?
Placeholders show up on <md-input> when using the pink-bluegrey theme.
What is the current behavior?
Placeholder text is white until the <md-input> is focused.
What are the steps to reproduce?
http://plnkr.co/edit/qjcghUoBEs0GMING1eS9?p=preview
Which versions of Angular, Material, OS, browsers are affected?
Alpha 10, Chrome 54
The text was updated successfully, but these errors were encountered: