icons: add 46 more icon roles

This commit is contained in:
2026-11-13 05:01:31 +07:00
parent dad833f998
commit c3e3c37731
48 changed files with 1092 additions and 23 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
## Bundled icons (`assets/*.svg`)
Lucide, ISC License, © Lucide Contributors. Fetched from https://github.com/lucide-icons/lucide (main) on 2026-10-28. These are the offline fallback glyphs, see https://lucide.dev/license.
Lucide, ISC License, © Lucide Contributors. Fetched from https://github.com/lucide-icons/lucide (main) on 2026-10-28 and 2026-11-13. These are the offline fallback glyphs, see https://lucide.dev/license.
## Platform glyph sets (not bundled)
+16
View File
@@ -0,0 +1,16 @@
<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="m21 16-4 4-4-4" />
<path d="M17 20V4" />
<path d="m3 8 4-4 4 4" />
<path d="M7 4v16" />
</svg>

After

Width:  |  Height:  |  Size: 313 B

+16
View File
@@ -0,0 +1,16 @@
<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="M8 2v3" />
<path d="M16 2v3" />
<rect x="3" y="3" width="18" height="18" rx="2" />
<path d="M3 9h18" />
</svg>

After

Width:  |  Height:  |  Size: 329 B

@@ -0,0 +1,15 @@
<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"
>
<circle cx="12" cy="12" r="10" />
<path d="M9 9.5a3 2.5 0 016 0c0 2-2 2-3 3.5" />
<path d="M12 17h.01" />
</svg>

After

Width:  |  Height:  |  Size: 320 B

+17
View File
@@ -0,0 +1,17 @@
<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="M11 14h10" />
<path d="M16 4h2a2 2 0 0 1 2 2v1.344" />
<path d="m17 18 4-4-4-4" />
<path d="M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 1.793-1.113" />
<rect x="8" y="2" width="8" height="4" rx="1" />
</svg>

After

Width:  |  Height:  |  Size: 435 B

+14
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"
>
<circle cx="12" cy="12" r="10" />
<path d="M12 6v6l4 2" />
</svg>

After

Width:  |  Height:  |  Size: 271 B

+15
View File
@@ -0,0 +1,15 @@
<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 15V3" />
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" />
<path d="m7 10 5 5 5-5" />
</svg>

After

Width:  |  Height:  |  Size: 318 B

+15
View File
@@ -0,0 +1,15 @@
<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"
>
<circle cx="12" cy="12" r="1" />
<circle cx="19" cy="12" r="1" />
<circle cx="5" cy="12" r="1" />
</svg>

After

Width:  |  Height:  |  Size: 312 B

+14
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="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" />
<path d="M14 2v5a1 1 0 0 0 1 1h5" />
</svg>

After

Width:  |  Height:  |  Size: 373 B

+13
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="M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5" />
</svg>

After

Width:  |  Height:  |  Size: 373 B

+14
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="M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8" />
<path d="M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" />
</svg>

After

Width:  |  Height:  |  Size: 383 B

+15
View File
@@ -0,0 +1,15 @@
<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"
>
<rect width="18" height="18" x="3" y="3" rx="2" ry="2" />
<circle cx="9" cy="9" r="2" />
<path d="m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21" />
</svg>

After

Width:  |  Height:  |  Size: 358 B

+16
View File
@@ -0,0 +1,16 @@
<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"
>
<rect width="7" height="7" x="3" y="3" rx="1" />
<rect width="7" height="7" x="14" y="3" rx="1" />
<rect width="7" height="7" x="14" y="14" rx="1" />
<rect width="7" height="7" x="3" y="14" rx="1" />
</svg>

After

Width:  |  Height:  |  Size: 416 B

+14
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="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71" />
<path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71" />
</svg>

After

Width:  |  Height:  |  Size: 359 B

+18
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="M3 5h.01" />
<path d="M3 12h.01" />
<path d="M3 19h.01" />
<path d="M8 5h13" />
<path d="M8 12h13" />
<path d="M8 19h13" />
</svg>

