From 4c5176f00fda4f496f35f73f460ea1e876cffefa Mon Sep 17 00:00:00 2001 From: codecalm Date: Wed, 19 Aug 2020 22:22:14 +0200 Subject: sketch files fix #27 --- gulpfile.js | 2 +- icons/brand-google.svg | 2 +- src/_icons/brand-dribbble.svg | 4 ++-- src/_icons/brand-github.svg | 2 +- src/_icons/brand-google.svg | 2 +- src/_icons/brand-paypal.svg | 2 +- src/_icons/hexagon.svg | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 6f55b35e..c003943f 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -415,7 +415,7 @@ gulp.task('optimize', function (cb) { .replace(/\s?\/>/g, ' />') .replace(/\n\s*<(line|circle|path|polyline|rect)/g, "\n <$1") .replace(/polyline points="([0-9.]+)\s([0-9.]+)\s([0-9.]+)\s([0-9.]+)"/g, 'line x1="$1" y1="$2" x2="$3" y2="$4"') - .replace(/a\s?([0-9.]+)\s([0-9.]+)\s([0-9.]+)\s?([0-1])\s?([0-1])\s?(-?[0-9.]+)\s?(-?[0-9.]+)/g, 'a$1 $2 $3 $4 $5 $6 $7') + .replace(/([Aa])\s?([0-9.]+)\s([0-9.]+)\s([0-9.]+)\s?([0-1])\s?([0-1])\s?(-?[0-9.]+)\s?(-?[0-9.]+)/gi, '$1$2 $3 $4 $5 $6 $7 $8') .replace(/\n\n+/g, "\n") .replace(/ - + diff --git a/src/_icons/brand-dribbble.svg b/src/_icons/brand-dribbble.svg index cf3ec883..0ca72771 100644 --- a/src/_icons/brand-dribbble.svg +++ b/src/_icons/brand-dribbble.svg @@ -3,7 +3,7 @@ category: Brand --- - + - + diff --git a/src/_icons/brand-github.svg b/src/_icons/brand-github.svg index 07c7f686..78aa51d2 100644 --- a/src/_icons/brand-github.svg +++ b/src/_icons/brand-github.svg @@ -2,5 +2,5 @@ category: Brand --- - + diff --git a/src/_icons/brand-google.svg b/src/_icons/brand-google.svg index af0e4a99..e0011ab3 100644 --- a/src/_icons/brand-google.svg +++ b/src/_icons/brand-google.svg @@ -2,5 +2,5 @@ category: Brand --- - + diff --git a/src/_icons/brand-paypal.svg b/src/_icons/brand-paypal.svg index 4b59824f..e74e52b2 100644 --- a/src/_icons/brand-paypal.svg +++ b/src/_icons/brand-paypal.svg @@ -2,5 +2,5 @@ category: Brand --- - + diff --git a/src/_icons/hexagon.svg b/src/_icons/hexagon.svg index 820b5839..19d929bf 100644 --- a/src/_icons/hexagon.svg +++ b/src/_icons/hexagon.svg @@ -1,5 +1,5 @@ --- --- - + -- cgit v1.2.1