-
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
color="primary" does not work #1798
Comments
@dolanmiu you've confused this project with Material Design Lite, which is something else completely. Follow our theming guide for how to bring the colors into your app. |
Quoted straight from the docs:
This is exactly what I have done (but using Please help |
You are including the css file from Material Design Lite, not Angular Material. The correct file is in the |
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
What is the current behavior?
primary
accent
warn
colors don't work. Shows up as grey.Which versions of Angular, Material, OS, browsers are affected?
"@angular/common": "~2.1.0",
"@angular/compiler": "~2.1.0",
"@angular/core": "~2.1.0",
"@angular/forms": "~2.1.0",
"@angular/http": "~2.1.0",
"@angular/material": "^2.0.0-alpha.9-3",
I am using electron too
I have my code here:
but it shows up as:
![screen shot 2016-11-10 at 01 49 33](https://cloud.githubusercontent.com/assets/2917613/20161720/54dcc2c6-a6e8-11e6-993d-ffc9b555bdd5.png)
I am including
core.css
,overlay.css
andmaterial.indigo-pink.min.css
in index.html:Note
material.indigo-pink.min.css
is definately loaded because some parts of my app turned pink, as shown in the screen shot.The text was updated successfully, but these errors were encountered: