NathanWalker / nativescript-ngx-fonticon

Use custom font icon collections seamlessly with NativeScript + Angular.
MIT License
76 stars 39 forks source link

change override color of icons #12

Open dlucidone opened 7 years ago

dlucidone commented 7 years ago

I have placed font-awesome ttf file in fonts folder and using it. how to override color of icons using css as im placing icons with text so changing text color the color of icons also get changed.Any help

kumarandena commented 6 years ago

+1

chuckmitchell commented 6 years ago

I used an inline style and it worked to change the icon color. <Label class="mdi" style="color: red" [text]="('mdi-email' | fonticon) " ></Label>

JuanDeLeon commented 5 years ago

It didn't work for me by using CSS classes. But it works with inline style as said above.