After

Width:  |  Height:  |  Size: 353 B

+14
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"
>
<rect width="18" height="11" x="3" y="11" rx="2" ry="2" />
<path d="M7 11V7a5 5 0 0 1 9.9-1" />
</svg>

After

Width:  |  Height:  |  Size: 308 B

+14
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"
>
<rect width="18" height="11" x="3" y="11" rx="2" ry="2" />
<path d="M7 11V7a5 5 0 0 1 10 0v4" />
</svg>

After

Width:  |  Height:  |  Size: 309 B

+14
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="m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7" />
<rect x="2" y="4" width="20" height="16" rx="2" />
</svg>

After

Width:  |  Height:  |  Size: 316 B

+16
View File
@@ -0,0 +1,16 @@
<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="M8 3H5a2 2 0 0 0-2 2v3" />
<path d="M21 8V5a2 2 0 0 0-2-2h-3" />
<path d="M3 16v3a2 2 0 0 0 2 2h3" />
<path d="M16 21h3a2 2 0 0 0 2-2v-3" />
</svg>

After

Width:  |  Height:  |  Size: 366 B

+15
View File
@@ -0,0 +1,15 @@
<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 5h16" />
<path d="M4 12h16" />
<path d="M4 19h16" />
</svg>

After

Width:  |  Height:  |  Size: 279 B

+16
View File
@@ -0,0 +1,16 @@
<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="M8 3v3a2 2 0 0 1-2 2H3" />
<path d="M21 8h-3a2 2 0 0 1-2-2V3" />
<path d="M3 16h3a2 2 0 0 1 2 2v3" />
<path d="M16 21v-3a2 2 0 0 1 2-2h3" />
</svg>

After

Width:  |  Height:  |  Size: 366 B

+13
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="M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401" />
</svg>

After

Width:  |  Height:  |  Size: 334 B

+14
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"
>
<rect x="14" y="3" width="5" height="18" rx="1" />
<rect x="5" y="3" width="5" height="18" rx="1" />
</svg>

After

Width:  |  Height:  |  Size: 313 B

+14
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="M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" />
<path d="m15 5 4 4" />
</svg>

After

Width:  |  Height:  |  Size: 377 B

+14
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="M12 17v5" />
<path d="M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z" />
</svg>

After

Width:  |  Height:  |  Size: 450 B

+13
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="M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z" />
</svg>

After

Width:  |  Height:  |  Size: 306 B

+15
View File
@@ -0,0 +1,15 @@
<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="M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2" />
<path d="M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6" />
<rect x="6" y="14" width="12" height="8" rx="1" />
</svg>

After

Width:  |  Height:  |  Size: 406 B

+14
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="m15 14 5-5-5-5" />
<path d="M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13" />
</svg>

After

Width:  |  Height:  |  Size: 308 B

+16
View File
@@ -0,0 +1,16 @@
<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="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8" />
<path d="M21 3v5h-5" />
<path d="M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16" />
<path d="M8 16H3v5" />
</svg>

After

Width:  |  Height:  |  Size: 392 B

+15
View File
@@ -0,0 +1,15 @@
<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="M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z" />
<path d="M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7" />
<path d="M7 3v4a1 1 0 0 0 1 1h7" />
</svg>

After

Width:  |  Height:  |  Size: 417 B

+17
View File
@@ -0,0 +1,17 @@
<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"
>
<circle cx="6" cy="6" r="3" />
<path d="M8.12 8.12 12 12" />
<path d="M20 4 8.12 15.88" />
<circle cx="6" cy="18" r="3" />
<path d="M14.8 14.8 20 20" />
</svg>

After

Width:  |  Height:  |  Size: 371 B

+14
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="M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z" />
<path d="m21.854 2.147-10.94 10.939" />
</svg>

After

Width:  |  Height:  |  Size: 393 B

+14
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="M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915" />
<circle cx="12" cy="12" r="3" />
</svg>

After

Width:  |  Height:  |  Size: 586 B

