Skip to content

Commit 66a0516

Browse files
fix(dialog-modal): set dynamic bg color to modal content
1 parent a8405f2 commit 66a0516

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ui/dialog-modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { useDisclosure } from "@/hooks/useDisclosure"
1313
const dialogVariant = tv({
1414
slots: {
1515
content:
16-
"data-[state=open]:animate-contentShow w-full fixed left-1/2 top-1/2 grid -translate-x-1/2 -translate-y-1/2 gap-4 rounded-md bg-white p-8 shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px] focus:outline-none z-modal",
16+
"data-[state=open]:animate-contentShow w-full fixed left-1/2 top-1/2 grid -translate-x-1/2 -translate-y-1/2 gap-4 rounded-md bg-background p-8 shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px] focus:outline-none z-modal",
1717
overlay:
1818
"data-[state=open]:animate-overlayShow fixed inset-0 bg-black/70 z-overlay",
1919
header: "relative pe-12",

0 commit comments

Comments
 (0)