Skip to content

Commit

Permalink
chore: replace sui icon (#1273)
Browse files Browse the repository at this point in the history
* chore: replace sui icon

* fix: add change log

* fix: snapshots

* fix: resize
  • Loading branch information
Likang0122 authored Dec 4, 2024
1 parent 6192132 commit 1072532
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 33 deletions.
5 changes: 5 additions & 0 deletions .changeset/giant-readers-enjoy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ant-design/web3-icons': patch
---

chore: replace sui icon
53 changes: 32 additions & 21 deletions packages/icons/src/__tests__/__snapshots__/index.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -8506,31 +8506,42 @@ exports[`Test Icons > should render all icons 153`] = `
fill="currentColor"
focusable="false"
height="1em"
id="ant-web3-icon-sui-circle-colorful-svg10"
sodipodi:docname="Sui SUI Coin Icon 256x256.svg"
viewBox="0 0 256 256"
viewBox="0 0 1024 1024"
width="1em"
x="0px"
xml:space="preserve"
xmlns="http://www.w3.org/2000/svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
y="0px"
>
<circle
cx="128"
cy="128"
id="ant-web3-icon-sui-circle-colorful-path1579"
r="128"
style="fill: #6FBCF0;"
/>
<path
d="M66.6,194.6c12.8,22.2,35.8,35.5,61.4,35.5c25.6,0,48.6-13.3,61.4-35.5c12.8-22.2,12.8-48.7,0-70.9 l-54-93.6c-3.3-5.7-11.5-5.7-14.8,0l-54,93.6C53.7,145.9,53.7,172.4,66.6,194.6L66.6,194.6z M112.8,74.6l11.5-20 c1.6-2.8,5.8-2.8,7.4,0l44.3,76.8c8.1,14.1,9.7,30.4,4.6,45.4c-0.5-2.4-1.3-4.9-2.3-7.4c-6.1-15.5-20-27.4-41.2-35.4 c-14.6-5.5-23.9-13.7-27.6-24.2C104.7,96.2,109.8,81.4,112.8,74.6L112.8,74.6z M93.1,108.6L80,131.4c-10,17.4-10,38.1,0,55.5 c10,17.4,28,27.7,48,27.7c13.3,0,25.7-4.6,35.5-12.7c1.3-3.2,5.2-14.9,0.3-27c-4.5-11.2-15.3-20.1-32.2-26.5 c-19-7.2-31.4-18.5-36.8-33.5C94.1,112.8,93.6,110.7,93.1,108.6z"
id="ant-web3-icon-sui-circle-colorful-path8"
style="fill-rule: evenodd; clip-rule: evenodd; fill: #FFFFFF; stroke: #FFFFFF; stroke-width: 5.8052; stroke-opacity: 0;"
/>
<g
fill="none"
fill-rule="evenodd"
stroke="none"
stroke-width="1"
>
<g>
<g>
<rect
fill="#FFFFFF"
fill-rule="nonzero"
height="575.403462"
width="632.671105"
x="195.323569"
y="175.211718"
/>
<path
d="M1024,512 C1024,794.772623 794.772623,1024 512,1024 C229.230104,1024 0,794.772623 0,512 C0,229.230104 229.230104,0 512,0 C794.772623,0 1024,229.230104 1024,512 Z"
fill="#4DA2FF"
/>
</g>
<g
fill="#FFFFFF"
transform="translate(231.68, 153.6)"
>
<path
d="M449.723307,298.814656 C478.943147,335.453801 496.549973,382.000469 496.549973,432.47276 C496.549973,482.945052 478.568533,530.800261 448.41216,567.813274 L445.789867,570.991159 L445.04064,566.878602 C444.47872,563.513783 443.729493,559.962029 442.980267,556.410275 C427.995733,490.422428 378.921387,433.781301 298.004907,387.795436 C243.498667,356.951258 212.218453,319.75131 203.97696,277.504134 C198.732373,250.211709 202.665813,222.732351 210.15808,199.178615 C217.837653,175.624879 229.076053,155.996766 238.628693,144.219898 L270.096213,105.898344 C275.528107,99.1687052 286.01728,99.1687052 291.449173,105.898344 L449.723307,298.814656 L449.723307,298.814656 Z M499.359573,260.493102 L288.82688,3.64522102 C284.89344,-1.21507367 277.213867,-1.21507367 273.280427,3.64522102 L62.5604267,260.493102 L61.8112,261.427774 C23.2260267,309.469918 0,370.410536 0,436.772252 C0,591.36701 125.87008,716.8 280.96,716.8 C436.04992,716.8 561.92,591.36701 561.92,436.772252 C561.92,370.410536 538.693973,309.469918 499.921493,261.427774 L499.359573,260.493102 L499.359573,260.493102 Z M112.94592,298.066919 L131.676587,275.073986 L132.238507,279.373478 C132.61312,282.738297 133.17504,286.103116 133.924267,289.467936 C146.0992,353.21257 189.741653,406.488877 262.41664,447.614448 C325.726293,483.505855 362.4384,524.81836 373.11488,570.243422 C377.61024,589.123797 378.359467,607.817238 376.4864,624.080532 L376.299093,625.015204 L375.36256,625.389073 C346.891947,639.222219 314.6752,647.073465 280.772693,647.073465 C161.83296,647.073465 65.3700267,550.989177 65.3700267,432.47276 C65.3700267,381.626601 83.16416,334.706063 112.94592,298.066919 L112.94592,298.066919 Z"
/>
</g>
</g>
</g>
</svg>
</span>
`;
Expand Down
25 changes: 13 additions & 12 deletions packages/icons/src/svgs/sui-circle-colorful.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1072532

Please sign in to comment.