diff options
author | codecalm <codecalm@gmail.com> | 2020-03-26 23:42:45 +0100 |
---|---|---|
committer | codecalm <codecalm@gmail.com> | 2020-03-26 23:42:45 +0100 |
commit | 93b52fec16cbc03553c6731bd239ac48c8b1014b (patch) | |
tree | 0a2f403022b4365e88f789cd2e29c89188b5e4f4 /gulpfile.js | |
parent | ghost icon fix (diff) | |
download | tabler-icons-93b52fec16cbc03553c6731bd239ac48c8b1014b.tar.xz |
github image preview new size
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gulpfile.js b/gulpfile.js index fa37ce37..31db306d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -127,9 +127,9 @@ const printChangelog = function (newIcons, modifiedIcons, renamedIcons, pretty = } }; -const generateIconsPreview = function (files, destFile, cb, columnsCount = 17, paddingOuter = 5) { +const generateIconsPreview = function (files, destFile, cb, columnsCount = 18, paddingOuter = 3) { - const padding = 29, + const padding = 28, iconSize = 24; const iconsCount = files.length, @@ -368,9 +368,9 @@ gulp.task('icons-stroke', gulp.series('build-jekyll', function (cb) { strokes = ['.5', '1', '1.5', '2', '2.75'], svgFileContent = fs.readFileSync(`icons/${icon}.svg`).toString(), padding = 16, - paddingOuter = 5, + paddingOuter = 3, iconSize = 32, - width = 882, + width = 914, height = iconSize + paddingOuter * 2; let svgContentSymbols = '', |