diff --git a/assets/templates/test-fonts.css.njk b/assets/templates/test-fonts.css.njk index 6fa5e5e..8786ad9 100644 --- a/assets/templates/test-fonts.css.njk +++ b/assets/templates/test-fonts.css.njk @@ -186,6 +186,7 @@ {% for glyph in glyphs %} .{{ className }}.{{ glyph.name }}::before { - content: "\{{ glyph.unicode[0].charCodeAt(0).toString(16) }}"; + /* content: "\{{ glyph.unicode[0].charCodeAt(0).toString(16) }}"; */ + content: "{{ glyph.unicode[1] }}"; } {% endfor %} diff --git a/assets/templates/test-fonts.html.njk b/assets/templates/test-fonts.html.njk index aad171d..067ccc1 100644 --- a/assets/templates/test-fonts.html.njk +++ b/assets/templates/test-fonts.html.njk @@ -4,103 +4,55 @@ {{ fontName }}

Icons: {{ className }}

-

- Class:  -
{{ '' | escape }}
-

-
-
- {% for glyph in glyphs %} -
-
- .{{ glyph.name }} -
- {% endfor %} -
-

- Ligature:  -
{{ ''  | escape }}{{glyphs[0].unicode[1]}}{{'' | escape }}
-

-
-
+ +
+ + + + + + + + + + {% for glyph in glyphs %} -
- {{ glyph.unicode[1] }}
- {{ glyph.unicode[1] }} -
+ + + + + + {% endfor %} - + +
IconClassLigatureCode
.{{ glyph.name }}{{glyph.unicode[1]}} +
{{ ''  | escape }}{{glyph.unicode[1]}}{{'' | escape }}
+
+
+ diff --git a/assets/templates/test-fonts.scss.njk b/assets/templates/test-fonts.scss.njk index fd40e37..ec511cc 100644 --- a/assets/templates/test-fonts.scss.njk +++ b/assets/templates/test-fonts.scss.njk @@ -199,6 +199,7 @@ display: inline-block; {% for glyph in glyphs %} .{{ className }}.{{ glyph.name }}::before { - content: "\{{ glyph.unicode[0].charCodeAt(0).toString(16) }}"; + /* content: "\{{ glyph.unicode[0].charCodeAt(0).toString(16) }}"; */ + content: "{{ glyph.unicode[1] }}"; } {% endfor %} diff --git a/dist/README.md b/dist/README.md index 9d45397..fd66992 100644 --- a/dist/README.md +++ b/dist/README.md @@ -20,8 +20,18 @@ nodejs 11+ ### Changelog +#### [1.0.4](https://github.com/mpalpha/test-fonts/compare/1.0.3...1.0.4) - 2019-08-28 + +##### Commits + +- update task scripts [`dd6b5d7`](https://github.com/mpalpha/test-fonts/commit/dd6b5d7b07af7a007a2ce3345332bf14525a7f13) + #### [1.0.3](https://github.com/mpalpha/test-fonts/compare/1.0.2...1.0.3) - 2019-08-28 +##### Commits + +- Release 1.0.3 [`9046f3b`](https://github.com/mpalpha/test-fonts/commit/9046f3b26996df3ae5b16da965dd53cd359c6832) + #### [1.0.2](https://github.com/mpalpha/test-fonts/compare/1.0.1...1.0.2) - 2019-08-28 ##### Commits diff --git a/dist/index.html b/dist/index.html index d76ba87..a40ee02 100644 --- a/dist/index.html +++ b/dist/index.html @@ -4,103 +4,46 @@ test-fonts

Icons: test-fonts

-

- Class:  -
<i class="test-fonts attach"></i>
-

-
-
- -
-
- .attach -
- -
-
- .chat-round -
- -
-

- Ligature:  -
<i class="test-fonts">attach</i>
-

-
-
+ +
+ + + + + + + + + + -
- attach
- attach -
+ + + + + + -
- chat_round
- chat_round -
+ + + + + + - + +
IconClassLigatureCode
.attachattach +
<i class="test-fonts">attach</i>
+
.chat-roundchat_round +
<i class="test-fonts">chat_round</i>
+
+
+ diff --git a/dist/test-fonts.css b/dist/test-fonts.css index 9cd881d..503ab44 100644 --- a/dist/test-fonts.css +++ b/dist/test-fonts.css @@ -157,10 +157,12 @@ .test-fonts.attach::before { - content: "\ea01"; + /* content: "\ea01"; */ + content: "attach"; } .test-fonts.chat-round::before { - content: "\ea02"; + /* content: "\ea02"; */ + content: "chat_round"; } diff --git a/dist/test-fonts.scss b/dist/test-fonts.scss index 067ffe1..5a23290 100644 --- a/dist/test-fonts.scss +++ b/dist/test-fonts.scss @@ -172,10 +172,12 @@ display: inline-block; .test-fonts.attach::before { - content: "\ea01"; + /* content: "\ea01"; */ + content: "attach"; } .test-fonts.chat-round::before { - content: "\ea02"; + /* content: "\ea02"; */ + content: "chat_round"; }