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

mars, venus icons

This commit is contained in:
codecalm 2020-08-21 17:48:17 +02:00
parent a8738a8f42
commit b1f5abf0b6
3 changed files with 20 additions and 3 deletions

View File

@ -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}"`;
});

9
src/_icons/mars.svg Normal file
View File

@ -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
src/_icons/venus.svg Normal file
View File

@ -0,0 +1,8 @@
---
category: Symbols
---
<svg>
<circle cx="12" cy="9" r="5" />
<line x1="12" y1="14" x2="12" y2="21" />
<line x1="9" y1="18" x2="15" y2="18" />
</svg>