Update template
This commit is contained in:
parent
7b4801bb70
commit
f9bd2233e9
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
|
.DS_Store
|
||||||
node_modules
|
node_modules
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
.tmp
|
.tmp
|
||||||
|
@ -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
Loading…
Reference in New Issue
Block a user