DevSrSouza / compose-icons

Popular Open Source icon packs for Compose Multiplatform
MIT License
551 stars 25 forks source link

Manually set color for the icon? #11

Closed thegitparticle closed 2 years ago

thegitparticle commented 2 years ago

I want to override the auto color choosing which happens currently as per the background

thegitparticle commented 2 years ago

@DevSrSouza anything on this?

BreimerR commented 2 years ago

Tint works fine

    Icon(FontAwesomeIcons.Brands.Gitlab, "Github Icon", modifier = Modifier.size(24.dp), tint = white)
DevSrSouza commented 2 years ago

@thegitparticle the solution from @BreimerR resolve your case?

thegitparticle commented 2 years ago

I've already solved it using same way. Can assure it works. You can maybe add it to the documentation. Closing this issue.