Style class not working on Icon

Im trying to fill the warning icon red by calling the Warning class I created


I added color to the right property but the color is not changing

If you are calling it through classes are you suppose to add color to a different property?

1 Like

Hi @retinder.labana, you will need to use the text color property instead.

I take no credit, I just remembered this post which @swolnisty found the solution to a little while ago.

Thank you Mathew :slight_smile:

Maybe they fixed ithis, but you used to also have to set the props colour to ‘unset’ as well so that it wouldn’t override the style.

2 Likes