From 3ac74aa534365858310197c8e4c8990a06158194 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Pichon?= Date: Tue, 8 Oct 2019 12:57:09 +0200 Subject: [PATCH] fixing class selector, publishing version 0.0.2 --- build.js | 4 +- fonts/PixelIcons.css | 10 +- fonts/PixelIcons.eot | Bin 6216 -> 6216 bytes fonts/PixelIcons.ttf | Bin 6040 -> 6040 bytes fonts/PixelIcons.woff | Bin 1588 -> 1588 bytes fonts/PixelIcons.woff2 | Bin 1016 -> 1016 bytes package.json | 2 +- svg/chevron-left.svg | 128 +++++++++++----------- svg/chevron-right.svg | 128 +++++++++++----------- svg/code.svg | 60 +++++------ svg/eye.svg | 122 ++++++++++----------- svg/home.svg | 160 +++++++++++++-------------- svg/internet-explorer.svg | 222 +++++++++++++++++++------------------- 13 files changed, 418 insertions(+), 418 deletions(-) diff --git a/build.js b/build.js index 39119e3..18435f0 100644 --- a/build.js +++ b/build.js @@ -70,7 +70,7 @@ async function generateSvg (name, src, dest) { colors.push(style); index = colors.indexOf(style); } - svgContent += `\t\n`; + svgContent += `\t\n`; } } } @@ -81,7 +81,7 @@ async function generateSvg (name, src, dest) { } svgContent += '\t}\n'; for (let k = 0; k < colors.length; k++) { - svgContent += `\t.color-${k} { fill: var(--pixel-icon-${name}-color-${k}); }\n`; + svgContent += `\t.pixel-icon-${name}.color-${k} { fill: var(--pixel-icon-${name}-color-${k}); }\n`; } svgContent += '\t\n'; fs.writeFileSync(dest, svgContent); diff --git a/fonts/PixelIcons.css b/fonts/PixelIcons.css index f325f76..bb9f7b1 100644 --- a/fonts/PixelIcons.css +++ b/fonts/PixelIcons.css @@ -1,10 +1,10 @@ @font-face { font-family: "PixelIcons"; - src: url("PixelIcons.eot?4e992db1a25a22e2c72b23a6e9a5d02f?#iefix") format("embedded-opentype"), -url("PixelIcons.woff2?4e992db1a25a22e2c72b23a6e9a5d02f") format("woff2"), -url("PixelIcons.woff?4e992db1a25a22e2c72b23a6e9a5d02f") format("woff"), -url("PixelIcons.ttf?4e992db1a25a22e2c72b23a6e9a5d02f") format("truetype"), -url("PixelIcons.svg?4e992db1a25a22e2c72b23a6e9a5d02f#PixelIcons") format("svg"); + src: url("PixelIcons.eot?38b8ec76bbcc3d22b04e3b70cade3d4a?#iefix") format("embedded-opentype"), +url("PixelIcons.woff2?38b8ec76bbcc3d22b04e3b70cade3d4a") format("woff2"), +url("PixelIcons.woff?38b8ec76bbcc3d22b04e3b70cade3d4a") format("woff"), +url("PixelIcons.ttf?38b8ec76bbcc3d22b04e3b70cade3d4a") format("truetype"), +url("PixelIcons.svg?38b8ec76bbcc3d22b04e3b70cade3d4a#PixelIcons") format("svg"); } .pi { diff --git a/fonts/PixelIcons.eot b/fonts/PixelIcons.eot index bcec853ed8a3c0cd99f237203d1eb2c2b2c3c9d9..11d8ac6ef89e8b3264294e6b393742cd94267777 100644 GIT binary patch delta 51 zcmX?MaKd1M4b%L+6YY*Lm3B{NVVowlcYZv-%~u9)hG`5yaPyG#HW;evr+`&0aQg3m;e9( delta 54 zcmV-60LlNf473c8jsj`#v5=nwBNf*1{5D@1xEZDaMHp@#5`BS8GxPu<0|N&G6Nm!< MF8m5Tvr+`&0X@h($ diff --git a/fonts/PixelIcons.woff2 b/fonts/PixelIcons.woff2 index 1956c3ddca0c9a73d7914a160efee105085fc1de..547e2ac11d501afe292aa18fdb0c3f83abcd9f82 100644 GIT binary patch delta 946 zcmV;j15Nz+2lxk&RDWgO5aR>xU@!n4D0rUV&z<|7i%Vk1UxMkTqUYmTSJ1XjJ5j z*OD6=P|q(YrsnLWS)~i#yzJBKgf`?MXPizVbE}f3Ygy;iVlk&V@M7I+xpAOd4P(3E zpeG!3D}PVkf_c!`dNG*eAz)a!*`{Y(oxAxFWi4eMNxmGjoIrK#c(nl1RtD$*{7m&4 z(Xn`b2h8$nsn$ZwS5dz$6%;*CG0T;*70*&$re+zMuB#T(I&LWPs11B{mU5z=QRD>S zKh_8N>cr#W^3H!yND3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pv1kg}&9P-G9` zKh_6%>l|!H%RB!;Hc5cj&(bf1)2RutcC`YMuzwp$LuVEEjHyk9ZI*j>kHPe^6)n$D zbp`yQPEc_`ROh2lY@-xn2c;UjWK)klln$&kv$a_^#h`J-$wFNTLtu+Mu8B>dcj5qj zV3#sJi3jwDl`;SKlubx_sD`L6GcxTH7Cn{lhvt5rH{`Y=BLdg|ajEBMkQ0ktk&Z;$ zFMmR7bCEM?aYn|XQY0Ft8Z+yb=xeq-FF!oeZblj&RECgpDMO6b6IAF?63m)@lea5j zpH*1DAi%{JC7m-PtV-B5>7pt%a;LWX3L#ck<%HeEhz{9Vynv7>P3XcJx~qn=b&X3I zqpPunr+K-QxjCzPIPw{Ok<$r$vBVZfTr2U!mw>{}nz}+ZXdN6jiWqsKB#q-Z!ikK! UxR{mLXEF{~MQIn_hAGS~0CP>p+yDRo diff --git a/package.json b/package.json index d53beff..8cce3ff 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@pixel/icons", - "version": "0.0.1", + "version": "0.0.2", "scripts": { "build": "node build.js", "lint": "eslint .", diff --git a/svg/chevron-left.svg b/svg/chevron-left.svg index 9cd001f..7d53a8d 100644 --- a/svg/chevron-left.svg +++ b/svg/chevron-left.svg @@ -1,72 +1,72 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/svg/chevron-right.svg b/svg/chevron-right.svg index 7ef993b..29c5a07 100644 --- a/svg/chevron-right.svg +++ b/svg/chevron-right.svg @@ -1,72 +1,72 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/svg/code.svg b/svg/code.svg index 062b49c..94f85d4 100644 --- a/svg/code.svg +++ b/svg/code.svg @@ -1,38 +1,38 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/svg/eye.svg b/svg/eye.svg index fa87d45..f0c4ca9 100644 --- a/svg/eye.svg +++ b/svg/eye.svg @@ -1,69 +1,69 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/svg/home.svg b/svg/home.svg index 4e92088..c4c4c13 100644 --- a/svg/home.svg +++ b/svg/home.svg @@ -1,88 +1,88 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/svg/internet-explorer.svg b/svg/internet-explorer.svg index a80753d..708a27d 100644 --- a/svg/internet-explorer.svg +++ b/svg/internet-explorer.svg @@ -1,119 +1,119 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file