+15
View File
@@ -0,0 +1,15 @@
<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 2v13" />
<path d="m16 6-4-4-4 4" />
<path d="M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8" />
</svg>

After

Width:  |  Height:  |  Size: 318 B

+13
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="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z" />
</svg>

After

Width:  |  Height:  |  Size: 588 B

+21
View File
@@ -0,0 +1,21 @@
<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"
>
<circle cx="12" cy="12" r="4" />
<path d="M12 2v2" />
<path d="M12 20v2" />
<path d="m4.93 4.93 1.41 1.41" />
<path d="m17.66 17.66 1.41 1.41" />
<path d="M2 12h2" />
<path d="M20 12h2" />
<path d="m6.34 17.66-1.41 1.41" />
<path d="m19.07 4.93-1.41 1.41" />
</svg>

After

Width:  |  Height:  |  Size: 485 B

+15
View File
@@ -0,0 +1,15 @@
<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="M21 5H3" />
<path d="M17 12H7" />
<path d="M19 19H5" />
</svg>

After

Width:  |  Height:  |  Size: 279 B

+15
View File
@@ -0,0 +1,15 @@
<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="M21 5H3" />
<path d="M21 12H9" />
<path d="M21 19H7" />
</svg>

After

Width:  |  Height:  |  Size: 279 B

+15
View File
@@ -0,0 +1,15 @@
<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="M21 5H3" />
<path d="M15 12H3" />
<path d="M17 19H3" />
</svg>

After

Width:  |  Height:  |  Size: 279 B

+17
View File
@@ -0,0 +1,17 @@
<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 11v6" />
<path d="M14 11v6" />
<path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" />
<path d="M3 6h18" />
<path d="M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" />
</svg>

After

Width:  |  Height:  |  Size: 389 B

+14
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="M9 14 4 9l5-5" />
<path d="M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11" />
</svg>

After

Width:  |  Height:  |  Size: 309 B

+14
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="M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2" />
<circle cx="12" cy="7" r="4" />
</svg>

After

Width:  |  Height:  |  Size: 299 B

+15
View File
@@ -0,0 +1,15 @@
<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="M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z" />
<path d="M16 9a5 5 0 0 1 0 6" />
<path d="M19.364 18.364a9 9 0 0 0 0-12.728" />
</svg>

After

Width:  |  Height:  |  Size: 476 B

+15
View File
@@ -0,0 +1,15 @@
<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="M11 4.702a.7.7 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.7.7 0 0 0 11 19.298z" />
<path d="m16.5 14.5 5-5" />
<path d="m16.5 9.5 5 5" />
</svg>

After

Width:  |  Height:  |  Size: 443 B

+16
View File
@@ -0,0 +1,16 @@
<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"
>
<circle cx="11" cy="11" r="8" />
<line x1="21" x2="16.65" y1="21" y2="16.65" />
<line x1="11" x2="11" y1="8" y2="14" />
<line x1="8" x2="14" y1="11" y2="11" />
</svg>

After

Width:  |  Height:  |  Size: 376 B

+15
View File
@@ -0,0 +1,15 @@
<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"
>
<circle cx="11" cy="11" r="8" />
<line x1="21" x2="16.65" y1="21" y2="16.65" />
<line x1="8" x2="14" y1="11" y2="11" />
</svg>

After

Width:  |  Height:  |  Size: 334 B

