From 4423077d5448b5224b5dc7d36b4339a5f39c88b0 Mon Sep 17 00:00:00 2001 From: codecalm Date: Thu, 5 Mar 2020 23:53:38 +0100 Subject: icons readme fixes --- gulpfile.js | 12 +- icons-stroke.svg | 12 +- icons.svg | 552 +++++++++++++++++++++++++++---------------------------- 3 files changed, 288 insertions(+), 288 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 3294b79d..bc6c09cf 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -6,9 +6,9 @@ const gulp = require('gulp'), gulp.task('icons-sprite', function (cb) { - const columnsCount = 16, - padding = 30, - paddingOuter = 0, + const columnsCount = 17, + padding = 29, + paddingOuter = 5, iconSize = 24; glob("_site/icons/*.svg", {}, function (er, files) { @@ -56,9 +56,9 @@ gulp.task('icons-stroke', function (cb) { const icon = "disabled", strokes = ['.5', '1', '1.5', '2', '2.75'], svgFileContent = fs.readFileSync(`_site/icons/tabler-${icon}.svg`).toString(), - padding = 32, - paddingOuter = 0, - iconSize = 128, + padding = 16, + paddingOuter = 5, + iconSize = 64, width = (strokes.length * (iconSize + padding) - padding) + paddingOuter * 2, height = iconSize + paddingOuter * 2; diff --git a/icons-stroke.svg b/icons-stroke.svg index 7740e40e..e91bfe86 100644 --- a/icons-stroke.svg +++ b/icons-stroke.svg @@ -1,4 +1,4 @@ - + @@ -10,10 +10,10 @@ - - - - - + + + + + \ No newline at end of file diff --git a/icons.svg b/icons.svg index 9789fda0..e8e8de27 100644 --- a/icons.svg +++ b/icons.svg @@ -1,4 +1,4 @@ - + @@ -550,280 +550,280 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.1