From 93b52fec16cbc03553c6731bd239ac48c8b1014b Mon Sep 17 00:00:00 2001 From: codecalm Date: Thu, 26 Mar 2020 23:42:45 +0100 Subject: github image preview new size --- gulpfile.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gulpfile.js') diff --git a/gulpfile.js b/gulpfile.js index fa37ce3..31db306 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 = '', -- cgit v1.2.1