Skip to content

Commit d2d59e6

Browse files
committed
feat: add Motion SVG component and update React SVG styles
1 parent 950ed84 commit d2d59e6

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import type { SVGProps } from "react";
2+
3+
const Motion = (props: SVGProps<SVGSVGElement>) => (
4+
<svg {...props} viewBox="0 0 1103 386">
5+
<path
6+
className="fill-yellow-500 dark:fill-yellow-300"
7+
d="M416.473 0 198.54 385.66H0L170.17 84.522C196.549 37.842 262.377 0 317.203 0Zm486.875 96.415c0-53.249 44.444-96.415 99.27-96.415 54.826 0 99.27 43.166 99.27 96.415 0 53.248-44.444 96.415-99.27 96.415-54.826 0-99.27-43.167-99.27-96.415ZM453.699 0h198.54L434.306 385.66h-198.54Zm234.492 0h198.542L716.56 301.138c-26.378 46.68-92.207 84.522-147.032 84.522h-99.27Z"
8+
/>
9+
</svg>
10+
);
11+
12+
export { Motion };

apps/website/src/components/ui/svgs/react.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ const React = (props: SVGProps<SVGSVGElement>) => (
99
<g fill="none" fillRule="evenodd">
1010
<g
1111
transform="translate(-227, -256)"
12-
fill="currentColor"
1312
fillRule="nonzero"
13+
className="fill-blue-600 dark:fill-blue-400"
1414
>
1515
<g transform="translate(227, 256)">
1616
<path

0 commit comments

Comments
 (0)