Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

🐛 fix: update magic card color

Dillion Vermabda63d1e1aac
diff --git a/registry/components/magicui/magic-card.tsx b/registry/components/magicui/magic-card.tsx
index a1b0eb9d..6572ac11 100644
--- a/registry/components/magicui/magic-card.tsx
+++ b/registry/components/magicui/magic-card.tsx
@@ -200,7 +200,7 @@ const MagicCard: React.FC<MagicCardProps> = ({
className={cn(
"relative z-0 h-full w-full rounded-2xl p-6",
"bg-gray-300 dark:bg-gray-700",
- "bg-[radial-gradient(var(--mask-size)_circle_at_var(--mouse-x)_var(--mouse-y),var(--border-color),transparent_100%)]",
+ "bg-[radial-gradient(var(--mask-size)_circle_at_var(--mouse-x)_var(--mouse-y),hsl(var(--primary))_0,hsl(var(--secondary))_50%,transparent_100%)]",
className,
)}
style={