This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
md-colors: not accepting color differentiating names (hue-1, etc) #8175
Labels
has: Pull Request
A PR has been created to address this issue
P4: minor
Minor issues. May not be fixed without community contributions.
ui: theme
Milestone
md-colors has the flexibility to specify the shade color directly which is nice for ultimate control.
However, it does not allow the use of the hue-1, hue-2, hue-3 in any form (hue1 or hue-1) to specify the shade to use. This means that it is difficult to style non-md elements via md-colors since one has to specify the shade value and realize the relationship between the name and its underlying actual value such as for primary hue-1 is 300. Plus if the hue was changed via the $mdThemingProvider, then it would not reflect this.
Example at: http://codepen.io/anon/pen/VaBMNM
The text was updated successfully, but these errors were encountered: