@onereach/font-icons 0.1.0-beta.3704.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fonts/font-icons.svg +33 -0
- package/dist/fonts/font-icons.ttf +0 -0
- package/package.json +18 -0
- package/preview/fonts.css +33 -0
- package/preview/index.html +80 -0
- package/src/icons/copy_all.svg +3 -0
- package/src/icons/logs.svg +5 -0
- package/src/icons/multiselect.svg +10 -0
- package/src/icons/onereach_ai.svg +5 -0
- package/src/icons/split_tree.svg +17 -0
- package/src/icons/trash.svg +4 -0
- package/src/icons/ungroup.svg +9 -0
- package/src/index.js +51 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?>
|
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
|
3
|
+
<svg xmlns="http://www.w3.org/2000/svg">
|
|
4
|
+
<defs>
|
|
5
|
+
<font id="font-icons" horiz-adv-x="6136.363636363636">
|
|
6
|
+
<font-face font-family="font-icons"
|
|
7
|
+
units-per-em="1000" ascent="1000"
|
|
8
|
+
descent="0" />
|
|
9
|
+
<missing-glyph horiz-adv-x="0" />
|
|
10
|
+
<glyph glyph-name="copy_all"
|
|
11
|
+
unicode="copy_all"
|
|
12
|
+
horiz-adv-x="863.6363636363636" d="M636.3636363636364 1000H90.9090909090909C40.9090909090909 1000 0 959.0909090909092 0 909.0909090909092V272.7272727272728H90.9090909090909V909.0909090909092H636.3636363636364V1000zM454.5454545454545 727.2727272727273H363.6363636363637V818.1818181818182H454.5454545454545V727.2727272727273zM636.3636363636364 727.2727272727273H545.4545454545455V818.1818181818182H636.3636363636364V727.2727272727273zM863.6363636363636 727.2727272727273H727.2727272727273V818.1818181818182H772.8181818181818C822.7181818181817 818.1818181818182 863.6363636363636 777.925909090909 863.6363636363636 727.2727272727273zM863.6363636363636 545.4545454545455H772.7272727272727V636.3636363636364H863.6363636363636V545.4545454545455zM863.6363636363636 363.6363636363637H772.7272727272727V454.5454545454545H863.6363636363636V363.6363636363637zM863.6363636363636 181.8181818181819H772.7272727272727V272.7272727272728H863.6363636363636V181.8181818181819zM772.7272727272727 0V90.909090909091H863.6363636363636C863.6363636363636 40.5909090909091 822.840909090909 0 772.7272727272727 0zM681.8181818181818 0H590.9090909090909V90.909090909091H681.8181818181818V0zM500 0H409.0909090909091V90.909090909091H500V0zM318.1818181818182 0H272.5127272727273C222.7772727272727 0 181.8181818181818 40.35 181.8181818181818 90.909090909091H318.1818181818182V0zM272.7272727272728 181.8181818181819H181.8181818181818V272.7272727272728H272.7272727272728V181.8181818181819zM272.7272727272728 363.6363636363637H181.8181818181818V454.5454545454545H272.7272727272728V363.6363636363637zM272.7272727272728 545.4545454545455H181.8181818181818V636.3636363636364H272.7272727272728V545.4545454545455zM272.7272727272728 727.2727272727273H181.8181818181818C181.8181818181818 777.5922727272728 223.2577272727273 818.1818181818182 272.7272727272728 818.1818181818182V727.2727272727273z" />
|
|
13
|
+
<glyph glyph-name="logs"
|
|
14
|
+
unicode="logs"
|
|
15
|
+
horiz-adv-x="1000" d="M428.5714285714286 333.3333333333333L904.7619047619048 333.3333333333333L904.7619047619048 238.0952380952381L428.5714285714286 238.0952380952381L428.5714285714286 333.3333333333333zM1e-13 304.7619047619047L219.047619047619 523.8095238095239L2e-13 742.8571428571429L66.6666666666667 809.5238095238095L352.3809523809524 523.8095238095239L66.6666666666667 238.0952380952381L0 304.7619047619047L1e-13 304.7619047619047z" />
|
|
16
|
+
<glyph glyph-name="multiselect"
|
|
17
|
+
unicode="multiselect"
|
|
18
|
+
horiz-adv-x="1000" d="M708.333335 791.6666665L625 791.6666665L625 875L708.333335 875L708.333335 791.6666665zM625 375L625 125L720.4166650000001 220.4166650000001L816.25 125L875 183.75L779.5833349999999 279.166665L875 375L625 375zM791.666665 625L875 625L875 708.3333335L791.666665 708.3333335L791.666665 625zM791.666665 458.333335L875 458.333335L875 541.6666665L791.666665 541.6666665L791.666665 458.333335zM458.3333335 125L541.666665 125L541.666665 208.333335L458.3333335 208.333335L458.3333335 125zM291.6666665 791.6666665L375 791.6666665L375 875L291.6666665 875L291.6666665 791.6666665zM125 291.666665L208.3333335 291.666665L208.3333335 375L125 375L125 291.666665zM208.3333335 125L208.3333335 208.333335L125 208.333335C125 162.5 162.5 125 208.3333335 125zM791.666665 875L791.666665 791.6666665L875 791.6666665C875 837.5 837.5 875 791.666665 875zM458.3333335 791.6666665L541.666665 791.6666665L541.666665 875L458.3333335 875L458.3333335 791.6666665zM125 625L208.3333335 625L208.3333335 708.3333335L125 708.3333335L125 625zM291.6666665 125L375 125L375 208.333335L291.6666665 208.333335L291.6666665 125zM125 458.333335L208.3333335 458.333335L208.3333335 541.6666665L125 541.6666665L125 458.333335zM125 791.6666665L208.3333335 791.6666665L208.3333335 875C162.5 875 125 837.5 125 791.6666665z" />
|
|
19
|
+
<glyph glyph-name="onereach_ai"
|
|
20
|
+
unicode="onereach_ai"
|
|
21
|
+
horiz-adv-x="6136.363636363636" d="M1032.0027681818183 711.9083690909091L1127.7870954545454 711.9083690909091L1127.7870954545454 616.7239095454546C1155.4263545454546 672.7241 1222.3800772727272 722.3786595454545 1321.5796045454545 722.3786595454545C1446.1945409090908 722.3786595454545 1533.877709090909 654.4010913636364 1533.877709090909 479.2616863636364L1533.877709090909 109.3907409090909L1438.0933772727271 109.3907409090909L1438.0933772727271 486.0832409090909C1438.0933772727271 592.134590909091 1393.1398727272726 639.3302186363637 1296.2436181818182 639.3302186363637C1207.3691 639.3302186363637 1127.7870954545454 582.854105909091 1127.7870954545454 474.5817818181819L1127.7870954545454 109.3114181818182L1032.0027681818183 109.3114181818182L1032.0027681818183 711.9083690909091zM1656.5070681818183 404.3039227272727L1656.5070681818183 413.5050863636364C1656.5070681818183 595.4660468181818 1773.0208409090908 722.3786595454545 1939.1740909090909 722.3786595454545C2078.800004545454 722.3786595454545 2210.3247545454547 638.2990536363636 2210.3247545454547 422.7855727272728L2210.3247545454547 391.6126636363637L1755.706590909091 391.6126636363637C1760.3131363636362 254.5470409090909 1826.0755090909092 178.4787954545456 1949.5785227272725 178.4787954545456C2042.9801590909087 178.4787954545456 2097.226177272727 213.0624818181817 2109.933881818182 283.340340909091L2205.400518181818 283.340340909091C2184.59165 162.2974363636364 2084.200777272727 98.9997681818182 1948.069481818182 98.9997681818182C1777.6273818181817 98.9997681818182 1656.5070681818183 218.77355 1656.5070681818183 404.3039227272727zM2112.2371545454544 468.5534363636364C2103.024068181818 593.2450763636364 2038.611886363636 643.0582768181819 1939.1740909090909 643.0582768181819C1839.7362954545451 643.0582768181819 1775.3241136363636 575.9532327272727 1759.201209090909 468.5534363636364L2112.2371545454544 468.5534363636364zM2354.3189409090905 933.1329172727272L2602.5163136363635 933.1329172727272C2760.5684 933.1329172727272 2890.9018045454545 868.6454459090909 2890.9018045454545 703.8970104545455L2890.9018045454545 699.2964281818181C2890.9018045454545 563.3412918181818 2799.803440909091 496.4742090909091 2686.7048636363634 474.5817818181819L2939.349931818182 109.3114181818182L2827.2838545454547 109.3114181818182L2581.5486 467.6809090909092L2454.4715454545453 467.6809090909092L2454.4715454545453 109.3114181818182L2354.3189409090905 109.3114181818182L2354.3189409090905 933.1329172727272zM2609.267281818182 547.1599336363637C2726.9724045454545 547.1599336363637 2790.3520863636363 597.8456581818182 2790.3520863636363 699.2964281818181L2790.3520863636363 703.8970104545455C2790.3520863636363 815.6594299999999 2721.1745136363634 852.5434081818182 2609.267281818182 852.5434081818182L2454.6303909090907 852.5434081818182L2454.6303909090907 547.1599336363637L2609.267281818182 547.1599336363637zM2991.689790909091 404.3039227272727L2991.689790909091 413.5050863636364C2991.689790909091 595.4660468181818 3108.282990909091 722.3786595454545 3274.3568136363638 722.3786595454545C3413.982727272727 722.3786595454545 3545.5074818181815 638.2990536363636 3545.5074818181815 422.7855727272728L3545.5074818181815 391.6126636363637L3090.8893181818185 391.6126636363637C3095.5752863636367 254.5470409090909 3161.3376590909093 178.4787954545456 3284.76125 178.4787954545456C3378.2423090909087 178.4787954545456 3432.408904545455 213.0624818181817 3445.116609090909 283.340340909091L3540.900936363636 283.340340909091C3520.092068181818 162.2974363636364 3419.7806181818178 98.9997681818182 3283.649327272727 98.9997681818182C3112.8895318181817 98.9997681818182 2991.689790909091 218.77355 2991.689790909091 404.3039227272727zM3447.4198772727273 468.5534363636364C3438.2067909090906 593.2450763636364 3373.6357636363637 643.0582768181819 3274.3568136363638 643.0582768181819C3176.2692136363635 643.0582768181819 3110.8245318181816 575.9532327272727 3094.383936363636 468.5534363636364L3447.4198772727273 468.5534363636364zM3629.378336363636 276.4394681818183C3629.378336363636 415.8053772727273 3777.0259909090905 463.0803272727272 3931.6628818181825 463.0803272727272L4018.154699999999 463.0803272727272L4018.154699999999 506.8651772727273C4018.154699999999 602.4462404545454 3981.2229318181817 643.0582768181819 3889.1714909090906 643.0582768181819C3806.094863636364 643.0582768181819 3759.9500090909087 608.4745895454546 3750.736922727273 534.7066318181819L3654.7937454545454 534.7066318181819C3667.4220318181815 671.6136145454545 3777.0259909090905 722.3786595454545 3893.539763636364 722.3786595454545C4010.053536363636 722.3786595454545 4113.939031818182 674.78643 4113.939031818182 506.9445000000001L4113.939031818182 109.3907409090909L4018.154699999999 109.3907409090909L4018.154699999999 185.3796681818182C3973.201190909091 128.9035545454546 3918.955172727273 98.9997681818182 3830.1600818181814 98.9997681818182C3718.173427272727 98.9997681818182 3629.378336363636 153.0962727272727 3629.378336363636 276.4394681818183zM4018.154699999999 320.2243181818183L4018.154699999999 395.1027590909091L3935.078077272726 395.1027590909091C3813.95775909091 395.1027590909091 3725.1626681818175 365.1196545454547 3725.1626681818175 276.1221863636364C3725.1626681818175 213.8556863636364 3755.1051954545446 174.6714136363637 3839.3731681818176 174.6714136363637C3940.8759681818183 175.0680181818182 4018.154699999999 226.8642272727273 4018.154699999999 320.2243181818183zM4234.344540909091 404.3039227272727L4234.344540909091 413.5050863636364C4234.344540909091 597.8456581818182 4365.710445454545 722.3786595454545 4527.415995454546 722.3786595454545C4653.222272727273 722.3786595454545 4770.848 664.7920618181818 4789.512409090909 511.5450818181818L4694.681181818181 511.5450818181818C4679.7496363636365 607.1261431818182 4610.492636363636 643.0582768181819 4527.415995454546 643.0582768181819C4417.812036363636 643.0582768181819 4333.623486363636 555.8058554545455 4333.623486363636 413.7430500000001L4333.623486363636 404.3039227272727C4333.623486363636 256.8473318181819 4414.396840909091 178.4787954545456 4530.910613636363 178.4787954545456C4616.2905 178.4787954545456 4693.569227272727 227.9747136363636 4703.973681818182 325.9353863636364L4792.768772727272 325.9353863636364C4780.061045454546 195.7706363636364 4675.143090909091 98.9997681818182 4529.719268181819 98.9997681818182C4361.262745454545 98.9997681818182 4234.344540909091 217.6630636363638 4234.344540909091 404.3039227272727zM4913.730227272727 1000L5009.514590909091 1000L5009.514590909091 616.3273077272727C5037.233272727272 672.7241 5104.345818181818 722.3786595454545 5203.3865 722.3786595454545C5328.001454545454 722.3786595454545 5415.684590909091 654.4010913636364 5415.684590909091 479.2616863636364L5415.684590909091 109.3907409090909L5319.900272727273 109.3907409090909L5319.900272727273 486.0832409090909C5319.900272727273 592.134590909091 5274.946772727272 639.3302186363637 5178.0505 639.3302186363637C5089.1759999999995 639.3302186363637 5009.594 582.854105909091 5009.594 474.5817818181819L5009.594 109.3114181818182L4913.730227272727 109.3114181818182L4913.730227272727 1000zM5836.865636363636 268.5074272727274C5836.865636363636 407.8733409090909 5984.5926818181815 455.148290909091 6139.150181818182 455.148290909091L6225.721409090908 455.148290909091L6225.721409090908 498.9331409090909C6225.721409090908 594.5142022727273 6188.7896363636355 634.8882772727272 6096.499909090909 634.8882772727272C6013.423318181818 634.8882772727272 5967.278454545454 600.3045904545454 5958.065363636363 526.5366363636363L5862.281045454545 526.5366363636363C5874.750454545454 663.6815763636364 5984.5926818181815 714.4466213636364 6101.106454545455 714.4466213636364C6217.620227272727 714.4466213636364 6321.426318181819 666.8543913636363 6321.426318181819 499.0124590909091L6321.426318181819 101.4587000000001L6226.1185 101.4587000000001L6226.1185 177.4476272727274C6181.085590909091 120.9715181818182 6126.8395909090905 91.0677318181819 6038.044500000001 91.0677318181819C5925.740136363636 91.0677318181819 5836.865636363636 145.1642318181819 5836.865636363636 268.5074272727274zM6226.03909090909 312.2922818181818L6226.03909090909 387.1707227272728L6142.6447727272725 387.1707227272728C6021.524454545454 387.1707227272728 5932.649954545455 357.1876181818182 5932.649954545455 268.1901454545455C5932.649954545455 205.9236454545454 5962.671909090909 166.7393772727272 6046.860454545455 166.7393772727272C6148.442681818182 167.1359772727273 6225.721409090908 218.932190909091 6225.721409090908 312.2922818181818L6226.03909090909 312.2922818181818zM6463.832045454546 892.9968031818182C6463.832045454546 928.0427536363636 6492.279181818181 956.4531097727274 6527.370545454545 956.4531097727274C6562.461909090909 956.4531097727274 6590.909090909091 928.0427536363636 6590.909090909091 892.9968031818182C6590.909090909091 857.9508531818182 6562.461909090909 829.5404968181819 6527.370545454545 829.5404968181819C6492.279181818181 829.5404968181819 6463.832045454546 857.9508531818182 6463.832045454546 892.9968031818182zM6481.146272727273 703.9763309090908L6576.454090909091 703.9763309090908L6576.454090909091 101.1414181818183L6481.146272727273 101.1414181818183L6481.146272727273 703.9763309090908zM5572.942454545454 154.3653954545454C5572.942454545454 189.4113454545454 5601.389636363636 217.8217045454546 5636.481 217.8217045454546C5671.572363636364 217.8217045454546 5700.0195 189.4113454545454 5700.0195 154.3653954545454C5700.0195 119.3194454545455 5671.572363636364 90.909090909091 5636.481 90.909090909091C5601.497681818182 91.1682227272728 5573.201909090909 119.4273454545454 5572.942454545454 154.3653954545454zM876.8893363636363 615.4547836363636C936.3772818181818 341.6408227272728 728.129759090909 97.4926818181818 464.2066045454545 98.7618090909092C407.81616 98.7618090909092 361.8301509090909 98.7618090909092 303.6923986363637 98.7618090909092L6.0143984090909 98.7618090909092C4.0624931272727 98.716340909091 2.2153984454545 99.6418954545455 1.0850903681818 101.2318181818182C-0.0452177071818 102.8217409090909 -0.3111678281818 104.8684545454546 0.3753541118182 106.6938454545455L8.31767 125.730740909091C14.9892153636364 141.1188954545455 26.0290345 166.8186954545454 29.6030766363636 174.7507363636364C30.3513901818182 176.4831727272728 32.0829989545455 177.5836818181819 33.9713503636364 177.52695L176.4564977272727 177.52695C200.6011381818182 177.52695 414.0905895454546 176.5751045454546 447.6071627272728 176.5751045454546C624.8796545454545 176.7337454545455 765.3792227272727 302.5358727272727 783.7259727272727 490.2079000000001C802.0727227272728 677.879925 674.2014363636363 843.8181659090909 497.8026 860.9513686363637C321.4037627272727 878.0845713636363 148.3406995454546 738.2427363636364 131.1852968181818 550.1741081818182C128.8449295454545 525.873359090909 129.3513663636364 501.3828863636364 132.6943372727273 477.1993545454545C133.1101086363636 475.2206363636363 132.5924618181818 473.1608454545454 131.2903581818182 471.6127318181818C129.9882545454546 470.0646136363636 128.0461045454546 469.1998590909091 126.0227918181818 469.2673181818182L53.4300245454545 469.2673181818182C49.7521881818182 469.27075 46.6371986363636 471.9759318181818 46.1230936363636 475.61295C43.5143392727273 494.6975818181818 42.2140673636364 513.9379045454546 42.2313589090909 533.1995454545454C41.1988578636364 785.0417622727273 262.9483177272727 971.4446621363636 521.6295454545455 939.716509090909C696.8506727272727 917.6554568181818 839.1608045454545 787.7625427272727 876.8893363636363 615.4547836363636z" />
|
|
22
|
+
<glyph glyph-name="split_tree"
|
|
23
|
+
unicode="split_tree"
|
|
24
|
+
horiz-adv-x="1000" d="M401.6666666666667 681.6666666666667C411.25 702.5 416.6666666666667 725.4166666666667 416.6666666666667 750C416.6666666666667 842.0833333333334 342.0833333333334 916.6666666666666 250 916.6666666666666C157.9166666666667 916.6666666666666 83.3333333333333 842.0833333333334 83.3333333333333 750C83.3333333333333 657.9166666666666 157.9166666666667 583.3333333333334 250 583.3333333333334C274.5833333333333 583.3333333333334 297.5 588.75 318.3333333333333 598.3333333333333L416.6666666666667 500L318.3333333333333 401.6666666666668C297.5 411.25 274.5833333333333 416.6666666666668 250 416.6666666666668C157.9166666666667 416.6666666666668 83.3333333333333 342.0833333333334 83.3333333333333 250C83.3333333333333 157.9166666666666 157.9166666666667 83.3333333333334 250 83.3333333333334C342.0833333333334 83.3333333333334 416.6666666666667 157.9166666666666 416.6666666666667 250C416.6666666666667 274.5833333333334 411.25 297.5000000000001 401.6666666666667 318.3333333333334L500 416.6666666666668L791.6666666666666 125L916.6666666666666 125L916.6666666666666 166.6666666666668L401.6666666666667 681.6666666666667zM250 666.6666666666667C204.1666666666667 666.6666666666667 166.6666666666667 703.75 166.6666666666667 750C166.6666666666667 796.25 204.1666666666667 833.3333333333334 250 833.3333333333334C295.8333333333333 833.3333333333334 333.3333333333333 796.25 333.3333333333333 750C333.3333333333333 703.75 295.8333333333333 666.6666666666667 250 666.6666666666667zM250 166.6666666666668C204.1666666666667 166.6666666666668 166.6666666666667 203.7500000000001 166.6666666666667 250C166.6666666666667 296.25 204.1666666666667 333.3333333333334 250 333.3333333333334C295.8333333333333 333.3333333333334 333.3333333333333 296.25 333.3333333333333 250C333.3333333333333 203.7500000000001 295.8333333333333 166.6666666666668 250 166.6666666666668zM500 479.1666666666667C488.3333333333333 479.1666666666667 479.1666666666666 488.3333333333334 479.1666666666666 500C479.1666666666666 511.6666666666667 488.3333333333333 520.8333333333334 500 520.8333333333334C511.6666666666666 520.8333333333334 520.8333333333333 511.6666666666667 520.8333333333333 500C520.8333333333333 488.3333333333334 511.6666666666666 479.1666666666667 500 479.1666666666667zM791.6666666666666 875L541.6666666666666 625L625 541.6666666666667L916.6666666666666 833.3333333333334L916.6666666666666 875L791.6666666666666 875zM83.3333333333333 541.6666666666667L166.6666666666667 541.6666666666667L166.6666666666667 458.3333333333334L83.3333333333333 458.3333333333334L83.3333333333333 541.6666666666667zM250 541.6666666666667L291.6666666666667 541.6666666666667L333.3333333333333 500.1877833333334L291.6666666666667 458.3333333333334L250 458.3333333333334L250 541.6666666666667zM708.3333333333333 541.6666666666667L750 541.6666666666667L750 458.3333333333334L708.3333333333333 458.3333333333334L666.6666666666666 499.6793458333334L708.3333333333333 541.6666666666667zM833.3333333333333 541.6666666666667L916.6666666666666 541.6666666666667L916.6666666666666 458.3333333333334L833.3333333333333 458.3333333333334L833.3333333333333 541.6666666666667z" />
|
|
25
|
+
<glyph glyph-name="trash"
|
|
26
|
+
unicode="trash"
|
|
27
|
+
horiz-adv-x="1000" d="M286.4583333333333 256.9444458333334C286.4583333333333 218.75 317.7083333333333 187.5 355.9027779166667 187.5L633.6805541666666 187.5C671.875 187.5 703.125 218.75 703.125 256.9444458333334L703.125 673.61111125L286.4583333333333 673.61111125L286.4583333333333 256.9444458333334zM405.4754766666667 991.65144575L328.9955679166667 897.2066241666666L280.1599308333333 892.0737916666667L170.9029183333333 757.1526179166667L176.0357508333334 708.3169804166666L99.5558420833333 613.87215875L153.5243116666667 570.1693541666666L459.4439458333333 947.9486408333335L405.4754766666667 991.65144575zM646.4949541666666 776.56995125C601.2821708333333 776.56995125 578.6757791666666 776.56995125 578.6757791666666 776.56995125C578.6757791666666 776.56995125 565.5070791666667 764.9958770833334 539.1696791666667 741.8477291666667L489.132575 812.5L392.5626466666667 812.5L310.1739308333333 708.3333333333334L703.125 708.3333333333334L646.4949541666666 776.56995125z" />
|
|
28
|
+
<glyph glyph-name="ungroup"
|
|
29
|
+
unicode="ungroup"
|
|
30
|
+
horiz-adv-x="1000" d="M856.4814849999999 1000L435.1851855 1000C402.0833335 1000 375 972.91666665 375 939.8148145L375 518.5185165C375 485.416665 402.0833335 458.3333299999999 435.1851855 458.3333299999999L856.4814849999999 458.3333299999999C889.583335 458.3333299999999 916.66667 485.416665 916.66667 518.5185165L916.66667 939.8148145C916.66667 972.91666665 889.583335 1000 856.4814849999999 1000zM833.333335 541.6666665L458.3333335 541.6666665L458.3333335 916.6666665L833.333335 916.6666665L833.333335 541.6666665zM291.721344 625L60.1851855 625C27.08333335 625 0 597.9166665 0 564.8148145L0 143.5185150000001C0 110.416665 27.08333335 83.3333299999999 60.1851855 83.3333299999999L481.4814835 83.3333299999999C514.583335 83.3333299999999 541.6666700000001 110.416665 541.6666700000001 143.5185150000001L541.6666700000001 375.0060600000001C520.798365 375.0060600000001 488.1356535 375.0060600000001 458.3333335 375.0060600000001C458.3333335 353.415805 458.3333335 283.9765500000001 458.3333335 166.68828L83.414078 166.68828C83.414078 405.45993 83.414078 530.4527264999999 83.414078 541.6666665C102.3146315 541.6666665 270.8333335 541.6666665 291.721344 541.6666665C291.721344 567.3718915 291.721344 604.73104 291.721344 625z" />
|
|
31
|
+
</font>
|
|
32
|
+
</defs>
|
|
33
|
+
</svg>
|
|
Binary file
|
package/package.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@onereach/font-icons",
|
|
3
|
+
"description": "OneReach custom icon font",
|
|
4
|
+
"version": "0.1.0-beta.3704.0",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "src/index.js",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "node src/index.js"
|
|
9
|
+
},
|
|
10
|
+
"devDependencies": {
|
|
11
|
+
"chalk": "^5.3.0",
|
|
12
|
+
"svg2ttf": "^6.0.3",
|
|
13
|
+
"svgicons2svgfont": "^12.0.0"
|
|
14
|
+
},
|
|
15
|
+
"publishConfig": {
|
|
16
|
+
"access": "public"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: 'or-font-icons';
|
|
4
|
+
font-style: normal;
|
|
5
|
+
font-weight: 400;
|
|
6
|
+
src: url('../dist/fonts/font-icons.ttf') format('truetype');
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.or-font-icons {
|
|
10
|
+
font-family: 'or-font-icons';
|
|
11
|
+
font-weight: normal;
|
|
12
|
+
font-style: normal;
|
|
13
|
+
font-size: 24px; /* Preferred icon size */
|
|
14
|
+
display: inline-block;
|
|
15
|
+
line-height: 1;
|
|
16
|
+
text-transform: none;
|
|
17
|
+
letter-spacing: normal;
|
|
18
|
+
word-wrap: normal;
|
|
19
|
+
white-space: nowrap;
|
|
20
|
+
direction: ltr;
|
|
21
|
+
|
|
22
|
+
/* Support for all WebKit browsers. */
|
|
23
|
+
-webkit-font-smoothing: antialiased;
|
|
24
|
+
/* Support for Safari and Chrome. */
|
|
25
|
+
text-rendering: optimizeLegibility;
|
|
26
|
+
|
|
27
|
+
/* Support for Firefox. */
|
|
28
|
+
-moz-osx-font-smoothing: grayscale;
|
|
29
|
+
|
|
30
|
+
/* Support for IE. */
|
|
31
|
+
font-feature-settings: 'liga';
|
|
32
|
+
}
|
|
33
|
+
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>OneReach custom iconts font</title>
|
|
5
|
+
<link rel="stylesheet" href="fonts.css">
|
|
6
|
+
<style type="text/css">
|
|
7
|
+
body {
|
|
8
|
+
background: #f0f3fb;
|
|
9
|
+
}
|
|
10
|
+
h1 {
|
|
11
|
+
text-align: center;
|
|
12
|
+
font-family: monospace;
|
|
13
|
+
font-weight: 100;
|
|
14
|
+
}
|
|
15
|
+
h1 span.or-font-icons {
|
|
16
|
+
display: inline-block;
|
|
17
|
+
color: #015eb1;
|
|
18
|
+
transform: translateY(4px);
|
|
19
|
+
padding-right: 30px;
|
|
20
|
+
}
|
|
21
|
+
ul {
|
|
22
|
+
margin: 40px auto;
|
|
23
|
+
text-align: center;
|
|
24
|
+
}
|
|
25
|
+
li {
|
|
26
|
+
display: inline-block;
|
|
27
|
+
height: 110px;
|
|
28
|
+
width: 110px;
|
|
29
|
+
margin: 5px;
|
|
30
|
+
vertical-align: top;
|
|
31
|
+
background: #fff;
|
|
32
|
+
border-radius: 4px;
|
|
33
|
+
box-shadow: 0px 0px 5px rgba(0,0,0,.05), 0px 1px 2px rgba(24,28,34,.15);
|
|
34
|
+
}
|
|
35
|
+
li:hover {
|
|
36
|
+
background: #015eb10f;
|
|
37
|
+
}
|
|
38
|
+
span.or-font-icons {
|
|
39
|
+
display: block;
|
|
40
|
+
font-size: 36px;
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
padding-top: 22px;
|
|
43
|
+
}
|
|
44
|
+
span.icon-name {
|
|
45
|
+
display: block;
|
|
46
|
+
padding-top: 24px;
|
|
47
|
+
font-family: monospace;
|
|
48
|
+
}
|
|
49
|
+
</style>
|
|
50
|
+
</head>
|
|
51
|
+
<body>
|
|
52
|
+
<h1><span class="or-font-icons">onereach_ai</span>custom iconts</h1>
|
|
53
|
+
<ul>
|
|
54
|
+
<li>
|
|
55
|
+
<span class="or-font-icons">copy_all</span>
|
|
56
|
+
<span class="icon-name">copy_all</span>
|
|
57
|
+
</li>
|
|
58
|
+
<li>
|
|
59
|
+
<span class="or-font-icons">logs</span>
|
|
60
|
+
<span class="icon-name">logs</span>
|
|
61
|
+
</li>
|
|
62
|
+
<li>
|
|
63
|
+
<span class="or-font-icons">multiselect</span>
|
|
64
|
+
<span class="icon-name">multiselect</span>
|
|
65
|
+
</li>
|
|
66
|
+
<li>
|
|
67
|
+
<span class="or-font-icons">split_tree</span>
|
|
68
|
+
<span class="icon-name">split_tree</span>
|
|
69
|
+
</li>
|
|
70
|
+
<li>
|
|
71
|
+
<span class="or-font-icons">trash</span>
|
|
72
|
+
<span class="icon-name">trash</span>
|
|
73
|
+
</li>
|
|
74
|
+
<li>
|
|
75
|
+
<span class="or-font-icons">ungroup</span>
|
|
76
|
+
<span class="icon-name">ungroup</span>
|
|
77
|
+
</li>
|
|
78
|
+
</ul>
|
|
79
|
+
</body>
|
|
80
|
+
</html>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="19" height="22" viewBox="0 0 19 22" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M14 0H2C0.9 0 0 0.9 0 2V16H2V2H14V0ZM10 6H8V4H10V6ZM14 6H12V4H14V6ZM19 6H16V4H17.002C18.0998 4 19 4.88563 19 6ZM19 10H17V8H19V10ZM19 14H17V12H19V14ZM19 18H17V16H19V18ZM17 22V20H19C19 21.107 18.1025 22 17 22ZM15 22H13V20H15V22ZM11 22H9V20H11V22ZM7 22H5.99528C4.9011 22 4 21.1123 4 20H7V22ZM6 18H4V16H6V18ZM6 14H4V12H6V14ZM6 10H4V8H6V10ZM6 6H4C4 4.89297 4.91167 4 6 4V6Z" />
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
|
2
|
+
<path d="M14.1666667,4.16666667 L12.5,4.16666667 L12.5,2.5 L14.1666667,2.5 L14.1666667,4.16666667 Z M12.5,12.5 L12.5,17.5 L14.4083333,15.5916667 L16.325,17.5 L17.5,16.325 L15.5916667,14.4166667 L17.5,12.5 L12.5,12.5 Z M15.8333333,7.5 L17.5,7.5 L17.5,5.83333333 L15.8333333,5.83333333 L15.8333333,7.5 Z M15.8333333,10.8333333 L17.5,10.8333333 L17.5,9.16666667 L15.8333333,9.16666667 L15.8333333,10.8333333 Z M9.16666667,17.5 L10.8333333,17.5 L10.8333333,15.8333333 L9.16666667,15.8333333 L9.16666667,17.5 Z M5.83333333,4.16666667 L7.5,4.16666667 L7.5,2.5 L5.83333333,2.5 L5.83333333,4.16666667 Z M2.5,14.1666667 L4.16666667,14.1666667 L4.16666667,12.5 L2.5,12.5 L2.5,14.1666667 Z M4.16666667,17.5 L4.16666667,15.8333333 L2.5,15.8333333 C2.5,16.75 3.25,17.5 4.16666667,17.5 Z M15.8333333,2.5 L15.8333333,4.16666667 L17.5,4.16666667 C17.5,3.25 16.75,2.5 15.8333333,2.5 Z M9.16666667,4.16666667 L10.8333333,4.16666667 L10.8333333,2.5 L9.16666667,2.5 L9.16666667,4.16666667 Z M2.5,7.5 L4.16666667,7.5 L4.16666667,5.83333333 L2.5,5.83333333 L2.5,7.5 Z M5.83333333,17.5 L7.5,17.5 L7.5,15.8333333 L5.83333333,15.8333333 L5.83333333,17.5 Z M2.5,10.8333333 L4.16666667,10.8333333 L4.16666667,9.16666667 L2.5,9.16666667 L2.5,10.8333333 Z M2.5,4.16666667 L4.16666667,4.16666667 L4.16666667,2.5 C3.25,2.5 2.5,3.25 2.5,4.16666667 Z"></path>
|
|
3
|
+
<path d="M0 0h20v20H0z" fill="none"/>
|
|
4
|
+
</svg>
|
|
5
|
+
|
|
6
|
+
<!-- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
|
7
|
+
<path d="M14.1666667,4.16666667 L12.5,4.16666667 L12.5,2.5 L14.1666667,2.5 L14.1666667,4.16666667 Z M12.5,12.5 L12.5,17.5 L14.4083333,15.5916667 L16.325,17.5 L17.5,16.325 L15.5916667,14.4166667 L17.5,12.5 L12.5,12.5 Z M15.8333333,7.5 L17.5,7.5 L17.5,5.83333333 L15.8333333,5.83333333 L15.8333333,7.5 Z M15.8333333,10.8333333 L17.5,10.8333333 L17.5,9.16666667 L15.8333333,9.16666667 L15.8333333,10.8333333 Z M9.16666667,17.5 L10.8333333,17.5 L10.8333333,15.8333333 L9.16666667,15.8333333 L9.16666667,17.5 Z M5.83333333,4.16666667 L7.5,4.16666667 L7.5,2.5 L5.83333333,2.5 L5.83333333,4.16666667 Z M2.5,14.1666667 L4.16666667,14.1666667 L4.16666667,12.5 L2.5,12.5 L2.5,14.1666667 Z M4.16666667,17.5 L4.16666667,15.8333333 L2.5,15.8333333 C2.5,16.75 3.25,17.5 4.16666667,17.5 Z M15.8333333,2.5 L15.8333333,4.16666667 L17.5,4.16666667 C17.5,3.25 16.75,2.5 15.8333333,2.5 Z M9.16666667,4.16666667 L10.8333333,4.16666667 L10.8333333,2.5 L9.16666667,2.5 L9.16666667,4.16666667 Z M2.5,7.5 L4.16666667,7.5 L4.16666667,5.83333333 L2.5,5.83333333 L2.5,7.5 Z M5.83333333,17.5 L7.5,17.5 L7.5,15.8333333 L5.83333333,15.8333333 L5.83333333,17.5 Z M2.5,10.8333333 L4.16666667,10.8333333 L4.16666667,9.16666667 L2.5,9.16666667 L2.5,10.8333333 Z M2.5,4.16666667 L4.16666667,4.16666667 L4.16666667,2.5 C3.25,2.5 2.5,3.25 2.5,4.16666667 Z"></path>
|
|
8
|
+
<path d="M0 0h24v24H0z" fill="none"/>
|
|
9
|
+
</svg> -->
|
|
10
|
+
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="135" height="22" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
2
|
+
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
3
|
+
<path d="M22.7040609,6.33801588 L24.8113161,6.33801588 L24.8113161,8.43207399 C25.4193798,7.2000698 26.8923617,6.10766949 29.0747513,6.10766949 C31.8162799,6.10766949 33.7453096,7.60317599 33.7453096,11.4562429 L33.7453096,19.5934037 L31.6380543,19.5934037 L31.6380543,11.3061687 C31.6380543,8.973039 30.6490772,7.93473519 28.5173596,7.93473519 C26.5621202,7.93473519 24.8113161,9.17720967 24.8113161,11.5592008 L24.8113161,19.5951488 L22.7040609,19.5951488 L22.7040609,6.33801588 Z M36.4431555,13.1053137 L36.4431555,12.9028881 C36.4431555,8.89974697 39.0064585,6.10766949 42.66183,6.10766949 C45.7336001,6.10766949 48.6271446,7.95742082 48.6271446,12.6987174 L48.6271446,13.3845214 L38.625545,13.3845214 C38.726889,16.3999651 40.1736612,18.0734665 42.8907275,18.0734665 C44.9455635,18.0734665 46.1389759,17.3126254 46.4185454,15.7665125 L48.5188114,15.7665125 C48.0610163,18.4294564 45.8524171,19.8220051 42.8575286,19.8220051 C39.1078024,19.8220051 36.4431555,17.1869819 36.4431555,13.1053137 Z M46.4692174,11.6918244 C46.2665295,8.94860832 44.8494615,7.85271791 42.66183,7.85271791 C40.4741985,7.85271791 39.0571305,9.32902888 38.7024266,11.6918244 L46.4692174,11.6918244 Z M51.7950167,1.47107582 L57.2553589,1.47107582 C60.7325048,1.47107582 63.5998397,2.88980019 63.5998397,6.51426577 L63.5998397,6.61547858 C63.5998397,9.60649158 61.5956757,11.0775674 59.107507,11.5592008 L64.6656985,19.5951488 L62.2002448,19.5951488 L56.7940692,11.71102 L53.998374,11.71102 L53.998374,19.5951488 L51.7950167,19.5951488 L51.7950167,1.47107582 Z M57.4038802,9.96248146 C59.9933929,9.96248146 61.3877459,8.84739552 61.3877459,6.61547858 L61.3877459,6.51426577 C61.3877459,4.05549254 59.8658393,3.24404502 57.4038802,3.24404502 L54.0018686,3.24404502 L54.0018686,9.96248146 L57.4038802,9.96248146 Z M65.8171754,13.1053137 L65.8171754,12.9028881 C65.8171754,8.89974697 68.3822258,6.10766949 72.0358499,6.10766949 C75.10762,6.10766949 78.0011646,7.95742082 78.0011646,12.6987174 L78.0011646,13.3845214 L67.999565,13.3845214 C68.1026563,16.3999651 69.5494285,18.0734665 72.2647475,18.0734665 C74.3213308,18.0734665 75.5129959,17.3126254 75.7925654,15.7665125 L77.8998206,15.7665125 C77.4420255,18.4294564 75.2351736,19.8220051 72.2402852,19.8220051 C68.4835697,19.8220051 65.8171754,17.1869819 65.8171754,13.1053137 Z M75.8432373,11.6918244 C75.6405494,8.94860832 74.2199868,7.85271791 72.0358499,7.85271791 C69.8779227,7.85271791 68.4381397,9.32902888 68.0764466,11.6918244 L75.8432373,11.6918244 Z M79.8463234,15.9183317 C79.8463234,12.8522817 83.0945718,11.8122328 86.4965834,11.8122328 L88.3994034,11.8122328 L88.3994034,10.8489661 C88.3994034,8.74618271 87.5869045,7.85271791 85.5617728,7.85271791 C83.734087,7.85271791 82.7189002,8.61355903 82.5162123,10.2364541 L80.4054624,10.2364541 C80.6832847,7.22450048 83.0945718,6.10766949 85.6578748,6.10766949 C88.2211778,6.10766949 90.5066587,7.15469854 90.5066587,10.847221 L90.5066587,19.5934037 L88.3994034,19.5934037 L88.3994034,17.9216473 C87.4104262,19.1641218 86.2170138,19.8220051 84.2635218,19.8220051 C81.7998154,19.8220051 79.8463234,18.631882 79.8463234,15.9183317 Z M88.3994034,14.955065 L88.3994034,13.3077393 L86.5717177,13.3077393 C83.9070707,13.3077393 81.9535787,13.9673676 81.9535787,15.9253119 C81.9535787,17.2951749 82.6123143,18.1572289 84.4662097,18.1572289 C86.6992713,18.1485036 88.3994034,17.008987 88.3994034,14.955065 Z M93.1555799,13.1053137 L93.1555799,12.9028881 C93.1555799,8.84739552 96.0456298,6.10766949 99.6031519,6.10766949 C102.37089,6.10766949 104.958656,7.37457464 105.369273,10.7460082 L103.282986,10.7460082 C102.954492,8.64322485 101.430838,7.85271791 99.6031519,7.85271791 C97.1918648,7.85271791 95.3397167,9.77227118 95.3397167,12.8976529 L95.3397167,13.1053137 C95.3397167,16.3493587 97.1167305,18.0734665 99.6800335,18.0734665 C101.558391,18.0734665 103.258523,16.9845563 103.487421,14.8294215 L105.440913,14.8294215 C105.161343,17.693046 102.853148,19.8220051 99.6538239,19.8220051 C95.9477804,19.8220051 93.1555799,17.2114126 93.1555799,13.1053137 Z M108.102065,0 L110.209321,0 L110.209321,8.44079923 C110.819132,7.2000698 112.295608,6.10766949 114.474503,6.10766949 C117.216032,6.10766949 119.145061,7.60317599 119.145061,11.4562429 L119.145061,19.5934037 L117.037806,19.5934037 L117.037806,11.3061687 C117.037806,8.973039 116.048829,7.93473519 113.917111,7.93473519 C111.961872,7.93473519 110.211068,9.17720967 110.211068,11.5592008 L110.211068,19.5951488 L108.102065,19.5951488 L108.102065,0 Z M128.411044,16.0928366 C128.411044,13.0267865 131.661039,11.9867376 135.061304,11.9867376 L136.965871,11.9867376 L136.965871,11.0234709 C136.965871,8.92068755 136.153372,8.0324579 134.122998,8.0324579 C132.295313,8.0324579 131.280126,8.79329901 131.077438,10.416194 L128.970183,10.416194 C129.24451,7.39900532 131.661039,6.28217433 134.224342,6.28217433 C136.787645,6.28217433 139.071379,7.32920339 139.071379,11.0217259 L139.071379,19.7679086 L136.974607,19.7679086 L136.974607,18.0961522 C135.983883,19.3386266 134.790471,19.9965099 132.836979,19.9965099 C130.366283,19.9965099 128.411044,18.8063869 128.411044,16.0928366 Z M136.97286,15.1295698 L136.97286,13.4822441 L135.138185,13.4822441 C132.473538,13.4822441 130.518299,14.1418724 130.518299,16.0998168 C130.518299,17.4696798 131.178782,18.3317337 133.03093,18.3317337 C135.265739,18.3230085 136.965871,17.1834918 136.965871,15.1295698 L136.97286,15.1295698 Z M142.204305,2.35407033 C142.204305,1.58305942 142.830142,0.958031585 143.602152,0.958031585 C144.374162,0.958031585 145,1.58305942 145,2.35407033 C145,3.12508123 144.374162,3.75010907 143.602152,3.75010907 C142.830142,3.75010907 142.204305,3.12508123 142.204305,2.35407033 Z M142.585218,6.51252072 L144.68199,6.51252072 L144.68199,19.7748888 L142.585218,19.7748888 L142.585218,6.51252072 Z M122.604734,18.6039613 C122.604734,17.8329504 123.230572,17.2079225 124.002582,17.2079225 C124.774592,17.2079225 125.400429,17.8329504 125.400429,18.6039613 C125.400429,19.3749722 124.774592,20 124.002582,20 C123.232949,19.9942991 122.610442,19.3725984 122.604734,18.6039613 Z M19.2915654,8.45999476 C20.6003002,14.4839019 16.0188547,19.855161 10.2125453,19.8272402 C8.97195552,19.8272402 7.96026332,19.8272402 6.68123277,19.8272402 L0.132316765,19.8272402 C0.0893748488,19.8282405 0.0487387658,19.8078783 0.0238719881,19.7729 C-0.000994789558,19.7379217 -0.00684569222,19.692894 0.00825779046,19.6527354 L0.18298874,19.2339237 C0.329762738,18.8953843 0.572638759,18.3299887 0.651267686,18.1554838 C0.667730584,18.1173702 0.705825977,18.093159 0.747369708,18.0944071 L3.88204295,18.0944071 C4.41322504,18.0944071 9.10999297,18.1153477 9.84735758,18.1153477 C13.7473524,18.1118576 16.8383429,15.3442108 17.2419714,11.2154262 C17.6455999,7.08664165 14.8324316,3.43600035 10.9516572,3.05906989 C7.07088278,2.68213943 3.26349539,5.7586598 2.88607653,9.89616962 C2.83458845,10.4307861 2.84573006,10.9695765 2.91927542,11.5016142 C2.92842239,11.545146 2.91703416,11.5904614 2.88838788,11.6245199 C2.8597416,11.6585785 2.8170143,11.6776031 2.77250142,11.676119 L1.17546054,11.676119 C1.09454814,11.6760435 1.02601837,11.6165295 1.01470806,11.5365151 C0.957315464,11.1166532 0.928709482,10.6933661 0.929089896,10.26961 C0.906374873,4.72908123 5.78486299,0.628217433 11.47585,1.3262368 C15.3307148,1.81157995 18.4615377,4.66922406 19.2915654,8.45999476 Z" fill-rule="nonzero" fill="black"></path>
|
|
4
|
+
</g>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<svg
|
|
2
|
+
width="24px"
|
|
3
|
+
height="24px"
|
|
4
|
+
viewBox="0 0 24 24"
|
|
5
|
+
version="1.1"
|
|
6
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
8
|
+
>
|
|
9
|
+
<g><rect
|
|
10
|
+
fill="none"
|
|
11
|
+
height="24"
|
|
12
|
+
width="24"
|
|
13
|
+
/></g><g><path
|
|
14
|
+
d="M9.64,7.64 C9.87,7.14 10,6.59 10,6 C10,3.79 8.21,2 6,2 C3.79,2 2,3.79 2,6 C2,8.21 3.79,10 6,10 C6.59,10 7.14,9.87 7.64,9.64 L10,12 L7.64,14.36 C7.14,14.13 6.59,14 6,14 C3.79,14 2,15.79 2,18 C2,20.21 3.79,22 6,22 C8.21,22 10,20.21 10,18 C10,17.41 9.87,16.86 9.64,16.36 L12,14 L19,21 L22,21 L22,20 L9.64,7.64 Z M6,8 C4.9,8 4,7.11 4,6 C4,4.89 4.9,4 6,4 C7.1,4 8,4.89 8,6 C8,7.11 7.1,8 6,8 Z M6,20 C4.9,20 4,19.11 4,18 C4,16.89 4.9,16 6,16 C7.1,16 8,16.89 8,18 C8,19.11 7.1,20 6,20 Z M12,12.5 C11.72,12.5 11.5,12.28 11.5,12 C11.5,11.72 11.72,11.5 12,11.5 C12.28,11.5 12.5,11.72 12.5,12 C12.5,12.28 12.28,12.5 12,12.5 Z M19,3 L13,9 L15,11 L22,4 L22,3 L19,3 Z M2,11 L4,11 L4,13 L2,13 L2,11 Z M6,11 L7,11 L8,11.9954932 L7,13 L6,13 L6,11 Z M17,11 L18,11 L18,13 L17,13 L16,12.0076957 L17,11 Z M20,11 L22,11 L22,13 L20,13 L20,11 Z"
|
|
15
|
+
fill-rule="evenodd"
|
|
16
|
+
/></g>
|
|
17
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
|
2
|
+
<path d="M6.875,17.8333333 C6.875,18.75 7.625,19.5 8.54166667,19.5 L15.2083333,19.5 C16.125,19.5 16.875,18.75 16.875,17.8333333 L16.875,7.83333333 L6.875,7.83333333 L6.875,17.8333333 Z M9.73141144,0.200365302 L7.89589363,2.46704102 L6.72383834,2.590229 L4.10167004,5.82833717 L4.22485802,7.00039247 L2.38934021,9.26706819 L3.68458348,10.3159355 L11.0266547,1.24923262 L9.73141144,0.200365302 Z M15.5158789,5.36232117 C14.4307721,5.36232117 13.8882187,5.36232117 13.8882187,5.36232117 C13.8882187,5.36232117 13.5721699,5.64009895 12.9400723,6.1956545 L11.7391818,4.5 L9.42150352,4.5 L7.44417434,7 L16.875,7 L15.5158789,5.36232117 Z"></path>
|
|
3
|
+
<path d="M0 0h24v24H0z" fill="none"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
|
2
|
+
<path d="M17.1296297,0 L8.70370371,0 C8.04166667,0 7.5,0.541666667 7.5,1.20370371 L7.5,9.62962967 C7.5,10.2916667 8.04166667,10.8333334 8.70370371,10.8333334 L17.1296297,10.8333334 C17.7916667,10.8333334 18.3333334,10.2916667 18.3333334,9.62962967 L18.3333334,1.20370371 C18.3333334,0.541666667 17.7916667,0 17.1296297,0 Z M16.6666667,9.16666667 L9.16666667,9.16666667 L9.16666667,1.66666667 L16.6666667,1.66666667 L16.6666667,9.16666667 Z M5.83442688,7.5 L1.20370371,7.5 C0.541666667,7.5 0,8.04166667 0,8.70370371 L0,17.1296297 C0,17.7916667 0.541666667,18.3333334 1.20370371,18.3333334 L9.62962967,18.3333334 C10.2916667,18.3333334 10.8333334,17.7916667 10.8333334,17.1296297 L10.8333334,12.4998788 C10.4159673,12.4998788 9.76271307,12.4998788 9.16666667,12.4998788 C9.16666667,12.9316839 9.16666667,14.320469 9.16666667,16.6662344 L1.66828156,16.6662344 C1.66828156,11.8908014 1.66828156,9.39094547 1.66828156,9.16666667 C2.04629263,9.16666667 5.41666667,9.16666667 5.83442688,9.16666667 C5.83442688,8.65256217 5.83442688,7.9053792 5.83442688,7.5 Z"></path>
|
|
3
|
+
<path d="M0 0h20v20H0z" fill="none"/>
|
|
4
|
+
</svg>
|
|
5
|
+
|
|
6
|
+
<!-- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
|
7
|
+
<path d="M17.1296297,0 L8.70370371,0 C8.04166667,0 7.5,0.541666667 7.5,1.20370371 L7.5,9.62962967 C7.5,10.2916667 8.04166667,10.8333334 8.70370371,10.8333334 L17.1296297,10.8333334 C17.7916667,10.8333334 18.3333334,10.2916667 18.3333334,9.62962967 L18.3333334,1.20370371 C18.3333334,0.541666667 17.7916667,0 17.1296297,0 Z M16.6666667,9.16666667 L9.16666667,9.16666667 L9.16666667,1.66666667 L16.6666667,1.66666667 L16.6666667,9.16666667 Z M5.83442688,7.5 L1.20370371,7.5 C0.541666667,7.5 0,8.04166667 0,8.70370371 L0,17.1296297 C0,17.7916667 0.541666667,18.3333334 1.20370371,18.3333334 L9.62962967,18.3333334 C10.2916667,18.3333334 10.8333334,17.7916667 10.8333334,17.1296297 L10.8333334,12.4998788 C10.4159673,12.4998788 9.76271307,12.4998788 9.16666667,12.4998788 C9.16666667,12.9316839 9.16666667,14.320469 9.16666667,16.6662344 L1.66828156,16.6662344 C1.66828156,11.8908014 1.66828156,9.39094547 1.66828156,9.16666667 C2.04629263,9.16666667 5.41666667,9.16666667 5.83442688,9.16666667 C5.83442688,8.65256217 5.83442688,7.9053792 5.83442688,7.5 Z"></path>
|
|
8
|
+
<path d="M0 0h24v24H0z" fill="none"/>
|
|
9
|
+
</svg> -->
|
package/src/index.js
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* eslint-disable no-console */
|
|
2
|
+
import fs from 'fs';
|
|
3
|
+
import path from 'path';
|
|
4
|
+
import chalk from 'chalk';
|
|
5
|
+
import svg2ttf from 'svg2ttf';
|
|
6
|
+
import svg2font from 'svgicons2svgfont';
|
|
7
|
+
|
|
8
|
+
const ICONS_BASE_PATH = './src/icons';
|
|
9
|
+
const BUILD_PATH = './dist/fonts';
|
|
10
|
+
const FONT_NAME = 'font-icons';
|
|
11
|
+
const FONT_FILE_NAME = 'font-icons';
|
|
12
|
+
|
|
13
|
+
const fontStream = new svg2font({
|
|
14
|
+
fontName: FONT_NAME,
|
|
15
|
+
fontHeight: 1000,
|
|
16
|
+
normalize: true,
|
|
17
|
+
prependUnicode: true,
|
|
18
|
+
log: () => {},
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
if (!fs.existsSync(BUILD_PATH)) {
|
|
22
|
+
fs.mkdirSync(BUILD_PATH, { recursive: true });
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
fs
|
|
26
|
+
.readdirSync(ICONS_BASE_PATH)
|
|
27
|
+
.filter(file => path.extname(file).toLowerCase() === '.svg')
|
|
28
|
+
.forEach(svgFileName => {
|
|
29
|
+
const svgIcon = fs.createReadStream(`${ICONS_BASE_PATH}/${svgFileName}`);
|
|
30
|
+
svgIcon.metadata = {
|
|
31
|
+
name: path.basename(svgFileName, '.svg'),
|
|
32
|
+
unicode: [path.basename(svgFileName, '.svg')],
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
fontStream.write(svgIcon);
|
|
36
|
+
|
|
37
|
+
console.log(chalk.grey(`${chalk.green('+')} icon ${chalk.white(path.parse(svgFileName).name)} addad`));
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
fontStream
|
|
41
|
+
.pipe(fs.createWriteStream(`${BUILD_PATH}/${FONT_FILE_NAME}.svg`))
|
|
42
|
+
.on('finish', () => {
|
|
43
|
+
const ttf = svg2ttf(fs.readFileSync(`${BUILD_PATH}/${FONT_FILE_NAME}.svg`, 'utf8'), {});
|
|
44
|
+
fs.writeFileSync(`${BUILD_PATH}/${FONT_FILE_NAME}.ttf`, new Buffer.from(ttf.buffer));
|
|
45
|
+
console.log(chalk.green.bold('✔ TTF font successfully created'));
|
|
46
|
+
})
|
|
47
|
+
.on('error', function (err) {
|
|
48
|
+
console.log(chalk.red('✘ error'), err);
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
fontStream.end();
|