How to set text color in Angular-Material?

前端 未结 9 1538
被撕碎了的回忆
被撕碎了的回忆 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:39

    This answer is outdated please check @factalspawn answer

    With 'pure' angular-material you can't. But you can try usign this: https://gist.github.com/senthilprabhut/dd2147ebabc89bf223e7

提交回复
热议问题