Using Hues in html elements from defined color palette #4297
Labels
feature
This issue represents a new feature or feature request rather than a bug or bug fix
needs: discussion
Further discussion with the team is needed before proceeding
Feature request
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
The text was updated successfully, but these errors were encountered: