Skip to content

Commit 535fa93

Browse files
authored
Merge pull request #69 from moneytree/new-scope-icon
new scope icon
2 parents 9d7c98e + c02635e commit 535fa93

22 files changed

+44
-18
lines changed

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
# mt-web-icons
22

3-
## Prerequisites
3+
## Steps for updating the web font
44

5-
You have Node installed at v10.0.0+ and Yarn at v1.2.0+.
6-
You are familiar with Git.
7-
8-
# Steps for updating the web font
95
1. Fork the repository from mt-web-icon
106
2. git fetch and pull the latest version
117
3. Go to https://icomoon.io/app/#/select
128
4. Upload the latest `selection.json` in the `iconmoon` folder
13-
5. In the iconmoon web app, just upload whatever svg you want to add. Be sure to center it and name it properly.
9+
5. In the iconmoon web app, upload the svg you want to add. Be sure to center it and name it properly.
1410
6. Generate the new web font by click `Generate Font` button at bottom right corner.
1511
7. Download it
1612
8. Unzip it
@@ -35,15 +31,15 @@ make sure replace these folder & files
3531
- `yarn add file:../mt-web-icons` (path the folder mt-web-icons)
3632
3. Test it
3733

38-
# Create svgs and build components
34+
## Create svgs and build components
3935

4036
Run the following command before:
4137

4238
```console
4339
yarn build
4440
```
4541

46-
# How to use it
42+
## How to use it
4743

4844
### Icon component:
4945

fonts/mt-web-icons.eot

708 Bytes
Binary file not shown.

fonts/mt-web-icons.svg

Lines changed: 1 addition & 0 deletions
Loading

fonts/mt-web-icons.ttf

708 Bytes
Binary file not shown.

fonts/mt-web-icons.woff

708 Bytes
Binary file not shown.

icomoon/Read Me.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Open *demo.html* to see a list of all the glyphs in your font along with their codes/ligatures.
22

3-
To use the generated font in desktop programs, you can install the TTF font. In order to copy the character associated with each icon, refer to the text box at the bottom right corner of each glyph in demo.html. The character inside this text box may be invisible; but it can still be copied. See this guide for more info: https://icomoon.io/#docs/local-fonts
3+
To use the generated font in desktop programs, you can install the TTF font. In order to copy the character associated with each icon, refer to the text box at the bottom right corner of each glyph in demo.html. The character inside this text box may be invisible; but it can still be copied. See this guide for more info: https://icomoon.io/docs/#local-fonts
44

55
You won't need any of the files located under the *demo-files* directory when including the generated font in your own projects.
66

icomoon/demo.html

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,24 @@
1313
</head>
1414
<body>
1515
<div class="bgc1 clearfix">
16-
<h1 class="mhmm mvm"><span class="fgc1">Font Name:</span> mt-web-icons <small class="fgc1">(Glyphs:&nbsp;312)</small></h1>
16+
<h1 class="mhmm mvm"><span class="fgc1">Font Name:</span> mt-web-icons <small class="fgc1">(Glyphs:&nbsp;313)</small></h1>
1717
</div>
1818
<div class="clearfix mhl ptl">
1919
<h1 class="mvm mtn fgc1">Grid Size: 24</h1>
20+
<div class="glyph fs1">
21+
<div class="clearfix bshadow0 pbs">
22+
<span class="mt-scope-own-data-read"></span>
23+
<span class="mls"> mt-scope-own-data-read</span>
24+
</div>
25+
<fieldset class="fs0 size1of1 clearfix hidden-false">
26+
<input type="text" readonly value="e920" class="unit size1of2" />
27+
<input type="text" maxlength="1" readonly value="&#xe920;" class="unitRight size1of2 talign-right" />
28+
</fieldset>
29+
<div class="fs0 bshadow0 clearfix hidden-true">
30+
<span class="unit pvs fgc1">liga: </span>
31+
<input type="text" readonly value="" class="liga unitRight" />
32+
</div>
33+
</div>
2034
<div class="glyph fs1">
2135
<div class="clearfix bshadow0 pbs">
2236
<span class="mt-sprout-logo"></span>

icomoon/fonts/mt-web-icons.eot

708 Bytes
Binary file not shown.

icomoon/fonts/mt-web-icons.svg

Lines changed: 1 addition & 0 deletions
Loading

icomoon/fonts/mt-web-icons.ttf

708 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)