File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
packages/react-sdk/src/components/internal Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ export const Dialog: React.FC<DialogProps> = ({
4141 < div className = "flow-fixed flow-inset-0 flow-flex flow-items-center flow-justify-center flow-p-4" >
4242 < HeadlessDialog . Panel
4343 className = { twMerge (
44- ` flow-w-full flow-rounded-lg flow-bg-white dark: flow-bg-slate-800 flow-p-6
45- flow-shadow-xl flow-relative` ,
44+ " flow-w-full flow-rounded-lg flow-p-6 flow-shadow-xl flow-relative" ,
45+ colors . background ,
4646 className || "flow-max-w-md"
4747 ) }
4848 >
@@ -63,7 +63,8 @@ export const Dialog: React.FC<DialogProps> = ({
6363 < div className = "flow-mb-4" >
6464 < HeadlessDialog . Title
6565 className = { twMerge (
66- "flow-text-lg flow-font-semibold flow-text-slate-900 dark:flow-text-slate-100"
66+ "flow-text-lg flow-font-semibold" ,
67+ colors . foreground
6768 ) }
6869 >
6970 { title }
@@ -72,7 +73,7 @@ export const Dialog: React.FC<DialogProps> = ({
7273 ) }
7374
7475 { /* Content starts at the top */ }
75- < div className = "flow-mt-2 flow-text-slate-700 dark:flow-text-slate-300" >
76+ < div className = { twMerge ( "flow-mt-2" , colors . mutedForeground ) } >
7677 { children }
7778 </ div >
7879 </ HeadlessDialog . Panel >
You can’t perform that action at this time.
0 commit comments