+350
View File
@@ -43,6 +43,51 @@ pub enum IconRole {
Loader,
Microphone,
Stop,
Settings,
Refresh,
Undo,
Redo,
ZoomIn,
ZoomOut,
Trash,
Edit,
Save,
Download,
Share,
Send,
Print,
EnterFullScreen,
ExitFullScreen,
Cut,
Paste,
Sort,
Home,
Menu,
More,
Grid,
List,
File,
Image,
Calendar,
Clock,
User,
Lock,
Unlock,
Star,
Heart,
Pin,
Mail,
Link,
Play,
Pause,
Help,
Volume,
VolumeMuted,
AlignLeft,
AlignCenter,
AlignRight,
Sun,
Moon,
}
impl IconRole {
@@ -71,6 +116,51 @@ impl IconRole {
Self::Loader,
Self::Microphone,
Self::Stop,
Self::Settings,
Self::Refresh,
Self::Undo,
Self::Redo,
Self::ZoomIn,
Self::ZoomOut,
Self::Trash,
Self::Edit,
Self::Save,
Self::Download,
Self::Share,
Self::Send,
Self::Print,
Self::EnterFullScreen,
Self::ExitFullScreen,
Self::Cut,
Self::Paste,
Self::Sort,
Self::Home,
Self::Menu,
Self::More,
Self::Grid,
Self::List,
Self::File,
Self::Image,
Self::Calendar,
Self::Clock,
Self::User,
Self::Lock,
Self::Unlock,
Self::Star,
Self::Heart,
Self::Pin,
Self::Mail,
Self::Link,
Self::Play,
Self::Pause,
Self::Help,
Self::Volume,
Self::VolumeMuted,
Self::AlignLeft,
Self::AlignCenter,
Self::AlignRight,
Self::Sun,
Self::Moon,
]
}
@@ -99,6 +189,51 @@ impl IconRole {
Self::Loader => "icons/loader.svg",
Self::Microphone => "icons/mic.svg",
Self::Stop => "icons/square.svg",
Self::Settings => "icons/settings.svg",
Self::Refresh => "icons/refresh-cw.svg",
Self::Undo => "icons/undo-2.svg",
Self::Redo => "icons/redo-2.svg",
Self::ZoomIn => "icons/zoom-in.svg",
Self::ZoomOut => "icons/zoom-out.svg",
Self::Trash => "icons/trash.svg",
Self::Edit => "icons/pencil.svg",
Self::Save => "icons/save.svg",
Self::Download => "icons/download.svg",
Self::Share => "icons/share.svg",
Self::Send => "icons/send.svg",
Self::Print => "icons/printer.svg",
Self::EnterFullScreen => "icons/maximize.svg",
Self::ExitFullScreen => "icons/minimize.svg",
Self::Cut => "icons/scissors.svg",
Self::Paste => "icons/clipboard-paste.svg",
Self::Sort => "icons/arrow-up-down.svg",
Self::Home => "icons/house.svg",
Self::Menu => "icons/menu.svg",
Self::More => "icons/ellipsis.svg",
Self::Grid => "icons/layout-grid.svg",
Self::List => "icons/list.svg",
Self::File => "icons/file.svg",
Self::Image => "icons/image.svg",
Self::Calendar => "icons/calendar.svg",
Self::Clock => "icons/clock.svg",
Self::User => "icons/user.svg",
Self::Lock => "icons/lock.svg",
Self::Unlock => "icons/lock-open.svg",
Self::Star => "icons/star.svg",
Self::Heart => "icons/heart.svg",
Self::Pin => "icons/pin.svg",
Self::Mail => "icons/mail.svg",
Self::Link => "icons/link.svg",
Self::Play => "icons/play.svg",
Self::Pause => "icons/pause.svg",
Self::Help => "icons/circle-question-mark.svg",
Self::Volume => "icons/volume-2.svg",
Self::VolumeMuted => "icons/volume-x.svg",
Self::AlignLeft => "icons/text-align-start.svg",
Self::AlignCenter => "icons/text-align-center.svg",
Self::AlignRight => "icons/text-align-end.svg",
Self::Sun => "icons/sun.svg",
Self::Moon => "icons/moon.svg",
}
}
@@ -128,6 +263,51 @@ impl IconRole {
Self::Loader => "loader",
Self::Microphone => "microphone",
Self::Stop => "stop",
Self::Settings => "settings",
Self::Refresh => "refresh",
Self::Undo => "undo",
Self::Redo => "redo",
Self::ZoomIn => "zoom-in",
Self::ZoomOut => "zoom-out",
Self::Trash => "trash",
Self::Edit => "edit",
Self::Save => "save",
Self::Download => "download",
Self::Share => "share",
Self::Send => "send",
Self::Print => "print",
Self::EnterFullScreen => "enter-full-screen",
Self::ExitFullScreen => "exit-full-screen",
Self::Cut => "cut",
Self::Paste => "paste",
Self::Sort => "sort",
Self::Home => "home",
Self::Menu => "menu",
Self::More => "more",
Self::Grid => "grid",
Self::List => "list",
Self::File => "file",
Self::Image => "image",
Self::Calendar => "calendar",
Self::Clock => "clock",
Self::User => "user",
Self::Lock => "lock",
Self::Unlock => "unlock",
Self::Star => "star",
Self::Heart => "heart",
Self::Pin => "pin",
Self::Mail => "mail",
Self::Link => "link",
Self::Play => "play",
Self::Pause => "pause",
Self::Help => "help",
Self::Volume => "volume",
Self::VolumeMuted => "volume-muted",
Self::AlignLeft => "align-left",
Self::AlignCenter => "align-center",
Self::AlignRight => "align-right",
Self::Sun => "sun",
Self::Moon => "moon",
}
}
@@ -206,6 +386,129 @@ impl IconRole {
Self::Loader => &["process-working-symbolic", "process-working"],
Self::Microphone => &["audio-input-microphone-symbolic", "audio-input-microphone"],
Self::Stop => &["process-stop-symbolic", "process-stop"],
Self::Settings => &[
"applications-system-symbolic",
"settings-symbolic",
"preferences-system-symbolic",
"system-run-symbolic",
],
Self::Refresh => &["view-refresh-symbolic", "view-refresh"],
Self::Undo => &["edit-undo-symbolic", "edit-undo"],
Self::Redo => &["edit-redo-symbolic", "edit-redo"],
Self::ZoomIn => &["zoom-in-symbolic", "zoom-in"],
Self::ZoomOut => &["zoom-out-symbolic", "zoom-out"],
Self::Trash => &[
"user-trash-symbolic",
"edit-delete-symbolic",
"user-trash",
"edit-delete",
],
Self::Edit => &["document-edit-symbolic", "document-edit"],
Self::Save => &["document-save-symbolic", "document-save"],
Self::Download => &["folder-download-symbolic", "folder-download"],
Self::Share => &[
"send-to-symbolic",
"emblem-shared-symbolic",
"emblem-shared",
],
Self::Send => &["document-send-symbolic", "document-send"],
Self::Print => &[
"printer-symbolic",
"document-print-symbolic",
"printer",
"document-print",
],
Self::EnterFullScreen => &["view-fullscreen-symbolic", "view-fullscreen"],
Self::ExitFullScreen => &["view-restore-symbolic", "view-restore"],
Self::Cut => &["edit-cut-symbolic", "edit-cut"],
Self::Paste => &["edit-paste-symbolic", "edit-paste"],
Self::Sort => &[
"view-sort-ascending-symbolic",
"view-sort-descending-symbolic",
"view-sort-ascending",
"view-sort-descending",
],
Self::Home => &[
"user-home-symbolic",
"go-home-symbolic",
"user-home",
"go-home",
],
Self::Menu => &["open-menu-symbolic", "open-menu"],
Self::More => &[
"view-more-horizontal-symbolic",
"view-more-symbolic",
"view-more-horizontal",
"view-more",
],
Self::Grid => &["view-grid-symbolic", "view-app-grid-symbolic", "view-grid"],
Self::List => &[
"view-list-symbolic",
"view-list-bullet-symbolic",
"view-list",
"view-list-bullet",
],
Self::File => &[
"text-x-generic-symbolic",
"text-x-generic",
"x-office-document-symbolic",
"x-office-document",
],
Self::Image => &[
"image-x-generic-symbolic",
"insert-image-symbolic",
"image-x-generic",
"insert-image",
],
Self::Calendar => &["x-office-calendar-symbolic", "x-office-calendar"],
Self::Clock => &[
"document-open-recent-symbolic",
"alarm-symbolic",
"clock-symbolic",
"document-open-recent",
],
Self::User => &["avatar-default-symbolic", "avatar-default"],
Self::Lock => &[
"changes-prevent-symbolic",
"changes-prevent",
"system-lock-screen-symbolic",
"system-lock-screen",
],
Self::Unlock => &["changes-allow-symbolic", "changes-allow"],
Self::Star => &[
"non-starred-symbolic",
"non-starred",
"starred-symbolic",
"starred",
],
Self::Heart => &["emote-love-symbolic", "emote-love"],
Self::Pin => &["view-pin-symbolic", "view-pin"],
Self::Mail => &[
"mail-unread-symbolic",
"mail-message-new-symbolic",
"mail-unread",
"mail-message-new",
],
Self::Link => &["insert-link-symbolic", "insert-link"],
Self::Play => &["media-playback-start-symbolic", "media-playback-start"],
Self::Pause => &["media-playback-pause-symbolic", "media-playback-pause"],
Self::Help => &[
"dialog-question-symbolic",
"system-help-symbolic",
"dialog-question",
"system-help",
],
Self::Volume => &["audio-volume-high-symbolic", "audio-volume-high"],
Self::VolumeMuted => &["audio-volume-muted-symbolic", "audio-volume-muted"],
Self::AlignLeft => &["format-justify-left-symbolic", "format-justify-left"],
Self::AlignCenter => &["format-justify-center-symbolic", "format-justify-center"],
Self::AlignRight => &["format-justify-right-symbolic", "format-justify-right"],
Self::Sun => &[
"weather-clear-symbolic",
"display-brightness-symbolic",
"weather-clear",
],
Self::Moon => &["weather-clear-night-symbolic", "weather-clear-night"],
}
}
}
@@ -417,6 +720,53 @@ fn asset_bytes(path: &str) -> Option<&'static [u8]> {
"icons/panel-right.svg" => Some(include_bytes!("../assets/panel-right.svg")),
"icons/loader.svg" => Some(include_bytes!("../assets/loader.svg")),
"icons/mic.svg" => Some(include_bytes!("../assets/mic.svg")),
"icons/settings.svg" => Some(include_bytes!("../assets/settings.svg")),
"icons/refresh-cw.svg" => Some(include_bytes!("../assets/refresh-cw.svg")),
"icons/undo-2.svg" => Some(include_bytes!("../assets/undo-2.svg")),
"icons/redo-2.svg" => Some(include_bytes!("../assets/redo-2.svg")),
"icons/zoom-in.svg" => Some(include_bytes!("../assets/zoom-in.svg")),
"icons/zoom-out.svg" => Some(include_bytes!("../assets/zoom-out.svg")),
"icons/trash.svg" => Some(include_bytes!("../assets/trash.svg")),
"icons/pencil.svg" => Some(include_bytes!("../assets/pencil.svg")),
"icons/save.svg" => Some(include_bytes!("../assets/save.svg")),
"icons/download.svg" => Some(include_bytes!("../assets/download.svg")),
"icons/share.svg" => Some(include_bytes!("../assets/share.svg")),
"icons/send.svg" => Some(include_bytes!("../assets/send.svg")),
"icons/printer.svg" => Some(include_bytes!("../assets/printer.svg")),
"icons/maximize.svg" => Some(include_bytes!("../assets/maximize.svg")),
"icons/minimize.svg" => Some(include_bytes!("../assets/minimize.svg")),
"icons/scissors.svg" => Some(include_bytes!("../assets/scissors.svg")),
"icons/clipboard-paste.svg" => Some(include_bytes!("../assets/clipboard-paste.svg")),
"icons/arrow-up-down.svg" => Some(include_bytes!("../assets/arrow-up-down.svg")),
"icons/house.svg" => Some(include_bytes!("../assets/house.svg")),
"icons/menu.svg" => Some(include_bytes!("../assets/menu.svg")),
"icons/ellipsis.svg" => Some(include_bytes!("../assets/ellipsis.svg")),
"icons/layout-grid.svg" => Some(include_bytes!("../assets/layout-grid.svg")),
"icons/list.svg" => Some(include_bytes!("../assets/list.svg")),
"icons/file.svg" => Some(include_bytes!("../assets/file.svg")),
"icons/image.svg" => Some(include_bytes!("../assets/image.svg")),
"icons/calendar.svg" => Some(include_bytes!("../assets/calendar.svg")),
"icons/clock.svg" => Some(include_bytes!("../assets/clock.svg")),
"icons/user.svg" => Some(include_bytes!("../assets/user.svg")),
"icons/lock.svg" => Some(include_bytes!("../assets/lock.svg")),
"icons/lock-open.svg" => Some(include_bytes!("../assets/lock-open.svg")),
"icons/star.svg" => Some(include_bytes!("../assets/star.svg")),
"icons/heart.svg" => Some(include_bytes!("../assets/heart.svg")),
"icons/pin.svg" => Some(include_bytes!("../assets/pin.svg")),
"icons/mail.svg" => Some(include_bytes!("../assets/mail.svg")),
"icons/link.svg" => Some(include_bytes!("../assets/link.svg")),
"icons/play.svg" => Some(include_bytes!("../assets/play.svg")),
"icons/pause.svg" => Some(include_bytes!("../assets/pause.svg")),
"icons/circle-question-mark.svg" => {
Some(include_bytes!("../assets/circle-question-mark.svg"))
}
"icons/volume-2.svg" => Some(include_bytes!("../assets/volume-2.svg")),
"icons/volume-x.svg" => Some(include_bytes!("../assets/volume-x.svg")),
"icons/text-align-start.svg" => Some(include_bytes!("../assets/text-align-start.svg")),
"icons/text-align-center.svg" => Some(include_bytes!("../assets/text-align-center.svg")),
"icons/text-align-end.svg" => Some(include_bytes!("../assets/text-align-end.svg")),
"icons/sun.svg" => Some(include_bytes!("../assets/sun.svg")),
"icons/moon.svg" => Some(include_bytes!("../assets/moon.svg")),
_ => None,
}
}
+67 -22
View File
@@ -6,28 +6,73 @@ use crate::IconRole;
/// The Segoe Fluent Icons glyph for the role.
pub(crate) fn glyph(role: IconRole) -> Option<&'static str> {
let glyph = match role {
IconRole::Check => "\u{E73E}", // CheckMark
IconRole::Close => "\u{E8BB}", // ChromeClose
IconRole::ChevronDown => "\u{E70D}", // ChevronDown
IconRole::ChevronLeft => "\u{E76B}", // ChevronLeft
IconRole::ChevronRight => "\u{E76C}", // ChevronRight
IconRole::ChevronUp => "\u{E70E}", // ChevronUp
IconRole::Plus => "\u{E710}", // Add
IconRole::Minus => "\u{E738}", // Remove
IconRole::Search => "\u{E721}", // Search
IconRole::Folder => "\u{E8B7}", // Folder
IconRole::Warning => "\u{E7BA}", // Warning
IconRole::Info => "\u{E946}", // Info
IconRole::Copy => "\u{E8C8}", // Copy
IconRole::Eye => "\u{E7B3}", // RedEye
IconRole::EyeOff => "\u{ED1A}", // Hide
IconRole::PanelLeft => "\u{E90C}", // DockLeft
IconRole::PanelRight => "\u{E90D}", // DockRight
IconRole::WindowMinimize => "\u{E921}", // ChromeMinimize
IconRole::WindowMaximize => "\u{E922}", // ChromeMaximize
IconRole::WindowRestore => "\u{E923}", // ChromeRestore
IconRole::Microphone => "\u{E720}", // Microphone
IconRole::Stop => "\u{E71A}", // Stop
IconRole::Check => "\u{E73E}", // CheckMark
IconRole::Close => "\u{E8BB}", // ChromeClose
IconRole::ChevronDown => "\u{E70D}", // ChevronDown
IconRole::ChevronLeft => "\u{E76B}", // ChevronLeft
IconRole::ChevronRight => "\u{E76C}", // ChevronRight
IconRole::ChevronUp => "\u{E70E}", // ChevronUp
IconRole::Plus => "\u{E710}", // Add
IconRole::Minus => "\u{E738}", // Remove
IconRole::Search => "\u{E721}", // Search
IconRole::Folder => "\u{E8B7}", // Folder
IconRole::Warning => "\u{E7BA}", // Warning
IconRole::Info => "\u{E946}", // Info
IconRole::Copy => "\u{E8C8}", // Copy
IconRole::Eye => "\u{E7B3}", // RedEye
IconRole::EyeOff => "\u{ED1A}", // Hide
IconRole::PanelLeft => "\u{E90C}", // DockLeft
IconRole::PanelRight => "\u{E90D}", // DockRight
IconRole::WindowMinimize => "\u{E921}", // ChromeMinimize
IconRole::WindowMaximize => "\u{E922}", // ChromeMaximize
IconRole::WindowRestore => "\u{E923}", // ChromeRestore
IconRole::Microphone => "\u{E720}", // Microphone
IconRole::Stop => "\u{E71A}", // Stop
IconRole::Settings => "\u{E713}", // Settings
IconRole::Refresh => "\u{E72C}", // Refresh
IconRole::Undo => "\u{E7A7}", // Undo
IconRole::Redo => "\u{E7A6}", // Redo
IconRole::ZoomIn => "\u{E8A3}", // ZoomIn
IconRole::ZoomOut => "\u{E71F}", // ZoomOut
IconRole::Trash => "\u{E74D}", // Delete
IconRole::Edit => "\u{E70F}", // Edit
IconRole::Save => "\u{E74E}", // Save
IconRole::Download => "\u{E896}", // Download
IconRole::Share => "\u{E72D}", // Share
IconRole::Send => "\u{E724}", // Send
IconRole::Print => "\u{E749}", // Print
IconRole::EnterFullScreen => "\u{E740}", // FullScreen
IconRole::ExitFullScreen => "\u{E73F}", // BackToWindow
IconRole::Cut => "\u{E8C6}", // Cut
IconRole::Paste => "\u{E77F}", // Paste
IconRole::Sort => "\u{E8CB}", // Sort
IconRole::Home => "\u{E80F}", // Home
IconRole::Menu => "\u{E700}", // GlobalNavButton
IconRole::More => "\u{E712}", // More
IconRole::Grid => "\u{ECA5}", // Tiles
IconRole::List => "\u{EA37}", // List
IconRole::File => "\u{E8A5}", // Document
IconRole::Image => "\u{E8B9}", // Picture
IconRole::Calendar => "\u{E787}", // Calendar
IconRole::Clock => "\u{E917}", // Clock
IconRole::User => "\u{E77B}", // Contact
IconRole::Lock => "\u{E72E}", // Lock
IconRole::Unlock => "\u{E785}", // Unlock
IconRole::Star => "\u{E734}", // FavoriteStar
IconRole::Heart => "\u{EB51}", // Heart
IconRole::Pin => "\u{E718}", // Pin
IconRole::Mail => "\u{E715}", // Mail
IconRole::Link => "\u{E71B}", // Link
IconRole::Play => "\u{E768}", // Play
IconRole::Pause => "\u{E769}", // Pause
IconRole::Help => "\u{E897}", // Help
IconRole::Volume => "\u{E767}", // Volume
IconRole::VolumeMuted => "\u{E74F}", // Mute
IconRole::AlignLeft => "\u{E8E4}", // AlignLeft
IconRole::AlignCenter => "\u{E8E3}", // AlignCenter
IconRole::AlignRight => "\u{E8E2}", // AlignRight
IconRole::Sun => "\u{E706}", // Brightness
IconRole::Moon => "\u{E708}", // QuietHours
// No Segoe spinner glyph, the icon falls back to the bundled SVG.
IconRole::Loader => return None,
};