Skip to content

Commit dfedbc0

Browse files
committed
fix: svg imperfections
1 parent 1672f69 commit dfedbc0

File tree

1 file changed

+15
-17
lines changed

1 file changed

+15
-17
lines changed

packages/gamut-illustrations/src/ExplodedCubeLight.tsx

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,79 +13,77 @@ export const ExplodedCubeLight: React.FC<IllustrationProps> = ({
1313
className={className}
1414
width={width}
1515
height={height}
16-
viewBox="0 0 151 113"
16+
viewBox="0 0 148 102"
1717
fill="none"
1818
xmlns="http://www.w3.org/2000/svg"
1919
xmlnsXlink="http://www.w3.org/1999/xlink"
2020
>
2121
<path
22-
d="M83.7448 16.2144L114.489 33.9646L114.49 69.34L83.7453 51.5898L83.7448 16.2144Z"
22+
d="M83.0002 11.7573L113.745 29.5075L113.745 64.8829L83.0007 47.1327L83.0002 11.7573Z"
2323
fill="#FF8C00"
2424
stroke="#10162F"
2525
strokeWidth="2"
2626
strokeMiterlimit="10"
2727
/>
2828
<path
29-
d="M70.3431 20.0535L70.3453 55.4298L39.7074 73.1161L39.7069 37.7407L70.3431 20.0535Z"
29+
d="M69.5985 15.5964L69.6006 50.9727L38.9627 68.659L38.9622 33.2836L69.5985 15.5964Z"
3030
stroke="#10162F"
3131
strokeWidth="2"
3232
strokeMiterlimit="10"
3333
/>
3434
<path
35-
d="M81.0531 65.0315L111.727 82.7413L81.0895 100.428L50.4169 82.7188L81.0531 65.0315Z"
35+
d="M80.3084 60.575L110.983 78.2848L80.3447 95.971L49.6721 78.2622L80.3084 60.575Z"
3636
fill="#F5FCFF"
3737
stroke="#10162F"
3838
strokeWidth="2"
3939
strokeMiterlimit="10"
4040
/>
4141
<path
42-
d="M70.3431 20.0535L70.3453 55.4298L39.7074 73.1161L39.7069 37.7407L70.3431 20.0535Z"
42+
d="M69.5985 15.5964L69.6006 50.9727L38.9627 68.659L38.9622 33.2836L69.5985 15.5964Z"
43+
fill="#F5FCFF"
4344
stroke="#10162F"
4445
strokeWidth="2"
4546
strokeMiterlimit="10"
4647
/>
4748
<path
48-
d="M94.2652 41.6374L94.2657 77.0128L63.6295 94.7L63.6273 59.3237L94.2652 41.6374Z"
49+
d="M93.5205 37.1806L93.521 72.556L62.8848 90.2433L62.8826 54.8669L93.5205 37.1806Z"
4950
fill="white"
5051
/>
5152
<path
52-
d="M94.2652 41.6374L94.2657 77.0128L63.6295 94.7L63.6273 59.3237L94.2652 41.6374Z"
53-
fill="url(#pattern0_1589_77116)"
53+
d="M93.5205 37.1806L93.521 72.556L62.8848 90.2433L62.8826 54.8669L93.5205 37.1806Z"
54+
fill="url(#pattern0)"
5455
/>
5556
<path
56-
d="M94.2652 41.6374L94.2657 77.0128L63.6295 94.7L63.6273 59.3237L94.2652 41.6374Z"
57+
d="M93.5205 37.1806L93.521 72.556L62.8848 90.2433L62.8826 54.8669L93.5205 37.1806Z"
5758
stroke="#10162F"
5859
strokeWidth="2"
5960
strokeMiterlimit="10"
6061
/>
6162
<path
62-
d="M32.8539 41.5571L63.5982 59.3073L63.5987 94.6827L32.8544 76.9325L32.8539 41.5571Z"
63+
d="M30.1092 37.1003L60.8535 54.8505L60.854 90.2259L30.1097 72.4757L30.1092 37.1003Z"
6364
fill="#FF8C00"
6465
stroke="#10162F"
6566
strokeWidth="2"
6667
strokeMiterlimit="10"
6768
/>
6869
<path
69-
d="M73.1883 9.43471L103.863 27.1445L73.2247 44.8308L42.5521 27.122L73.1883 9.43471Z"
70+
d="M72.4436 4.97803L103.118 22.6878L72.48 40.3741L41.8074 22.6653L72.4436 4.97803Z"
7071
fill="#F5FCFF"
7172
stroke="#10162F"
7273
strokeWidth="2"
7374
strokeMiterlimit="10"
7475
/>
7576
<defs>
7677
<pattern
77-
id="pattern0_1589_77116"
78+
id="pattern0"
7879
patternContentUnits="objectBoundingBox"
7980
width="1.04453"
8081
height="1.80902"
8182
>
82-
<use
83-
xlinkHref="#image0_1589_77116"
84-
transform="scale(0.0163208 0.028266)"
85-
/>
83+
<use xlinkHref="#image0" transform="scale(0.0163208 0.028266)" />
8684
</pattern>
8785
<image
88-
id="image0_1589_77116"
86+
id="image0"
8987
width="64"
9088
height="64"
9189
preserveAspectRatio="none"

0 commit comments

Comments
 (0)