From e59e730062077460fddf214b6e69b3afa315c152 Mon Sep 17 00:00:00 2001 From: codecalm Date: Sun, 1 Mar 2020 18:16:09 +0100 Subject: home icon --- _icons/home.svg | 7 +++ gulpfile.js | 8 +-- icons.svg | 189 ++++++++++++++++++++++++++++---------------------------- 3 files changed, 107 insertions(+), 97 deletions(-) create mode 100644 _icons/home.svg diff --git a/_icons/home.svg b/_icons/home.svg new file mode 100644 index 0000000..fd24220 --- /dev/null +++ b/_icons/home.svg @@ -0,0 +1,7 @@ +--- +--- + + + + + diff --git a/gulpfile.js b/gulpfile.js index 07a95de..7e858bc 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -6,10 +6,10 @@ const gulp = require('gulp'), gulp.task('icons-sprite', function (cb) { - const columnsCount = 10, - padding = 24, + const columnsCount = 20, + padding = 16, paddingOuter = 49, - iconSize = 48; + iconSize = 24; glob("_site/icons/*.svg", {}, function (er, files) { const iconsCount = files.length, @@ -44,7 +44,7 @@ gulp.task('icons-sprite', function (cb) { } }); - const svgContent = `\n${svgContentSymbols}\n${svgContentIcons}\n`; + const svgContent = `\n${svgContentSymbols}\n${svgContentIcons}\n`; fs.writeFileSync('icons.svg', svgContent); cb(); diff --git a/icons.svg b/icons.svg index fa350b1..83f8c6f 100644 --- a/icons.svg +++ b/icons.svg @@ -1,4 +1,4 @@ - + @@ -131,6 +131,8 @@ + + @@ -197,97 +199,98 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.1