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 bcec853..11d8ac6 100644 Binary files a/fonts/PixelIcons.eot and b/fonts/PixelIcons.eot differ diff --git a/fonts/PixelIcons.ttf b/fonts/PixelIcons.ttf index 3f1b3ad..cee38a1 100644 Binary files a/fonts/PixelIcons.ttf and b/fonts/PixelIcons.ttf differ diff --git a/fonts/PixelIcons.woff b/fonts/PixelIcons.woff index 049460c..2a2746d 100644 Binary files a/fonts/PixelIcons.woff and b/fonts/PixelIcons.woff differ diff --git a/fonts/PixelIcons.woff2 b/fonts/PixelIcons.woff2 index 1956c3d..547e2ac 100644 Binary files a/fonts/PixelIcons.woff2 and b/fonts/PixelIcons.woff2 differ 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