Change icon color based on theme
Question

Hi team ,

I need to change the color of my icons based on background theme color.

For eg : 

White theme : black icons

black theme : white icons

Kindly suggest a solution for the same.

Regards,

Sowndarya B

Hi sowndarya,

You can accomplish that if you change the classes according with the the current theme apply if you have for example a Boolean to do that so if you got a switch that control if the active team is white or black, then you can use that boolean on the icon classes to control the color they show as well

Regards,



Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.