-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ui-ux): updated twitter logo to its latest version (#1843)
* chore(ui-ux): updated twitter logo to its latest version * trigger GitHub actions --------- Co-authored-by: pierregee <[email protected]>
- Loading branch information
1 parent
e5d6748
commit ea8d6ff
Showing
2 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { SVGProps } from "react"; | ||
import { useTheme } from "@contexts/ThemeContext"; | ||
|
||
export function TwitterIcon({ | ||
color, | ||
...props | ||
}: SVGProps<SVGSVGElement>): JSX.Element { | ||
const { theme } = useTheme(); | ||
const fill = theme === "dark" ? "#ffffff" : "#000000"; | ||
return ( | ||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" {...props}> | ||
<path | ||
d="M10.0681 10.8965L20.8786 25.3514L10 37.1035H12.4485L21.9729 26.8141L29.6681 37.1035H38L26.581 21.8358L36.7069 10.8965H34.2584L25.4872 20.3726L18.4 10.8965H10.0681ZM13.6688 12.7004H17.4964L34.3989 35.3001H30.5712L13.6688 12.7004Z" | ||
fill={fill} | ||
/> | ||
</svg> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters