Skip to content

Commit

Permalink
fix: Error msg and label color fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Niranjan-Baur committed Oct 18, 2023
1 parent 8e9e016 commit 44b1645
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/ui/form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const FormLabel = React.forwardRef<
return (
<Label
ref={ref}
className={cn(error && 'text-destructive', className)}
className={cn(error && 'text-destructive text-white', className)}
htmlFor={formItemId}
{...props}
/>
Expand Down Expand Up @@ -155,7 +155,7 @@ const FormMessage = React.forwardRef<
<p
ref={ref}
id={formMessageId}
className={cn('text-sm font-medium text-destructive', className)}
className={cn('text-sm font-medium text-destructive text-red-600', className)}
{...props}
>
{body}
Expand Down

0 comments on commit 44b1645

Please sign in to comment.