feat(icons): added squares-* operation icons (#2585)

* Added icons: pathfinder (unite, minus, exclude, intersect)

* fix(icons): Altered pathfinder icon names to be more descriptive

* fix: Updated subtraction.svg to replace curves with of arcs

Co-authored-by: Jakob Guddas <github@jguddas.de>

* fix(icons): Updated names to be squares-* instead of shape-*

recomended by jguddas

* fix(shapes-unite): Arcified corners & added union tag

* fix(shapes-intersect): Replacing curves with arcs

Done by jguddas

* update(squares-exclude): added extra tags invert & xor

* fix(squares-intersect): Adjusted the look to make it more clear what it's use case is

* fix(icons): Accidentally swapped out the wrong icon for previous commit

* fix(squares-intersect): fixed filename

* fix(squares-exclude): Altered icon to look better under low resolution

Co-Authored-By: Jamie Law <956081+jamiemlaw@users.noreply.github.com>

* fix(squares-subtract): Updated name to fit naming convention better

Co-Authored-By: Jamie Law <956081+jamiemlaw@users.noreply.github.com>

* fix(sqaures-intersect): Removed certain curves for consistency

* fix(squares-exclude): Fixed arcs & arcified corners

Co-authored-by: Jakob Guddas <github@jguddas.de>

* fix(squares-exclude): icon was committed with wrong filename

* update(squares-exclude): updated design to be more readable

Co-Authored-By: Jakob Guddas <25524993+jguddas@users.noreply.github.com>

* fix(tags.json): Reverted accidental prettier alterations

* fix(squares-*.svg): enlarged squares to be more consistant

* fix(squares-*): added karsa-mistmere as a contributor

* fix(squares-subtract): fixed accidental copy made called squares-minus

* fix(squares-subtract): fixed rounding amount on some arcs

---------

Co-authored-by: Jakob Guddas <github@jguddas.de>
Co-authored-by: Jamie Law <956081+jamiemlaw@users.noreply.github.com>
Co-authored-by: Jakob Guddas <25524993+jguddas@users.noreply.github.com>
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
This commit is contained in:
Ethan Hazel
2025-04-18 10:45:43 -04:00
committed by GitHub
parent e3a476a027
commit 674a6bf799
9 changed files with 5379 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"EthanHazel",
"jguddas",
"jamiemlaw",
"karsa-mistmere"
],
"tags": [
"sqaure",
"pathfinder",
"path",
"exclude",
"invert",
"xor",
"shape",
"vector"
],
"categories": [
"design"
]
}

14
icons/squares-exclude.svg Normal file
View File

@@ -0,0 +1,14 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M16 12v2a2 2 0 0 1-2 2H9a1 1 0 0 0-1 1v3a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2h0" />
<path d="M4 16a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v3a1 1 0 0 1-1 1h-5a2 2 0 0 0-2 2v2" />
</svg>

After

Width:  |  Height:  |  Size: 416 B

View File

@@ -0,0 +1,20 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"EthanHazel",
"jguddas",
"karsa-mistmere"
],
"tags": [
"sqaure",
"pathfinder",
"path",
"intersect",
"shape",
"include",
"vector"
],
"categories": [
"design"
]
}

View File

@@ -0,0 +1,23 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M10 22a2 2 0 0 1-2-2" />
<path d="M14 2a2 2 0 0 1 2 2" />
<path d="M16 22h-2" />
<path d="M2 10V8" />
<path d="M2 4a2 2 0 0 1 2-2" />
<path d="M20 8a2 2 0 0 1 2 2" />
<path d="M22 14v2" />
<path d="M22 20a2 2 0 0 1-2 2" />
<path d="M4 16a2 2 0 0 1-2-2" />
<path d="M8 10a2 2 0 0 1 2-2h5a1 1 0 0 1 1 1v5a2 2 0 0 1-2 2H9a1 1 0 0 1-1-1z" />
<path d="M8 2h2" />
</svg>

After

Width:  |  Height:  |  Size: 596 B

View File

@@ -0,0 +1,22 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"EthanHazel",
"jguddas",
"karsa-mistmere"
],
"tags": [
"sqaure",
"pathfinder",
"path",
"minus",
"subtract",
"subtraction",
"shape",
"front",
"vector"
],
"categories": [
"design"
]
}

View File

@@ -0,0 +1,18 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M10 22a2 2 0 0 1-2-2" />
<path d="M16 22h-2" />
<path d="M16 4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h3a1 1 0 0 0 1-1v-5a2 2 0 0 1 2-2h5a1 1 0 0 0 1-1z" />
<path d="M20 8a2 2 0 0 1 2 2" />
<path d="M22 14v2" />
<path d="M22 20a2 2 0 0 1-2 2" />
</svg>

After

Width:  |  Height:  |  Size: 481 B

21
icons/squares-unite.json Normal file
View File

@@ -0,0 +1,21 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"EthanHazel",
"jguddas",
"karsa-mistmere"
],
"tags": [
"sqaure",
"pathfinder",
"path",
"unite",
"union",
"shape",
"merge",
"vector"
],
"categories": [
"design"
]
}

13
icons/squares-unite.svg Normal file
View File

@@ -0,0 +1,13 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M4 16a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v3a1 1 0 0 0 1 1h3a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2v-3a1 1 0 0 0-1-1z" />
</svg>

After

Width:  |  Height:  |  Size: 359 B

5226
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff