Skip to content

Commit 4fefd00

Browse files
committed
design: remove icon colors
1 parent 5b9ac7b commit 4fefd00

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/components/SocialListItem.tsx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,6 @@ import {
99

1010
import { cn } from "@/lib/utils/cn"
1111

12-
const socialColorClasses = {
13-
reddit: "text-[#ff4301]",
14-
twitter: "text-[#1da1f2]",
15-
youtube: "text-[#ff0000]",
16-
discord: "text-[#7289da]",
17-
stackExchange: "text-[#48a2da]",
18-
}
19-
2012
const icons = {
2113
reddit: FaRedditAlien,
2214
twitter: FaXTwitter,
@@ -38,7 +30,7 @@ const SocialListItem = ({
3830
const Icon = icons[socialIcon]
3931
return (
4032
<div className={cn("flex w-full items-center px-0 py-2", className)}>
41-
<Icon className={cn("size-10 pe-3", socialColorClasses[socialIcon])} />
33+
<Icon className={cn("size-10 pe-3 text-body")} />
4234
<div className="font-normal italic">{children}</div>
4335
</div>
4436
)

0 commit comments

Comments
 (0)