Skip to content

Commit 351c1f5

Browse files
authored
Merge pull request #59 from h3rmel/fix/dialog-color-scheme
[FIX] Adjust on Dialog color-scheme for dark theme
2 parents 74e0d8b + 957feb2 commit 351c1f5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

components/retroui/Dialog.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ DialogBackdrop.displayName = "DialogBackdrop";
5151

5252
const dialogVariants = cva(
5353
`fixed z-50 left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2
54-
flex flex-col border-2 shadow-md gap-4 overflow-y-auto bg-white
54+
flex flex-col border-2 shadow-md gap-4 overflow-y-auto bg-background text-foreground
5555
w-full h-fit max-h-[80vh] max-w-[97%] duration-300
5656
data-[state=open]:animate-in
5757
data-[state=open]:slide-in-from-left-1/2
@@ -136,7 +136,7 @@ const dialogFooterVariants = cva(
136136
{
137137
variants: {
138138
variant: {
139-
default: "bg-white text-black",
139+
default: "bg-background text-foreground",
140140
},
141141
position: {
142142
fixed: "sticky bottom-0",

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,6 @@
5656
"tailwindcss": "^4.0.14",
5757
"tailwindcss-animate": "^1.0.7",
5858
"typescript": "^5"
59-
}
59+
},
60+
"packageManager": "[email protected]+sha512.1f79bc245a66eb0b07c5d4d83131240774642caaa86ef7d0434ab47c0d16f66b04e21e0c086eb61e62c77efc4d7f7ec071afad3796af64892fae66509173893a"
6061
}

0 commit comments

Comments
 (0)