UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
✨ feat: improved dark styles
Dillion Vermaa6f20e0d5b8e
diff --git a/registry/components/magicui/bento-grid.tsx b/registry/components/magicui/bento-grid.tsxindex 88f9d9f7..5c1ae600 100644--- a/registry/components/magicui/bento-grid.tsx+++ b/registry/components/magicui/bento-grid.tsx@@ -40,7 +40,11 @@ const BentoCard = ({<divkey={name}className={cn(- "group relative flex flex-col justify-between overflow-hidden rounded-xl 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:bg-neutral-900",+ "group relative flex flex-col justify-between overflow-hidden rounded-xl",+ // 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+ "dark:bg-transparent dark:backdrop-blur-md dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset]",span,)}>