Browse Source

Merge branches 'dev' and 'master' of https://github.com/tabler/tabler-icons

codecalm 4 years ago
parent
commit
b8963b9235

+ 3 - 3
gulpfile.js

@@ -418,13 +418,13 @@ gulp.task('optimize', function (cb) {
 				.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(/<path d="M([0-9.]*) ([0-9.]*)l([-0-9.]*) ([-0-9.]*)"/g, function(f, r1, r2, r3, r4){
+				.replace(/<path d="M([0-9.]*) ([0-9.]*)l\s?([-0-9.]*) ([-0-9.]*)"/g, function(f, r1, r2, r3, r4){
 					return `<line x1="${r1}" y1="${r2}" x2="${addFloats(r1, r3)}" y2="${addFloats(r2, r4)}"`;
 				})
-				.replace(/<path d="M([0-9.]*) ([0-9.]*)v([0-9.]*)"/g, function(f, r1, r2, r3){
+				.replace(/<path d="M([0-9.]*) ([0-9.]*)v\s?([0-9.]*)"/g, function(f, r1, r2, r3){
 					return `<line x1="${r1}" y1="${r2}" x2="${r1}" y2="${addFloats(r2, r3)}"`;
 				})
-				.replace(/<path d="M([0-9.]*) ([0-9.]*)h([0-9.]*)"/g, function(f, r1, r2, r3){
+				.replace(/<path d="M([0-9.]*) ([0-9.]*)h\s?([0-9.]*)"/g, function(f, r1, r2, r3){
 					return `<line x1="${r1}" y1="${r2}" x2="${addFloats(r1, r3)}" y2="${r2}"`;
 				});
 

+ 1 - 1
src/_icons/bike.svg

@@ -1,6 +1,6 @@
 ---
 tags: [cycling, bicycle, sport, wheel]
-category: Vehicles
+category: Sport
 ---
 <svg>
   <circle cx="5" cy="18" r="3" />

+ 9 - 0
src/_icons/caravan.svg

@@ -0,0 +1,9 @@
+---
+category: Vehicles
+---
+<svg>
+  <circle cx="11" cy="17" r="2" />
+  <path d="M21 17h-8" />
+  <path d="M9 17h-5a1 1 0 0 1 -1 -1v-9a2 2 0 0 1 2 -2h10l4 4v8" />
+  <rect x="6" y="8" width="6" height="4" rx="1" />
+</svg>

+ 10 - 0
src/_icons/gas-station.svg

@@ -0,0 +1,10 @@
+---
+category: Vehicles
+---
+<svg>
+  <path d="M13 11h1a2 2 0 0 1 2 2v3a1.5 1.5 0 0 0 3 0v-7l-3 -3" />
+  <line x1="4" y1="19" x2="14" y2="19" />
+  <line x1="5" y1="11" x2="13" y2="11" />
+  <path d="M5 19v-12a2 2 0 0 1 2 -2h4a2 2 0 0 1 2 2v12" />
+  <path d="M17 7v1a1 1 0 0 0 1 1h1" />
+</svg>

+ 15 - 0
src/_icons/keyboard-hide.svg

@@ -0,0 +1,15 @@
+---
+tags: [computer, laptop, device, type]
+category: Devices
+---
+<svg>
+  <rect x="2" y="3" width="20" height="12" rx="2" />
+  <line x1="6" y1="7" x2="6" y2="7" />
+  <line x1="10" y1="7" x2="10" y2="7" />
+  <line x1="14" y1="7" x2="14" y2="7" />
+  <line x1="18" y1="7" x2="18" y2="7" />
+  <line x1="6" y1="11" x2="6" y2="11.01" />
+  <line x1="18" y1="11" x2="18" y2="11.01" />
+  <line x1="10" y1="11" x2="14" y2="11" />
+  <path d="M10 21l2 -2l2 2" />
+</svg>

+ 15 - 0
src/_icons/keyboard-show.svg

@@ -0,0 +1,15 @@
+---
+tags: [computer, laptop, device, type]
+category: Devices
+---
+<svg>
+  <rect x="2" y="3" width="20" height="12" rx="2" />
+  <line x1="6" y1="7" x2="6" y2="7" />
+  <line x1="10" y1="7" x2="10" y2="7" />
+  <line x1="14" y1="7" x2="14" y2="7" />
+  <line x1="18" y1="7" x2="18" y2="7" />
+  <line x1="6" y1="11" x2="6" y2="11.01" />
+  <line x1="18" y1="11" x2="18" y2="11.01" />
+  <line x1="10" y1="11" x2="14" y2="11" />
+  <path d="M10 19l2 2l2 -2" />
+</svg>

+ 9 - 8
src/_icons/keyboard.svg

@@ -1,13 +1,14 @@
 ---
 tags: [computer, laptop, device, type]
+category: Devices
 ---
 <svg>
-  <rect x="3" y="4" width="18" height="16" rx="2" />
-  <line x1="7" y1="8" x2="7" y2="8.01" />
-  <line x1="12" y1="8" x2="12" y2="8.01" />
-  <line x1="17" y1="8" x2="17" y2="8.01" />
-  <line x1="7" y1="12" x2="7" y2="12.01" />
-  <line x1="12" y1="12" x2="12" y2="12.01" />
-  <line x1="17" y1="12" x2="17" y2="12.01" />
-  <line x1="7" y1="16" x2="17" y2="16" />
+  <rect x="2" y="6" width="20" height="12" rx="2" />
+  <line x1="6" y1="10" x2="6" y2="10" />
+  <line x1="10" y1="10" x2="10" y2="10" />
+  <line x1="14" y1="10" x2="14" y2="10" />
+  <line x1="18" y1="10" x2="18" y2="10" />
+  <line x1="6" y1="14" x2="6" y2="14.01" />
+  <line x1="18" y1="14" x2="18" y2="14.01" />
+  <line x1="10" y1="14" x2="14" y2="14" />
 </svg>

+ 9 - 0
src/_icons/mars.svg

@@ -0,0 +1,9 @@
+---
+category: Symbols
+---
+<svg>
+  <circle cx="10" cy="14" r="5" />
+  <line x1="19" y1="5" x2="13.6" y2="10.4" />
+  <path d="M19 5h-5" />
+  <line x1="19" y1="5" x2="19" y2="10" />
+</svg>

+ 8 - 0
src/_icons/page-break.svg

@@ -0,0 +1,8 @@
+---
+---
+<svg>
+  <path d="M14 3v4a1 1 0 0 0 1 1h4" />
+  <path d="M19 18v1a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-1" />
+  <path d="M3 14h3m4.5 0h3m4.5 0h3" />
+  <path d="M5 10v-5a2 2 0 0 1 2 -2h7l5 5v2" />
+</svg>

+ 9 - 0
src/_icons/run.svg

@@ -0,0 +1,9 @@
+---
+category: Sport
+---
+<svg>
+  <circle cx="13" cy="4" r="1" />
+  <path d="M4 17l5 1l.75 -1.5" />
+  <path d="M15 21l0 -4l-4 -3l1 -6" />
+  <path d="M7 12l0 -3l5 -1l3 3l3 1" />
+</svg>

Some files were not shown because too many files changed in this diff