One issue I am encountering is that styles for components such as <mat-chip>
or <button mat-raised-button>
(the only ones I have found) are not working properly and appear gray by default. However, styles do apply correctly to the <mat-card>
component.
The color properties are set as shown below:
<mat-chip color="primary">
<button mat-raised-button color="primary">
I have added the theme
@import "~@angular/material/prebuilt-themes/deeppurple-amber.css";
in my styles.css file following the instructions in the Angular Material Guides - Theming.
Could I have missed something?
Angular Version: 4
Angular Material Version: 2.0.0-beta.12