Skip to content

Commit c65a0d6

Browse files
committed
fix: (library) fixed SWC SVG file
1 parent 386575d commit c65a0d6

1 file changed

Lines changed: 18 additions & 14 deletions

File tree

library/src/library/swc.tsx

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,31 @@ import type { ComponentProps, FC } from "react";
22

33
const SWC: FC<ComponentProps<"svg">> = (props) => (
44
<svg
5-
xmlns="http://www.w3.org/2000/svg"
6-
style={{ isolation: "isolate" }}
7-
viewBox="0 0 48 48"
5+
xmlnsXlink="http://www.w3.org/1999/xlink"
6+
viewBox="0 0 976.9 346.4"
87
{...props}
98
>
109
<linearGradient
11-
id="a"
12-
x1="0"
13-
x2="1"
14-
y1="0.5"
15-
y2="0.5"
16-
gradientTransform="matrix(40 0 0 14.012 4 17.169)"
10+
id="swc__a"
1711
gradientUnits="userSpaceOnUse"
12+
x1="2.9644"
13+
x2="973.6517"
14+
y1="172.8813"
15+
y2="172.8813"
1816
>
19-
<stop offset="0%" stopColor="#ffa888"></stop>
20-
<stop offset="100%" stopColor="#f1e323"></stop>
17+
<stop offset="0" stop-color="#ffa588" />
18+
<stop offset=".271" stop-color="#fcb371" />
19+
<stop offset=".8357" stop-color="#f4d837" />
20+
<stop offset="1" stop-color="#f1e425" />
2121
</linearGradient>
2222
<path
23-
fill="url(#a)"
24-
d="M7.791 17.17c-.003.004-.094.014-.201.027-.104.01-.225.027-.269.037-.04.01-.11.024-.157.03a2.7 2.7 0 0 0-.453.125c-.037.013-.161.063-.279.11-.59.235-1.194.711-1.613 1.278-.094.128-.185.249-.198.269-.151.198-.47.976-.53 1.291-.108.561-.121 1.181-.034 1.594.145.691.352 1.154.752 1.687.1.134.822.886 1.607 1.668 1.023 1.023 1.439 1.466 1.486 1.566a.74.74 0 0 1-.383.97c-.117.05-.238.06-.889.063-.412 0-.822.017-.905.034a1.64 1.64 0 0 0-1.292 1.546 1.65 1.65 0 0 0 .738 1.443c.335.228.577.272 1.573.272.742 0 1.01-.02 1.325-.091l.182-.037c.305-.053 1.184-.463 1.328-.617.01-.01.074-.06.144-.111.222-.167.561-.516.765-.795a4.44 4.44 0 0 0 .755-1.912c.027-.235.03-.835.003-.973-.01-.047-.033-.178-.057-.295-.097-.544-.406-1.211-.761-1.661-.104-.134-.829-.879-1.607-1.66-1.55-1.553-1.553-1.553-1.513-1.886.06-.516.564-.811 1.023-.603.107.047 1.332 1.254 4.918 4.837a864 864 0 0 0 4.888 4.871c.064.054.235.175.382.272 1.413.926 3.234.872 4.613-.128.215-.157.637-.577.805-.798l.118-.158.385.383c.339.332.43.416.588.543.02.014.13.091.248.168 1.335.886 3.214.869 4.552-.047.235-.161.312-.225.564-.466.557-.54.986-1.359 1.137-2.181.05-.255.057-1.144.013-1.359l-.037-.201c-.087-.446-.385-1.093-.711-1.53-.097-.134-.808-.875-1.58-1.647-.771-.771-1.439-1.456-1.483-1.516-.104-.144-.13-.47-.057-.644a.83.83 0 0 1 .332-.389c.094-.054.222-.061 1.108-.071l.999-.01-.027.178c-.033.211-.03 1.003 0 1.167.014.064.031.161.041.218.043.229.164.588.288.853.309.66.269.613 3.684 4.039 1.744 1.751 3.294 3.277 3.442 3.391a3.84 3.84 0 0 0 1.811.809c.309.053.849.07 1.107.033.356-.053.544-.094.782-.171a4.01 4.01 0 0 0 2.741-3.361c.083-.785-.118-1.332-.634-1.735a1.63 1.63 0 0 0-1.815-.114c-.483.269-.795.799-.826 1.389-.026.503-.412.802-.889.685-.157-.037-.278-.155-3.227-3.097-1.684-1.681-3.103-3.123-3.15-3.2-.158-.265-.097-.661.134-.883.181-.174.292-.197 1.013-.197.809 0 1.044-.047 1.393-.286a1.643 1.643 0 0 0-.175-2.841c-.339-.175-.295-.171-4.069-.175-3.744 0-3.932.007-4.361.121-.074.017-.158.041-.185.044-.1.023-.493.178-.637.251-.446.225-1.047.715-1.365 1.111-.222.278-.517.832-.645 1.201-.416 1.214-.244 2.489.473 3.563.172.258.47.577 1.681 1.791.809.812 1.496 1.52 1.527 1.577.12.235.06.6-.141.815-.168.181-.272.221-.574.221-.218 0-.292-.013-.386-.074-.064-.04-2.408-2.365-5.216-5.169-3.842-3.841-5.15-5.129-5.297-5.217a1.69 1.69 0 0 0-1.235-.188c-.587.138-1.11.685-1.224 1.275-.081.42.02.903.261 1.258.051.074 1.637 1.681 3.529 3.573 3.134 3.137 3.442 3.452 3.479 3.59.074.265.034.469-.137.711-.168.231-.608.318-.886.174-.064-.037-2.295-2.241-4.958-4.898-3.841-3.841-4.891-4.871-5.099-5.008-.705-.47-1.409-.698-2.214-.718a7 7 0 0 0-.336-.004"
25-
></path>
23+
d="m877.1 342.8c-26.1 0-50.7-10.2-69.2-28.7l-144.1-144.1c-14.5-14.5-24-32.6-27.4-52.3-2-11.5-1.9-23.3.3-34.8h-42.6c-10.4 0-14.8 6.9-16.5 11s-3.5 12.1 3.9 19.5l62.3 62.3c14.5 14.5 24 32.6 27.4 52.3 3.2 18.2 1 37-6.1 54.4-7.2 17.3-19 32.1-34.1 42.8-16.4 11.5-35.8 17.6-56.3 17.6h-2c-26.1 0-50.7-10.2-69.2-28.7l-13.8-13.8c-6.6 9.7-14.8 18.1-24.4 24.8-16.4 11.5-35.8 17.6-56.3 17.6-26.1 0-50.7-10.2-69.2-28.7l-226-226c-3.4-3.4-7.9-5.2-12.6-5.2-10.4 0-14.8 6.9-16.5 11s-3.5 12.1 3.9 19.5l62.3 62.3c14.5 14.5 24 32.6 27.4 52.3 3.2 18.2 1 37-6.1 54.4-7.2 17.3-19 32.1-34.1 42.8-16.4 11.5-35.8 17.6-56.3 17.6h-28.5c-22.1 0-40-17.9-40-40s17.9-40 40-40h28.1c10.4 0 14.8-6.9 16.5-11s3.5-12.1-3.9-19.5l-62.2-62.2c-14.5-14.5-24-32.6-27.4-52.3-3.2-18.2-1-37 6.1-54.4 7.2-17.3 19-32.1 34.1-42.8 16.4-11.5 35.9-17.6 56.4-17.6 26.1 0 50.7 10.2 69.2 28.7l226 226c3.4 3.4 7.9 5.2 12.6 5.2 10.4 0 14.8-6.9 16.5-11s3.5-12.1-3.8-19.4l-161.2-161.2c-15.6-15.6-15.6-40.9 0-56.6s40.9-15.6 56.6 0l161.1 161.1c.1.1.1.1.2.2l81.7 81.7c3.4 3.4 7.9 5.2 12.6 5.2h2c10.4 0 14.8-6.9 16.5-11s3.5-12.1-3.9-19.5l-62.2-62.3c-14.5-14.5-24-32.6-27.4-52.3-3.2-18.2-1-37 6.1-54.4 7.2-17.3 19-32.1 34.1-42.8 16.4-11.5 35.9-17.6 56.4-17.6h162.9c22.1 0 40 17.9 40 40s-17.9 40-40 40h-24c-10.4 0-14.8 6.9-16.5 11s-3.5 12.1 3.9 19.5l144.1 144.1c3.4 3.4 7.9 5.2 12.6 5.2 9.1 0 16.5-7.4 16.5-16.5 0-22.1 17.9-40 40-40s40 17.9 40 40c.1 53.3-43.3 96.6-96.5 96.6z"
24+
fill="url(#swc__a)"
25+
/>
26+
<path
27+
d="m877.1 307.8c-16.8 0-32.6-6.5-44.5-18.4l-144.1-144.1c-18.3-18.3-23.5-44.6-13.6-68.5 5.1-12.2 13.4-22.1 23.7-28.8h-104.5c-21.8 0-40.5 12.5-48.9 32.6s-3.9 42.2 11.5 57.6l62.3 62.3c18.3 18.3 23.5 44.6 13.6 68.5s-32.2 38.8-58.1 38.8h-2c-16.8 0-32.6-6.5-44.5-18.4l-57.5-57.5c2.6 12.1 1.4 24.9-3.6 37.1-9.9 23.9-32.2 38.8-58.1 38.8-16.8 0-32.6-6.5-44.5-18.4l-226-226c-10-10-23.3-15.5-37.4-15.5-21.8 0-40.5 12.5-48.9 32.6-8.3 20.1-3.9 42.2 11.5 57.6l62.3 62.3c18.3 18.3 23.5 44.6 13.6 68.5s-32.2 38.8-58.1 38.8h-28c-2.8 0-5-2.2-5-5s2.2-5 5-5h28.1c21.8 0 40.5-12.5 48.9-32.6s3.9-42.2-11.5-57.6l-62.3-62.3c-18.3-18.2-23.5-44.5-13.6-68.4 9.9-24 32.1-38.9 58.1-38.9 16.8 0 32.6 6.5 44.5 18.4l226 226c10 10 23.3 15.5 37.4 15.5 21.8 0 40.5-12.5 48.9-32.6 8.3-20.1 4-42.1-11.4-57.5l-161.3-161.2c-2-2-2-5.1 0-7.1s5.1-2 7.1 0l161.1 161.1s.1.1.1.1l81.7 81.7c10 10 23.3 15.5 37.4 15.5h2c21.8 0 40.5-12.5 48.9-32.6 8.3-20.1 3.9-42.2-11.5-57.6l-62.3-62.3c-18.3-18.3-23.5-44.6-13.6-68.5s32.2-38.8 58.1-38.8h162.9c2.8 0 5 2.2 5 5s-2.2 5-5 5h-24c-21.8 0-40.5 12.5-48.9 32.6-8.3 20.1-3.9 42.2 11.5 57.6l144.1 144.1c10 10 23.3 15.5 37.4 15.5 28.4 0 51.5-23.1 51.5-51.5 0-2.8 2.2-5 5-5s5 2.2 5 5c.1 33.9-27.5 61.5-61.5 61.5z"
28+
fill="#fff"
29+
/>
2630
</svg>
2731
);
2832

0 commit comments

Comments
 (0)