refactor(ui): replace hardcoded colors with semantic tokens (#2749)

This commit is contained in:
Ephraim Duncan
2026-05-19 04:19:31 +00:00
committed by GitHub
parent 9e0b567686
commit 247a0158bd
19 changed files with 31 additions and 34 deletions
@@ -38,7 +38,7 @@ export const FormErrorMessage = ({ error, className }: FormErrorMessageProps) =>
opacity: 0,
y: 10,
}}
className={cn('text-red-500 text-xs', className)}
className={cn('text-destructive text-xs', className)}
>
{errorMessage}
</motion.p>
+1 -1
View File
@@ -156,7 +156,7 @@ const FormMessage = React.forwardRef<HTMLParagraphElement, React.HTMLAttributes<
y: 10,
}}
>
<p ref={ref} id={formMessageId} className={cn('text-red-500 text-xs', className)} {...props}>
<p ref={ref} id={formMessageId} className={cn('text-destructive text-xs', className)} {...props}>
{body}
</p>
</motion.div>