diff options
author | codecalm <codecalm@gmail.com> | 2020-03-06 00:48:09 +0100 |
---|---|---|
committer | codecalm <codecalm@gmail.com> | 2020-03-06 00:48:09 +0100 |
commit | b22a0ece579366abf640c14812750a8b24503dd2 (patch) | |
tree | dc6736f3d335ece19974862e08f9b73d18bcf178 /gulpfile.js | |
parent | icons readme fixes (diff) | |
download | tabler-icons-b22a0ece579366abf640c14812750a8b24503dd2.tar.xz |
urgent icon
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gulpfile.js b/gulpfile.js index bc6c09cf..ff3c20bd 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -66,11 +66,7 @@ gulp.task('icons-stroke', function (cb) { svgContentIcons = '', x = paddingOuter; - console.log('width', width); - strokes.forEach(function (stroke) { - console.log('stroke', stroke); - let svgFileContentStroked = svgFileContent .replace('<svg xmlns="http://www.w3.org/2000/svg"', `<symbol id="icon-${stroke}"`) .replace(' width="24" height="24"', '') @@ -87,7 +83,6 @@ gulp.task('icons-stroke', function (cb) { const svgContent = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 ${width} ${height}" width="${width}" height="${height}" style="color: #354052"><rect x="0" y="0" width="${width}" height="${height}" fill="#fff"></rect>\n${svgContentSymbols}\n${svgContentIcons}\n</svg>`; fs.writeFileSync('icons-stroke.svg', svgContent); - cb(); }); |