diff options
author | codecalm <codecalm@gmail.com> | 2020-03-05 23:53:38 +0100 |
---|---|---|
committer | codecalm <codecalm@gmail.com> | 2020-03-05 23:53:38 +0100 |
commit | 4423077d5448b5224b5dc7d36b4339a5f39c88b0 (patch) | |
tree | 718d7ba9b801a58a3088b30edb757be0a3549f42 /gulpfile.js | |
parent | icons readme fixes (diff) | |
download | tabler-icons-4423077d5448b5224b5dc7d36b4339a5f39c88b0.tar.xz |
icons readme fixes
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gulpfile.js b/gulpfile.js index 3294b79d..bc6c09cf 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -6,9 +6,9 @@ const gulp = require('gulp'), gulp.task('icons-sprite', function (cb) { - const columnsCount = 16, - padding = 30, - paddingOuter = 0, + const columnsCount = 17, + padding = 29, + paddingOuter = 5, iconSize = 24; glob("_site/icons/*.svg", {}, function (er, files) { @@ -56,9 +56,9 @@ gulp.task('icons-stroke', function (cb) { const icon = "disabled", strokes = ['.5', '1', '1.5', '2', '2.75'], svgFileContent = fs.readFileSync(`_site/icons/tabler-${icon}.svg`).toString(), - padding = 32, - paddingOuter = 0, - iconSize = 128, + padding = 16, + paddingOuter = 5, + iconSize = 64, width = (strokes.length * (iconSize + padding) - padding) + paddingOuter * 2, height = iconSize + paddingOuter * 2; |