aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authorcodecalm <codecalm@gmail.com>2020-03-22 17:38:00 +0100
committercodecalm <codecalm@gmail.com>2020-03-22 17:38:00 +0100
commitdc4160fbebef1b3ae91fd114d4b0bd3be403b690 (patch)
tree81b3c443c0ca4f80bdade1e320db9a9fc557f375 /gulpfile.js
parentchangelog format fix (diff)
downloadtabler-icons-dc4160fbebef1b3ae91fd114d4b0bd3be403b690.tar.xz
gulp changelog image generator fix
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 4dc72413..31205f83 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -122,10 +122,9 @@ const printChangelog = function (newIcons, modifiedIcons, renamedIcons, pretty =
}
};
-const generateIconsPreview = function(files, destFile, cb, columnsCount = 17) {
+const generateIconsPreview = function(files, destFile, cb, columnsCount = 17, paddingOuter = 5) {
const padding = 29,
- paddingOuter = 5,
iconSize = 24;
const iconsCount = files.length,
@@ -366,7 +365,7 @@ gulp.task('changelog-image', function (cb) {
});
if(newIcons.length > 0) {
- generateIconsPreview(newIcons, `packages/tabler-icons-${newVersion}.svg`, cb, 6);
+ generateIconsPreview(newIcons, `packages/tabler-icons-${newVersion}.svg`, cb, 6, 24);
} else {
cb();
}