diff options
author | codecalm <codecalm@gmail.com> | 2020-09-26 19:23:29 +0200 |
---|---|---|
committer | codecalm <codecalm@gmail.com> | 2020-09-26 19:23:29 +0200 |
commit | 44085859a93b8a90924529547b2123cb1da871c2 (patch) | |
tree | 0fa5ab0c7d3b76fa98fd71db383d5efef0105bad | |
parent | `stars` icon (diff) | |
download | tabler-icons-44085859a93b8a90924529547b2123cb1da871c2.tar.xz |
4 new icons: `box-3d`, `box-seam`, `vector-beizer-2`, `vector-beizer`
-rw-r--r-- | gulpfile.js | 4 | ||||
-rw-r--r-- | src/_icons/box-3d.svg | 12 | ||||
-rw-r--r-- | src/_icons/box-seam.svg | 10 | ||||
-rw-r--r-- | src/_icons/vector-beizer-2.svg | 12 | ||||
-rw-r--r-- | src/_icons/vector-beizer.svg | 14 |
5 files changed, 50 insertions, 2 deletions
diff --git a/gulpfile.js b/gulpfile.js index d2896f8f..892981bc 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -423,10 +423,10 @@ gulp.task('optimize', function (cb) { .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\s?([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\s?([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}"`; }) .replace(/<path d="([^"]+)"/g, function (f, r1) { diff --git a/src/_icons/box-3d.svg b/src/_icons/box-3d.svg new file mode 100644 index 00000000..f912a9e6 --- /dev/null +++ b/src/_icons/box-3d.svg @@ -0,0 +1,12 @@ +--- +tags: [cube, app, application, package, container] +--- +<svg> + <polyline points="12 3 20 7.5 20 16.5 12 21 4 16.5 4 7.5 12 3" /> + <line x1="12" y1="12" x2="20" y2="7.5" /> + <line x1="12" y1="12" x2="12" y2="21" /> + <line x1="12" y1="12" x2="4" y2="7.5" /> + <path d="M16 5.25l-8 4.5v9" /> + <path d="M8 5.25l8 4.5l0 9" /> + <path d="M4 12l8 4.5l8 -4.5" /> +</svg> diff --git a/src/_icons/box-seam.svg b/src/_icons/box-seam.svg new file mode 100644 index 00000000..4c90c1d0 --- /dev/null +++ b/src/_icons/box-seam.svg @@ -0,0 +1,10 @@ +--- +tags: [cube, app, application, package, container] +--- +<svg> + <polyline points="12 3 20 7.5 20 16.5 12 21 4 16.5 4 7.5 12 3" /> + <line x1="12" y1="12" x2="20" y2="7.5" /> + <line x1="12" y1="12" x2="12" y2="21" /> + <line x1="12" y1="12" x2="4" y2="7.5" /> + <path d="M16 5.25l-8 4.5" /> +</svg> diff --git a/src/_icons/vector-beizer-2.svg b/src/_icons/vector-beizer-2.svg new file mode 100644 index 00000000..35fcdee4 --- /dev/null +++ b/src/_icons/vector-beizer-2.svg @@ -0,0 +1,12 @@ +--- +category: Design +--- +<svg> + <rect x="3" y="3" width="4" height="4" rx="1" /> + <rect x="17" y="17" width="4" height="4" rx="1" /> + <line x1="7" y1="5" x2="14" y2="5" /> + <line x1="10" y1="19" x2="17" y2="19" /> + <circle cx="9" cy="19" r="1" /> + <circle cx="15" cy="5" r="1" /> + <path d="M7 5.5a5 6.5 0 0 1 5 6.5a5 6.5 0 0 0 5 6.5" /> +</svg> diff --git a/src/_icons/vector-beizer.svg b/src/_icons/vector-beizer.svg new file mode 100644 index 00000000..28745358 --- /dev/null +++ b/src/_icons/vector-beizer.svg @@ -0,0 +1,14 @@ +--- +category: Design +--- +<svg> + <rect x="3" y="14" width="4" height="4" rx="1" /> + <rect x="17" y="14" width="4" height="4" rx="1" /> + <rect x="10" y="6" width="4" height="4" rx="1" /> + <path d="M10 8.5a6 6 0 0 0 -5 5.5" /> + <path d="M14 8.5a6 6 0 0 1 5 5.5" /> + <line x1="10" y1="8" x2="4" y2="8" /> + <line x1="20" y1="8" x2="14" y2="8" /> + <circle cx="3" cy="8" r="1" /> + <circle cx="21" cy="8" r="1" /> +</svg> |