How to set text color in Angular-Material?

前端 未结 9 1527
被撕碎了的回忆
被撕碎了的回忆 2020-12-30 19:20

I want to set one word in a sentence to have md-primary color, and another word to have the accent color. I assumed something like this:

Hel
9条回答
  •  再見小時候
    2020-12-30 19:31

    For me i assume everything that starts with md- you can only apply theme colors to them.

    In the documentation there are some components that are not documented where you can use theme colors. Example:

     my subheader 
     

提交回复
热议问题