1
0
mirror of https://github.com/tabler/tabler-icons.git synced 2025-01-17 04:38:28 +01:00

4 new icons: columns-1, columns-2, columns-3, sparkles

This commit is contained in:
codecalm 2023-01-24 01:23:12 +01:00
parent 2b337d449e
commit 67e8c41fbf
5 changed files with 26 additions and 3 deletions

View File

@ -62,9 +62,9 @@ glob(join(ICONS_SRC_DIR, '*.svg'), {}, function(er, files) {
return `<path d="${d2}"`
})
// .replace(/(?<=M[^"]+)"\s+\/>[\n\s\t]+<path d="M/g, function() {
// return `M`
// })
.replace(/(?<=M[^"]+)"\s+\/>[\n\s\t]+<path d="M(?=([^"]+)"\s+\/>)/g, function() {
return `M`
})
.replace(/<path d="([^"]+)"/g, function(f, r1) {
r1 = optimizePath(r1)

6
src/_icons/columns-1.svg Normal file
View File

@ -0,0 +1,6 @@
---
---
<svg>
<path d="M18 2a2 2 0 0 1 2 2v16a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-16a2 2 0 0 1 2 -2zm0 2h-12v16h12v-16z" opacity=".426" />
<path d="M5 3m0 1a1 1 0 0 1 1 -1h12a1 1 0 0 1 1 1v16a1 1 0 0 1 -1 1h-12a1 1 0 0 1 -1 -1z" />
</svg>

6
src/_icons/columns-2.svg Normal file
View File

@ -0,0 +1,6 @@
---
---
<svg>
<path d="M20 2a2 2 0 0 1 2 2v16a2 2 0 0 1 -2 2h-16a2 2 0 0 1 -2 -2v-16a2 2 0 0 1 2 -2h16zm0 2h-7v16h7v-16zm-9 0h-7v16h7v-16z" opacity=".426" />
<path d="M3 3m0 1a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v16a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1zm9 -1v18" />
</svg>

6
src/_icons/columns-3.svg Normal file
View File

@ -0,0 +1,6 @@
---
---
<svg>
<path d="M20 2a2 2 0 0 1 2 2v16a2 2 0 0 1 -2 2h-16a2 2 0 0 1 -2 -2v-16a2 2 0 0 1 2 -2zm0 2h-4v16h4v-16zm-6 0h-4v16h4v-16zm-6 0h-4v16h4v-16z" opacity=".426" />
<path d="M3 3m0 1a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v16a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1zm6 -1v18m6 -18v18" />
</svg>

5
src/_icons/sparkles.svg Normal file
View File

@ -0,0 +1,5 @@
---
---
<svg>
<path d="M16 18a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2zm0 -12a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2zm-7 12a6 6 0 0 1 6 -6a6 6 0 0 1 -6 -6a6 6 0 0 1 -6 6a6 6 0 0 1 6 6z" />
</svg>