aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authorcodecalm <codecalm@gmail.com>2020-03-06 00:48:09 +0100
committercodecalm <codecalm@gmail.com>2020-03-06 00:48:09 +0100
commitb22a0ece579366abf640c14812750a8b24503dd2 (patch)
treedc6736f3d335ece19974862e08f9b73d18bcf178 /gulpfile.js
parenticons readme fixes (diff)
downloadtabler-icons-b22a0ece579366abf640c14812750a8b24503dd2.tar.xz
urgent icon
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/gulpfile.js b/gulpfile.js
index bc6c09c..ff3c20b 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();
});