mkhairi / materialize-sass

Materializecss rubygem for Rails Asset Pipeline / Sprockets
http://materialize.labs.my/
MIT License
805 stars 243 forks source link

This is using the old icons format #66

Closed rpierreye closed 8 years ago

rpierreye commented 8 years ago

Can this be updated to the new font icons format?

According to the documentation on materializecss.com, this is the structure to create icons

// i element with 'material-icons' class, with the name of the icon as the value. See example:
<i class="material-icons">menu</i>

However this gem seems to be using the old format, (or the font files aren't up to date):

<i class="mdi-navigation-arrow-drop-down"></i>
mkhairi commented 8 years ago

hi @rpierreye , for the new format you should include this in <head>

<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> 

refer http://materializecss.com/icons.html