Closed
Description
Feature request
- There should be way to use the hues defined in palette theme.
- Provision to add color into html element from material design swatches (similar to md-color of previous version of angular material).
What is the expected behavior?
$app-primary: mat-palette($mat-grey, 500, 50, 900);
In html element, I should be able to use hues defined in my palette (above)
something like
color="primary mat-hue-2"
.
What is the current behavior?
I am able just to use color="primary", there is no way of using hues from defined palette/material design swatches.
What is the use-case or motivation for changing an existing behavior?
If we can get something similar of what angular material have:
<p md-colors="{background: 'purple-600'}>
all the material design color swatches can be used directly through "md-color" attribute.
Which versions of Angular, Material, OS, browsers are affected?
Angular: 4.0.2
Material: 2.0.0-beta.3