Update template

This commit is contained in:
Javier Arce 2016-01-18 11:21:42 +01:00
parent 7b4801bb70
commit f9bd2233e9
6 changed files with 291 additions and 646 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
.DS_Store
node_modules node_modules
npm-debug.log npm-debug.log
.tmp .tmp

View File

@ -18,14 +18,18 @@
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
line-height: 1; line-height: 1;
} }
<% _.each(glyphs, function(glyph) { %>
<%= '/* SG' %>
<%= '# Icon font/' + glyph.fileName.split("_")[2] %>
```
<i class="IconFont IconFont-<%= glyph.fileName.split("_")[2] %>"></i>
```
<%= '*/' %>
/* SG
# Icon font
```
<% _.each(glyphs, function(glyph) { %>
<h4><%= glyph.fileName.split("_")[2] %></h4>
<i class="IconFont IconFont-<%= glyph.fileName.split("_")[2] %>"></i>
<% }); %>
```
*/
<% _.each(glyphs, function(glyph) { %>
.IconFont-<%= glyph.fileName.split("_")[2] %>::before { .IconFont-<%= glyph.fileName.split("_")[2] %>::before {
content: '\<%= glyph.codePoint %>'; content: '\<%= glyph.codePoint %>';
} }

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff