fix(icons): align Unicode currency icon cap heights with other typographic icons (#4926)

* fix(icons): align Unicode currency icon cap heights with other typographic icons

Also deprecates badge-, receipt- currency variants

* fix(icons): update riyal to be more in line with specifications

Rightmost lines evenly spaced, leftmost path somewhat lower than the currently matching line
This commit is contained in:
Karsa
2026-10-28 11:55:54 +01:00
committed by GitHub
parent 0f88df55b3
commit 573f438efe
29 changed files with 72 additions and 55 deletions
+2
View File
@@ -3,6 +3,8 @@
"contributors": [
"danielbayley"
],
"deprecated": true,
"deprecationReason": "icon.use-case",
"use-cases": [],
"tags": [
"discount",
+2
View File
@@ -3,6 +3,8 @@
"contributors": [
"danielbayley"
],
"deprecated": true,
"deprecationReason": "icon.use-case",
"use-cases": [],
"tags": [
"discount",
+2
View File
@@ -3,6 +3,8 @@
"contributors": [
"danielbayley"
],
"deprecated": true,
"deprecationReason": "icon.use-case",
"use-cases": [],
"tags": [
"discount",
+2
View File
@@ -3,6 +3,8 @@
"contributors": [
"danielbayley"
],
"deprecated": true,
"deprecationReason": "icon.use-case",
"use-cases": [],
"tags": [
"discount",
+2
View File
@@ -3,6 +3,8 @@
"contributors": [
"danielbayley"
],
"deprecated": true,
"deprecationReason": "icon.use-case",
"use-cases": [],
"tags": [
"discount",
+2
View File
@@ -3,6 +3,8 @@
"contributors": [
"danielbayley"
],
"deprecated": true,
"deprecationReason": "icon.use-case",
"use-cases": [],
"tags": [
"discount",
+2
View File
@@ -4,6 +4,8 @@
"danielbayley",
"jamiemlaw"
],
"deprecated": true,
"deprecationReason": "icon.use-case",
"use-cases": [],
"tags": [
"discount",
+2
View File
@@ -3,6 +3,8 @@
"contributors": [
"Guido3000"
],
"deprecated": true,
"deprecationReason": "icon.use-case",
"use-cases": [
"Selecting euro in currency selector buttons",
"Displaying prices in euros on pricing badges"
+2
View File
@@ -6,6 +6,8 @@
"danielbayley",
"LieOnLion"
],
"deprecated": true,
"deprecationReason": "icon.use-case",
"use-cases": [],
"tags": [
"monetization",
+2 -2
View File
@@ -9,6 +9,6 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<line x1="12" x2="12" y1="2" y2="22" />
<path d="M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6" />
<path d="M12 3v18" />
<path d="M17 5H9.5a1 1 0 000 7h5a1 1 0 010 7H6" />
</svg>

Before

Width:  |  Height:  |  Size: 315 B

After

Width:  |  Height:  |  Size: 285 B

+4 -4
View File
@@ -9,8 +9,8 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M11.5 21a7.5 7.5 0 1 1 7.35-9" />
<path d="M13 12V3" />
<path d="M4 21h16" />
<path d="M9 12V3" />
<path d="M10 10V3" />
<path d="M14 10V3" />
<path d="M19 13a7 7 0 10-7 7" />
<path d="M5 20h14" />
</svg>

Before

Width:  |  Height:  |  Size: 324 B

After

Width:  |  Height:  |  Size: 315 B

+2 -4
View File
@@ -9,9 +9,7 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M6 3h12" />
<path d="m14 20-8-8h4c5.333 0 5.333-8 0-8" />
<path d="M6 4h12" />
<path d="M6 8h12" />
<path d="m6 13 8.5 8" />
<path d="M6 13h3" />
<path d="M9 13c6.667 0 6.667-10 0-10" />
</svg>

Before

Width:  |  Height:  |  Size: 347 B

After

Width:  |  Height:  |  Size: 302 B

+4 -3
View File
@@ -9,7 +9,8 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M12 9.5V21m0-11.5L6 3m6 6.5L18 3" />
<path d="M6 15h12" />
<path d="M6 11h12" />
<path d="M12 12v8" />
<path d="m6 4 6 8 6-8" />
<path d="M8 13h8" />
<path d="M8 17h8" />
</svg>

Before

Width:  |  Height:  |  Size: 304 B

After

Width:  |  Height:  |  Size: 306 B

+1 -3
View File
@@ -17,8 +17,6 @@
"npr"
],
"categories": [
"finance",
"shopping",
"travel"
"finance"
]
}
+3 -5
View File
@@ -9,9 +9,7 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M18 16.173 A4.74 4.74 0 0 0 13.496 8.005" />
<path d="M4 3 L20 3" />
<path d="M5 13 L13.5 21" />
<path d="M5 13 L9 13" />
<path d="M8 13 C15.5 13 14.667 3 8 3" />
<path d="m14 20-8-8h4c5.333 0 5.333-8 0-8" />
<path d="M14 8c4.078 0 5.038 4.678 2.88 6.88" />
<path d="M6 4h12" />
</svg>

Before

Width:  |  Height:  |  Size: 390 B

After

Width:  |  Height:  |  Size: 330 B

+3 -3
View File
@@ -9,7 +9,7 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M20 11H4" />
<path d="M20 7H4" />
<path d="M7 21V4a1 1 0 0 1 1-1h4a1 1 0 0 1 0 12H7" />
<path d="M4 12h16" />
<path d="M4 8h16" />
<path d="M6 20V5a1 1 0 011-1h5a6 6 0 010 12H6" />
</svg>

Before

Width:  |  Height:  |  Size: 311 B

After

Width:  |  Height:  |  Size: 307 B

+2 -4
View File
@@ -9,8 +9,6 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M18 7c0-5.333-8-5.333-8 0" />
<path d="M10 7v14" />
<path d="M6 21h12" />
<path d="M6 13h10" />
<path d="M17 18a2 2 0 01-2 2H5a3 3 0 003-3V8a4 4 0 018 0" />
<path d="M6 12h7" />
</svg>

Before

Width:  |  Height:  |  Size: 321 B

After

Width:  |  Height:  |  Size: 294 B

+3 -2
View File
@@ -4,6 +4,8 @@
"danielbayley",
"karsa-mistmere"
],
"deprecated": true,
"deprecationReason": "icon.use-case",
"use-cases": [],
"tags": [
"bill",
@@ -19,7 +21,6 @@
"¢"
],
"categories": [
"finance",
"travel"
"finance"
]
}
+3 -2
View File
@@ -4,6 +4,8 @@
"danielbayley",
"karsa-mistmere"
],
"deprecated": true,
"deprecationReason": "icon.use-case",
"use-cases": [],
"tags": [
"bill",
@@ -15,7 +17,6 @@
"€"
],
"categories": [
"finance",
"travel"
"finance"
]
}
+3 -2
View File
@@ -4,6 +4,8 @@
"danielbayley",
"karsa-mistmere"
],
"deprecated": true,
"deprecationReason": "icon.use-case",
"use-cases": [],
"tags": [
"bill",
@@ -16,7 +18,6 @@
"₹"
],
"categories": [
"finance",
"travel"
"finance"
]
}
+3 -2
View File
@@ -5,6 +5,8 @@
"ericfennis",
"karsa-mistmere"
],
"deprecated": true,
"deprecationReason": "icon.use-case",
"use-cases": [],
"tags": [
"bill",
@@ -17,7 +19,6 @@
"¥"
],
"categories": [
"finance",
"travel"
"finance"
]
}
+3 -2
View File
@@ -4,6 +4,8 @@
"danielbayley",
"karsa-mistmere"
],
"deprecated": true,
"deprecationReason": "icon.use-case",
"use-cases": [],
"tags": [
"bill",
@@ -17,7 +19,6 @@
"£"
],
"categories": [
"finance",
"travel"
"finance"
]
}
+3 -2
View File
@@ -4,6 +4,8 @@
"danielbayley",
"karsa-mistmere"
],
"deprecated": true,
"deprecationReason": "icon.use-case",
"use-cases": [],
"tags": [
"bill",
@@ -16,7 +18,6 @@
"₽"
],
"categories": [
"finance",
"travel"
"finance"
]
}
+1 -2
View File
@@ -18,7 +18,6 @@
"₣"
],
"categories": [
"finance",
"travel"
"finance"
]
}
+3 -2
View File
@@ -5,6 +5,8 @@
"jamiemlaw",
"karsa-mistmere"
],
"deprecated": true,
"deprecationReason": "icon.use-case",
"use-cases": [],
"tags": [
"bill",
@@ -17,7 +19,6 @@
"₺"
],
"categories": [
"finance",
"travel"
"finance"
]
}
+2 -2
View File
@@ -9,6 +9,6 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M6 11h8a4 4 0 0 0 0-8H9v18" />
<path d="M6 15h8" />
<path d="M4 16h6" />
<path d="M7 20V5a1 1 0 011-1h6a4 4 0 010 8H4" />
</svg>

Before

Width:  |  Height:  |  Size: 273 B

After

Width:  |  Height:  |  Size: 282 B

+4 -4
View File
@@ -9,8 +9,8 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="m20 19.5-5.5 1.2" />
<path d="M14.5 4v11.22a1 1 0 0 0 1.242.97L20 15.2" />
<path d="m2.978 19.351 5.549-1.363A2 2 0 0 0 10 16V2" />
<path d="M20 10 4 13.5" />
<path d="M10 2.977v13.19a2 2 0 01-1.23 1.846L4 19.999" />
<path d="M14 4v9.523a1 1 0 001.371.928L19 13" />
<path d="m19 18-5 2" />
<path d="M19 8 4 14" />
</svg>

Before

Width:  |  Height:  |  Size: 384 B

After

Width:  |  Height:  |  Size: 371 B

+2 -2
View File
@@ -9,7 +9,7 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M10 21V3h8" />
<path d="M10 10h7" />
<path d="M10 20V5a1 1 0 011-1h7" />
<path d="M6 16h9" />
<path d="M10 9.5h7" />
</svg>

Before

Width:  |  Height:  |  Size: 282 B

After

Width:  |  Height:  |  Size: 293 B

+3 -3
View File
@@ -9,7 +9,7 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M15 4 5 9" />
<path d="m15 8.5-10 5" />
<path d="M18 12a9 9 0 0 1-9 9V3" />
<path d="m14 10-8 4" />
<path d="M14 5 6 9" />
<path d="M18 12a8 8 0 01-7.003 7.937c-.547.07-.997-.385-.997-.937V4" />
</svg>

Before

Width:  |  Height:  |  Size: 299 B

After

Width:  |  Height:  |  Size: 333 B