Adds instructions to generate the icon font in the README

This commit is contained in:
Javier Arce
2016-01-17 23:58:52 +01:00
parent 864474bc05
commit b73cdb1d5c
7 changed files with 122 additions and 31 deletions
+1 -1
View File
@@ -18,7 +18,6 @@
-moz-osx-font-smoothing: grayscale;
line-height: 1;
}
<% _.each(glyphs, function(glyph) { %>
<%= '/* SG' %>
<%= '# Icon font/' + glyph.fileName.split("_")[2] %>
@@ -26,6 +25,7 @@
<i class="iconFont iconFont-<%= glyph.fileName.split("_")[2] %> iconFont--size24"></i>
```
<%= '*/' %>
.iconFont-<%= glyph.fileName.split("_")[2] %>::before {
content: '\<%= glyph.codePoint %>';
}