DEV Community

Discussion on: How to use Fontawesome

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

I wonder about colors...

Collapse
 
huncyrus profile image
huncyrus

The icons - since they behave/are font elements - shall use the colours same way just like any other text/string element on the page. You can do any transformation or css trick also on them. The only thing what have to consider is the icon variant (outline, filled versions...).

Collapse
 
dailydevtips1 profile image
Chris Bongers

Thanks for this additional answers, well explained! 🤟

Collapse
 
dailydevtips1 profile image
Chris Bongers

Like mentioned by huncyrus there are rendered as a font/svg in which you can change it so any color you want.