feat(icons): Add polygon icon (#3007)

* Add icons/polygon.svg

* Applied code from jguddas

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* extended metadata in polygon.json

* Rename polygon.json to vector-polygon.json

* Rename polygon.svg to vector-polygon.svg

* Update icons/vector-polygon.svg

* Update vector-square.svg

---------

Co-authored-by: timmy471 <timilehin.ayantunji@etranzact.com>
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Karsa <contact@karsa.org>
This commit is contained in:
Ayantunji Timilehin
2026-08-31 09:15:36 +02:00
committed by GitHub
co-authored by Copilot Autofix powered by AI timmy471 Eric Fennis Karsa
parent 796dad298f
commit eb3c04d059
3 changed files with 66 additions and 8 deletions
+38
View File
@@ -0,0 +1,38 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"daboudii",
"timmy471",
"karsa-mistmere"
],
"use-cases": [
"Representing polygon geometry in drawing tools",
"Indicating area boundaries on maps",
"Editing vector shapes in design software",
"Working with GIS regions or coordinate data"
],
"tags": [
"map",
"vector",
"geometry",
"coordinates",
"shape",
"location",
"boundary",
"area",
"region",
"gis",
"geospatial",
"vertices",
"points",
"outline",
"drawing",
"design",
"math"
],
"categories": [
"design",
"math",
"shapes"
]
}
+20
View File
@@ -0,0 +1,20 @@
<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="m12.828 4.813 5.344 2.375" />
<path d="m15.769 18.153 3.461-8.306" />
<path d="m5.687 14.074 7.625 4.852" />
<path d="M9.772 5.579 5.228 11.42" />
<circle cx="11" cy="4" r="2" />
<circle cx="15" cy="20" r="2" />
<circle cx="20" cy="8" r="2" />
<circle cx="4" cy="13" r="2" />
</svg>

After

Width:  |  Height:  |  Size: 509 B

+8 -8
View File
@@ -9,12 +9,12 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M19.5 7a24 24 0 0 1 0 10" />
<path d="M4.5 7a24 24 0 0 0 0 10" />
<path d="M7 19.5a24 24 0 0 0 10 0" />
<path d="M7 4.5a24 24 0 0 1 10 0" />
<rect x="17" y="17" width="5" height="5" rx="1" />
<rect x="17" y="2" width="5" height="5" rx="1" />
<rect x="2" y="17" width="5" height="5" rx="1" />
<rect x="2" y="2" width="5" height="5" rx="1" />
<path d="M17.055 4.533a24 24 0 00-10.11 0" />
<path d="M19.467 17.055a24 24 0 000-10.11" />
<path d="M4.533 6.945a24 24 0 000 10.11" />
<path d="M6.945 19.467a24 24 0 0010.11 0" />
<circle cx="19" cy="19" r="2" />
<circle cx="19" cy="5" r="2" />
<circle cx="5" cy="19" r="2" />
<circle cx="5" cy="5" r="2" />
</svg>

Before

Width:  |  Height:  |  Size: 574 B

After

Width:  |  Height:  |  Size: 533 B