We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b9ac7b commit 4fefd00Copy full SHA for 4fefd00
src/components/SocialListItem.tsx
@@ -9,14 +9,6 @@ import {
9
10
import { cn } from "@/lib/utils/cn"
11
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
-
20
const icons = {
21
reddit: FaRedditAlien,
22
twitter: FaXTwitter,
@@ -38,7 +30,7 @@ const SocialListItem = ({
38
30
const Icon = icons[socialIcon]
39
31
return (
40
32
<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")} />
42
34
<div className="font-normal italic">{children}</div>
43
35
</div>
44
36
)
0 commit comments