diff --git a/.github/icons-dark.png b/.github/icons-dark.png index cc7327ef6..3f5e908e3 100644 Binary files a/.github/icons-dark.png and b/.github/icons-dark.png differ diff --git a/.github/icons-dark.svg b/.github/icons-dark.svg index cc46b1022..364c1e2cf 100644 --- a/.github/icons-dark.svg +++ b/.github/icons-dark.svg @@ -1,4 +1,4 @@ - + diff --git a/.github/icons-dark@2x.png b/.github/icons-dark@2x.png index 2bcd184ce..17f41d608 100644 Binary files a/.github/icons-dark@2x.png and b/.github/icons-dark@2x.png differ diff --git a/gulpfile.js b/gulpfile.js index 91b8ff0ab..342fd76b6 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -167,7 +167,8 @@ const printChangelog = function(newIcons, modifiedIcons, renamedIcons, pretty = const generateIconsPreview = function(files, destFile, cb, { columnsCount = 19, paddingOuter = 7, - color = '#354052' + color = '#354052', + background = '#fff' } = {}) { const padding = 20, @@ -205,7 +206,7 @@ const generateIconsPreview = function(files, destFile, cb, { } }) - const svgContent = `\n${svgContentSymbols}\n${svgContentIcons}\n` + const svgContent = `\n${svgContentSymbols}\n${svgContentIcons}\n` fs.writeFileSync(destFile, svgContent) createScreenshot(destFile) @@ -451,7 +452,8 @@ gulp.task('icons-preview', (cb) => { glob('icons/*.svg', {}, function(er, files) { generateIconsPreview(files, '.github/icons.svg', cb) generateIconsPreview(files, '.github/icons-dark.svg', cb, { - color: '#ffffff' + color: '#ffffff', + background: 'transparent' }) }) })