marella / material-icons

Latest icon fonts and CSS for self-hosting material design icons.
https://marella.github.io/material-icons/demo/
Apache License 2.0
305 stars 36 forks source link

How to use outlined icons #10

Closed loic-roux-404 closed 3 years ago

loic-roux-404 commented 4 years ago

I have this line <i class="material-icons-outlined shopping-cart">shopping_cart</i> i also try <i class="material-icons shopping-cart">shopping_cart_outline</i> (dont pay attention to the shopping cart class, just for positionning)

Thanks for help !

froston commented 4 years ago

@loic-roux-404 Having exactly the same issue! Is there a solution for this?

loic-roux-404 commented 4 years ago

Wow sorry it's been a long time, i don't even remember if i figured this. I will try to find a solution by looking the project concerned.

marella commented 3 years ago

Sorry for the delay. Added new fonts and released a new version. Please update package and try again.

To display outlined, round, sharp and two tone icons, use:

<span class="material-icons-outlined">home</span>
<span class="material-icons-round">home</span>
<span class="material-icons-sharp">home</span>
<span class="material-icons-two-tone">home</span>