Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Use backgroundColor in Avatar head and shoulders

Rafi22f9d7721a2e
diff --git a/packages/ui/src/avatar.tsx b/packages/ui/src/avatar.tsx
index aae9b09c7b..4271b463ea 100644
--- a/packages/ui/src/avatar.tsx
+++ b/packages/ui/src/avatar.tsx
@@ -49,14 +49,14 @@ export function Avatar({
<div
className="absolute left-[30%] top-[22%] aspect-square w-[40%] rounded-full"
style={{
- background: theme.fg,
+ backgroundColor: theme.fg,
...headStyle,
}}
/>
<div
className="absolute left-[10%] top-[70%] h-[40%] w-[80%] rounded-t-full"
style={{
- background: theme.fg,
+ backgroundColor: theme.fg,
...shouldersStyle,
}}
/>