Answer the question
In order to leave comments, you need to log in
How to change text color in Angular Material?
I did not find a clear explanation of how to set colors declaratively
in the Angular Material framework , through html. Those. let's say I have a lot of different text on the page, with different colors, and creating a separate class for each is not very good. Therefore, I would like to make it possible to refer to colors in the style<div md-color='#f00'>Текст</div>
Answer the question
In order to leave comments, you need to log in
And what, through styles API in general in any way? Angular is not a separate language from javascript
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question