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 --- .github/icons-stroke.png | Bin 7714 -> 7658 bytes .github/icons-stroke.svg | 12 +- .github/icons.png | Bin 239528 -> 235553 bytes .github/icons.svg | 824 +++++++++++++++++++++++------------------------ gulpfile.js | 8 +- 5 files changed, 422 insertions(+), 422 deletions(-) diff --git a/.github/icons-stroke.png b/.github/icons-stroke.png index 54511056..a0d50a02 100644 Binary files a/.github/icons-stroke.png and b/.github/icons-stroke.png differ diff --git a/.github/icons-stroke.svg b/.github/icons-stroke.svg index a85315f6..f3696f2b 100644 --- a/.github/icons-stroke.svg +++ b/.github/icons-stroke.svg @@ -1,13 +1,13 @@ - - + + - + - + - + - + diff --git a/.github/icons.png b/.github/icons.png index d4539fc5..d955ef52 100644 Binary files a/.github/icons.png and b/.github/icons.png differ diff --git a/.github/icons.svg b/.github/icons.svg index 7e9ccff9..2c318aa7 100644 --- a/.github/icons.svg +++ b/.github/icons.svg @@ -1,4 +1,4 @@ - + \ No newline at end of file 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 = '', -- cgit v1.2.1