• Vinod N 6
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 5
    Replies
According to the documention (https://www.lightningdesignsystem.com/components/icons/ ) we can chnage the icon color by suing the CSS. I am not able to do it. It always overides with the Salesforce style.
<lightning:icon class="icn"  iconName="utility:favorite" size="small" />
 
.THIS .icn{
 fill: white; 
}

Other css property like baground color are applying but fill is always getting overirdder by salesfroce defult color ( grey). Any one have any idea on how to fix this ?