Skip to content

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

fix: make bento grid background black

Dillion Verma6a31b45438ce
diff --git a/registry/components/magicui/bento-grid.tsx b/registry/components/magicui/bento-grid.tsx
index 267c82ba..f7c1ef2f 100644
--- a/registry/components/magicui/bento-grid.tsx
+++ b/registry/components/magicui/bento-grid.tsx
@@ -46,7 +46,7 @@ const BentoCard = ({
// light styles
"bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)]",
// dark styles
- "transform-gpu dark:bg-transparent dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset]",
+ "transform-gpu dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset]",
className,
)}
>