refactor: use css var

This commit is contained in:
AkaraChen
2024-11-26 14:33:40 +08:00
parent c4aa98e609
commit b528b1e875
3 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@ const ErrorMessage: FC<Props> = ({
return (
<div className={cn(className, 'py-2 px-4 border-t border-gray-200 bg-[#FFFAEB]')}>
<div className='flex items-center h-5'>
<AlertTriangle className='mr-2 w-4 h-4 text-[#F79009]' />
<AlertTriangle className='mr-2 w-4 h-4 text-text-warning-secondary' />
<div className='text-sm font-medium text-[#DC6803]'>{title}</div>
</div>
{errorMsg && (