update: changed the text color to black in the shadcn dialog and alert-dialog components

This commit is contained in:
percyfikri 2024-11-15 10:18:02 +07:00
parent 68be434d76
commit bbc3eb464d
2 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ const AlertDialogDescription = React.forwardRef<
>(({ className, ...props }, ref) => (
<AlertDialogPrimitive.Description
ref={ref}
className={cn("text-sm text-muted-foreground", className)}
className={cn("text-sm", className)}
{...props}
/>
))

View File

@ -102,7 +102,7 @@ const DialogDescription = React.forwardRef<
>(({ className, ...props }, ref) => (
<DialogPrimitive.Description
ref={ref}
className={cn("text-sm text-muted-foreground", className)}
className={cn("text-sm", className)}
{...props}
/>
))