aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
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();
});