Skip to content

Commit

Permalink
v5.1.0 feat: use template engine for styles (#240) 668989e
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Aug 30, 2024
1 parent 3b2996f commit 88fe708
Show file tree
Hide file tree
Showing 37 changed files with 691 additions and 946 deletions.
24 changes: 13 additions & 11 deletions CONTRIBUTORS.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions badges.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions coverage-summary.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{"total": {"lines":{"total":328,"covered":0,"skipped":0,"pct":0},"statements":{"total":357,"covered":0,"skipped":0,"pct":0},"functions":{"total":73,"covered":0,"skipped":0,"pct":0},"branches":{"total":221,"covered":0,"skipped":0,"pct":0},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":"Unknown"}}
{"total": {"lines":{"total":319,"covered":0,"skipped":0,"pct":0},"statements":{"total":348,"covered":0,"skipped":0,"pct":0},"functions":{"total":66,"covered":0,"skipped":0,"pct":0},"branches":{"total":214,"covered":0,"skipped":0,"pct":0},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":"Unknown"}}
,"/home/runner/work/svgtofont/svgtofont/src/cli.ts": {"lines":{"total":11,"covered":0,"skipped":0,"pct":0},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":11,"covered":0,"skipped":0,"pct":0},"branches":{"total":6,"covered":0,"skipped":0,"pct":0}}
,"/home/runner/work/svgtofont/svgtofont/src/generate.ts": {"lines":{"total":56,"covered":0,"skipped":0,"pct":0},"functions":{"total":17,"covered":0,"skipped":0,"pct":0},"statements":{"total":63,"covered":0,"skipped":0,"pct":0},"branches":{"total":42,"covered":0,"skipped":0,"pct":0}}
,"/home/runner/work/svgtofont/svgtofont/src/index.ts": {"lines":{"total":117,"covered":0,"skipped":0,"pct":0},"functions":{"total":4,"covered":0,"skipped":0,"pct":0},"statements":{"total":127,"covered":0,"skipped":0,"pct":0},"branches":{"total":95,"covered":0,"skipped":0,"pct":0}}
,"/home/runner/work/svgtofont/svgtofont/src/index.ts": {"lines":{"total":119,"covered":0,"skipped":0,"pct":0},"functions":{"total":4,"covered":0,"skipped":0,"pct":0},"statements":{"total":129,"covered":0,"skipped":0,"pct":0},"branches":{"total":97,"covered":0,"skipped":0,"pct":0}}
,"/home/runner/work/svgtofont/svgtofont/src/log.ts": {"lines":{"total":13,"covered":0,"skipped":0,"pct":0},"functions":{"total":8,"covered":0,"skipped":0,"pct":0},"statements":{"total":17,"covered":0,"skipped":0,"pct":0},"branches":{"total":10,"covered":0,"skipped":0,"pct":0}}
,"/home/runner/work/svgtofont/svgtofont/src/utils.ts": {"lines":{"total":131,"covered":0,"skipped":0,"pct":0},"functions":{"total":42,"covered":0,"skipped":0,"pct":0},"statements":{"total":139,"covered":0,"skipped":0,"pct":0},"branches":{"total":68,"covered":0,"skipped":0,"pct":0}}
,"/home/runner/work/svgtofont/svgtofont/src/utils.ts": {"lines":{"total":120,"covered":0,"skipped":0,"pct":0},"functions":{"total":35,"covered":0,"skipped":0,"pct":0},"statements":{"total":128,"covered":0,"skipped":0,"pct":0},"branches":{"total":59,"covered":0,"skipped":0,"pct":0}}
}
62 changes: 31 additions & 31 deletions example/font-class.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
<meta charset="UTF-8">
<title>svgtofont</title>
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">

<meta name="description" content="Converts SVG fonts to TTF/EOT/WOFF/WOFF2/SVG format.">

<meta name="keywords" content="svgtofont,TTF,EOT,WOFF,WOFF2,SVG">

<meta name="description" content="Converts SVG fonts to TTF/EOT/WOFF/WOFF2/SVG format.">

<link rel="icon" type="image/x-icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAA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ua0Gp1szW8etNqTgC9LNAp6yRoIwM3YRdOEI31eTnLnWUbrdBPTt1Hnijm1JvsNbHuKHJhvGzJUPfoV2mQxGLeMzA4Ng6EEGQixYsVDZZm0TW41GqKCzJvHAS7O0oBuJnWEaD0VsUPUKX0k+pLTbEHbBFTMuOiX5GJVOKnzGdK/W63Gphi4/B/Q42jNmxi643McVs6jyhj1zRrp29TMTCQb/r4RjvFdMeBgzYw+PfC73UZ1mHedXk/EoZXT+TBCJRTpIP6IDbEHRpwDQq0VFsmdpXTN4KoxVT/phiXLtm4UrZUQiPOmKAKa8TZjEDwM+SEY1U/rW4zpArHEkAA6rgP5yu971Bv1/45/XA864YlYkEgJxf7Xpf9K/bG/UbnhPEwXrndg0JyqLg2fdAAEW5iaB+JXX9B9jH7bmN7wvKUaP2vQ2uQk82xrPAX6deILNmV0uPrXrtCaNjbbt9TbwrDUSYEUeEmUhf+e5SS2NTXR+Eni2sxJgZVYSQYDbeV5SS2Oj5w8Dz3aJBNggCwmFag/PSWppbHh+GvChXdJiUV2ajc0plLLQXvquN37HdxreHspCXxtTaWSxtOB5ytAIaL9pIsHA6Bw63p7x9ut5umcZ61yCZ9/GNKoXNfVpIhHOQ7xI/ffXfeyyFXSja2T5z+t5mQnwxNQk9Cop+jzg2W0uAjzRJYm84AsRcEWiCPjCBIqSKAreCYG8JFyAd0YgKwlX4J0SSEvCJXjnBNhhr8qH9GOP/loT32FH8WOP3GmUwdrajfy5zf8bun5GxUuCHgAAAABJRU5ErkJggg==">
<meta name="keywords" content="svgtofont,TTF,EOT,WOFF,WOFF2,SVG">


<link rel="stylesheet" href="svgtofont.css" />
<link rel="icon" type="image/x-icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABUxJREFUaAW9Wk2IHEUUfq9mJiARFfM307NGMEENixIhejAXdwlRdnZXPeTg2RyUgOgl8Tds8D8H9aInvQkRhIDZDKgk8SB4WVHQLOJJE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sUPUKX0k+pLTbEHbBFTMuOiX5GJVOKnzGdK/W63Gphi4/B/Q42jNmxi643McVs6jyhj1zRrp29TMTCQb/r4RjvFdMeBgzYw+PfC73UZ1mHedXk/EoZXT+TBCJRTpIP6IDbEHRpwDQq0VFsmdpXTN4KoxVT/phiXLtm4UrZUQiPOmKAKa8TZjEDwM+SEY1U/rW4zpArHEkAA6rgP5yu971Bv1/45/XA864YlYkEgJxf7Xpf9K/bG/UbnhPEwXrndg0JyqLg2fdAAEW5iaB+JXX9B9jH7bmN7wvKUaP2vQ2uQk82xrPAX6deILNmV0uPrXrtCaNjbbt9TbwrDUSYEUeEmUhf+e5SS2NTXR+Eni2sxJgZVYSQYDbeV5SS2Oj5w8Dz3aJBNggCwmFag/PSWppbHh+GvChXdJiUV2ajc0plLLQXvquN37HdxreHspCXxtTaWSxtOB5ytAIaL9pIsHA6Bw63p7x9ut5umcZ61yCZ9/GNKoXNfVpIhHOQ7xI/ffXfeyyFXSja2T5z+t5mQnwxNQk9Cop+jzg2W0uAjzRJYm84AsRcEWiCPjCBIqSKAreCYG8JFyAd0YgKwlX4J0SSEvCJXjnBNhhr8qH9GOP/loT32FH8WOP3GmUwdrajfy5zf8bun5GxUuCHgAAAABJRU5ErkJggg==">


<link rel="stylesheet" href="" />

<style>
*{margin: 0;padding: 0;list-style: none;}
Expand Down Expand Up @@ -72,10 +72,6 @@
.icons ul li.class-icon [class^="svgtofont-"]{ font-size: 26px; }



</style>

<style>
.github-corner:hover .octo-arm { animation: octocat-wave 560ms ease-in-out; }
.github-corner svg { position: fixed; z-index: 999; border: 0px; top: 0px; right: 0px;}
@keyframes octocat-wave{
Expand All @@ -87,8 +83,8 @@
.github-corner:hover .octo-arm { animation: none; }
.github-corner .octo-arm { animation: octocat-wave 560ms ease-in-out; }
}

</style>

</head>

<body>
Expand All @@ -105,38 +101,42 @@

<h1>svgtofont<sup>5.1.0</sup></h1>
<div class="info">
Converts SVG fonts to TTF/EOT/WOFF/WOFF2/SVG format.

</div>
<p>

<a href="https://github.com/jaywcjlove/svgtofont">GitHub</a> ·

<a href="https://github.com/jaywcjlove/svgtofont/issues">Feedback</a> ·

<a href="font-class.html">Font Class Demo</a> ·

<a href="symbol.html">Symbol Demo</a> ·

<a href="index.html">Unicode Demo</a>

<a href=""></a> ·

<a href=""></a> ·

<a href=""></a> ·

<a href=""></a> ·

<a href=""></a>


</p>
</div>
<div class="icons">
<ul>
<li class="class-icon"><i class="svgtofont-adobe"></i><p class="name">adobe</p></li><li class="class-icon"><i class="svgtofont-demo"></i><p class="name">demo</p></li><li class="class-icon"><i class="svgtofont-git"></i><p class="name">git</p></li><li class="class-icon"><i class="svgtofont-left"></i><p class="name">left</p></li><li class="class-icon"><i class="svgtofont-stylelint"></i><p class="name">stylelint</p></li>

</ul>
</div>
<p class="links">

<a href="https://github.com/jaywcjlove/svgtofont">GitHub</a> ·

<a href="https://github.com/jaywcjlove/svgtofont/issues">Feedback</a> ·

<a href="font-class.html">Font Class Demo</a> ·

<a href="symbol.html">Symbol Demo</a> ·

<a href="index.html">Unicode Demo</a>

<a href=""></a> ·

<a href=""></a> ·

<a href=""></a> ·

<a href=""></a> ·

<a href=""></a>


</p>
<div class="footer">
Expand Down
68 changes: 34 additions & 34 deletions example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<meta charset="UTF-8">
<title>svgtofont</title>
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">

<meta name="description" content="Converts SVG fonts to TTF/EOT/WOFF/WOFF2/SVG format.">

<meta name="keywords" content="svgtofont,TTF,EOT,WOFF,WOFF2,SVG">

<meta name="description" content="Converts SVG fonts to TTF/EOT/WOFF/WOFF2/SVG format.">

<link rel="icon" type="image/x-icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABUxJREFUaAW9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BPTt1Hnijm1JvsNbHuKHJhvGzJUPfoV2mQxGLeMzA4Ng6EEGQixYsVDZZm0TW41GqKCzJvHAS7O0oBuJnWEaD0VsUPUKX0k+pLTbEHbBFTMuOiX5GJVOKnzGdK/W63Gphi4/B/Q42jNmxi643McVs6jyhj1zRrp29TMTCQb/r4RjvFdMeBgzYw+PfC73UZ1mHedXk/EoZXT+TBCJRTpIP6IDbEHRpwDQq0VFsmdpXTN4KoxVT/phiXLtm4UrZUQiPOmKAKa8TZjEDwM+SEY1U/rW4zpArHEkAA6rgP5yu971Bv1/45/XA864YlYkEgJxf7Xpf9K/bG/UbnhPEwXrndg0JyqLg2fdAAEW5iaB+JXX9B9jH7bmN7wvKUaP2vQ2uQk82xrPAX6deILNmV0uPrXrtCaNjbbt9TbwrDUSYEUeEmUhf+e5SS2NTXR+Eni2sxJgZVYSQYDbeV5SS2Oj5w8Dz3aJBNggCwmFag/PSWppbHh+GvChXdJiUV2ajc0plLLQXvquN37HdxreHspCXxtTaWSxtOB5ytAIaL9pIsHA6Bw63p7x9ut5umcZ61yCZ9/GNKoXNfVpIhHOQ7xI/ffXfeyyFXSja2T5z+t5mQnwxNQk9Cop+jzg2W0uAjzRJYm84AsRcEWiCPjCBIqSKAreCYG8JFyAd0YgKwlX4J0SSEvCJXjnBNhhr8qH9GOP/loT32FH8WOP3GmUwdrajfy5zf8bun5GxUuCHgAAAABJRU5ErkJggg==">
<meta name="keywords" content="svgtofont,TTF,EOT,WOFF,WOFF2,SVG">


<link rel="icon" type="image/x-icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABUxJREFUaAW9Wk2IHEUUfq9mJiARFfM307NGMEENixIhejAXdwlRdnZXPeTg2RyUgOgl8Tds8D8H9aInvQkRhIDZDKgk8SB4WVHQLOJJE5OemY2YKO4Gs9NVvteTWnp6qnr6pyZ12Op679Wr79vX9arrMQgjaEuz3gNBAHOg4MHQPcJCq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29TMTCQb/r4RjvFdMeBgzYw+PfC73UZ1mHedXk/EoZXT+TBCJRTpIP6IDbEHRpwDQq0VFsmdpXTN4KoxVT/phiXLtm4UrZUQiPOmKAKa8TZjEDwM+SEY1U/rW4zpArHEkAA6rgP5yu971Bv1/45/XA864YlYkEgJxf7Xpf9K/bG/UbnhPEwXrndg0JyqLg2fdAAEW5iaB+JXX9B9jH7bmN7wvKUaP2vQ2uQk82xrPAX6deILNmV0uPrXrtCaNjbbt9TbwrDUSYEUeEmUhf+e5SS2NTXR+Eni2sxJgZVYSQYDbeV5SS2Oj5w8Dz3aJBNggCwmFag/PSWppbHh+GvChXdJiUV2ajc0plLLQXvquN37HdxreHspCXxtTaWSxtOB5ytAIaL9pIsHA6Bw63p7x9ut5umcZ61yCZ9/GNKoXNfVpIhHOQ7xI/ffXfeyyFXSja2T5z+t5mQnwxNQk9Cop+jzg2W0uAjzRJYm84AsRcEWiCPjCBIqSKAreCYG8JFyAd0YgKwlX4J0SSEvCJXjnBNhhr8qH9GOP/loT32FH8WOP3GmUwdrajfy5zf8bun5GxUuCHgAAAABJRU5ErkJggg==">


<style>
Expand Down Expand Up @@ -65,7 +65,6 @@
.footer a:hover { color: #0949d1; }
.links { text-align: center; padding: 50px 0 0 0; font-size: 14px; }


.icons ul .unicode-icon span { display: block; }
.icons ul .unicode-icon h4 { font-size: 12px; }
@font-face {
Expand All @@ -74,12 +73,12 @@
/* IE9*/
src: url("svgtofont.eot#iefix") format("embedded-opentype"),
/* IE6-IE8 */
url("svgtofont.woff2?1724946263253") format("woff2"),
url("svgtofont.woff?1724946263253") format("woff"),
url("svgtofont.woff2?1724986145020") format("woff2"),
url("svgtofont.woff?1724986145020") format("woff"),
/* chrome, firefox */
url("svgtofont.ttf?1724946263253") format("truetype"),
url("svgtofont.ttf?1724986145020") format("truetype"),
/* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url("svgtofont.svg#svgtofont?1724946263253") format("svg");
url("svgtofont.svg#svgtofont?1724986145020") format("svg");
/* iOS 4.1- */
}
.iconfont {
Expand All @@ -92,9 +91,6 @@
}


</style>

<style>
.github-corner:hover .octo-arm { animation: octocat-wave 560ms ease-in-out; }
.github-corner svg { position: fixed; z-index: 999; border: 0px; top: 0px; right: 0px;}
@keyframes octocat-wave{
Expand All @@ -106,8 +102,8 @@
.github-corner:hover .octo-arm { animation: none; }
.github-corner .octo-arm { animation: octocat-wave 560ms ease-in-out; }
}

</style>

</head>

<body>
Expand All @@ -124,38 +120,42 @@

<h1>svgtofont<sup>5.1.0</sup></h1>
<div class="info">
Converts SVG fonts to TTF/EOT/WOFF/WOFF2/SVG format.

</div>
<p>

<a href="https://github.com/jaywcjlove/svgtofont">GitHub</a> ·

<a href="https://github.com/jaywcjlove/svgtofont/issues">Feedback</a> ·

<a href="font-class.html">Font Class Demo</a> ·

<a href="symbol.html">Symbol Demo</a> ·

<a href="index.html">Unicode Demo</a>

<a href=""></a> ·

<a href=""></a> ·

<a href=""></a> ·

<a href=""></a> ·

<a href=""></a>


</p>
</div>
<div class="icons">
<ul>
<li class="unicode-icon"><span class="iconfont"></span><h4>adobe</h4><span class="unicode">&amp;#59905;</span></li><li class="unicode-icon"><span class="iconfont"></span><h4>demo</h4><span class="unicode">&amp;#59906;</span></li><li class="unicode-icon"><span class="iconfont"></span><h4>git</h4><span class="unicode">&amp;#59907;</span></li><li class="unicode-icon"><span class="iconfont"></span><h4>left</h4><span class="unicode">&amp;#59908;</span></li><li class="unicode-icon"><span class="iconfont"></span><h4>stylelint</h4><span class="unicode">&amp;#59909;</span></li>

</ul>
</div>
<p class="links">

<a href="https://github.com/jaywcjlove/svgtofont">GitHub</a> ·

<a href="https://github.com/jaywcjlove/svgtofont/issues">Feedback</a> ·

<a href="font-class.html">Font Class Demo</a> ·

<a href="symbol.html">Symbol Demo</a> ·

<a href="index.html">Unicode Demo</a>

<a href=""></a> ·

<a href=""></a> ·

<a href=""></a> ·

<a href=""></a> ·

<a href=""></a>


</p>
<div class="footer">
Expand Down
13 changes: 7 additions & 6 deletions example/svgtofont.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@font-face {
font-family: "svgtofont";
src: url('svgtofont.eot?t=1724946263238'); /* IE9*/
src: url('svgtofont.eot?t=1724946263238#iefix') format('embedded-opentype'), /* IE6-IE8 */
url("svgtofont.woff2?t=1724946263238") format("woff2"),
url("svgtofont.woff?t=1724946263238") format("woff"),
url('svgtofont.ttf?t=1724946263238') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('svgtofont.svg?t=1724946263238#svgtofont') format('svg'); /* iOS 4.1- */
src: url('svgtofont.eot?t=1724986144989'); /* IE9*/
src: url('svgtofont.eot?t=1724986144989#iefix') format('embedded-opentype'), /* IE6-IE8 */
url("svgtofont.woff2?t=1724986144989") format("woff2"),
url("svgtofont.woff?t=1724986144989") format("woff"),
url('svgtofont.ttf?t=1724986144989') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('svgtofont.svg?t=1724986144989#svgtofont') format('svg'); /* iOS 4.1- */
}

[class^="svgtofont-"], [class*=" svgtofont-"] {
Expand All @@ -22,3 +22,4 @@
.svgtofont-left:before { content: "\ea04"; }
.svgtofont-stylelint:before { content: "\ea05"; }


3 changes: 1 addition & 2 deletions example/svgtofont.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ export enum Svgtofont {
Demo = "svgtofont-demo",
Git = "svgtofont-git",
Left = "svgtofont-left",
Stylelint = "svgtofont-stylelint"
Stylelint = "svgtofont-stylelint",
}

export type SvgtofontClassname = "svgtofont-adobe" | "svgtofont-demo" | "svgtofont-git" | "svgtofont-left" | "svgtofont-stylelint"
export type SvgtofontIcon = "adobe" | "demo" | "git" | "left" | "stylelint"
export const SvgtofontPrefix = "svgtofont-"
Binary file modified example/svgtofont.eot
Binary file not shown.
Loading

0 comments on commit 88fe708

Please sign in to comment.