style(ui): família visual de IA local

This commit is contained in:
evandro committed 2026-11-16 00:42:44 -03:00
1 parent f0b7db8c12
commit 07b0eaadca
62 files changed
+918 -853

No files matched your search

+8 -8
View File
@@ -17,17 +17,17 @@ export function ErrorDisplay({ error, onRetry, onDismiss, className }: ErrorDisp
return (
<div
className={cn(
"mx-4 mb-3 px-4 py-3 rounded-lg border border-red-500/50 bg-red-500/10",
"mx-4 mb-3 px-4 py-3 rounded-lg border border-destructive/40 bg-destructive/10",
className
)}
>
<div className="flex items-start gap-3">
<AlertCircle className="w-5 h-5 text-red-600 dark:text-red-400 flex-shrink-0 mt-0.5" />
<AlertCircle className="w-5 h-5 text-destructive flex-shrink-0" />
<div className="flex-1 min-w-0">
<div className="text-sm font-medium text-red-600 dark:text-red-400 mb-1">
<div className="text-sm font-medium text-destructive mb-1">
Erro ao processar
</div>
<p className="text-sm text-red-700 dark:text-red-300 break-words">
<p className="text-sm text-foreground break-words">
{errorMessage}
</p>
{(onRetry || onDismiss) && (
@@ -37,9 +37,9 @@ export function ErrorDisplay({ error, onRetry, onDismiss, className }: ErrorDisp
size="sm"
variant="outline"
onClick={onRetry}
className="h-7 text-xs border-red-500/50 text-red-600 dark:text-red-400 hover:bg-red-500/20"
className="h-8 text-xs"
>
<RefreshCw className="w-3 h-3 mr-1.5" />
<RefreshCw className="w-3 h-3" />
Tentar novamente
</Button>
)}
@@ -48,9 +48,9 @@ export function ErrorDisplay({ error, onRetry, onDismiss, className }: ErrorDisp
size="sm"
variant="ghost"
onClick={onDismiss}
className="h-7 text-xs text-red-600 dark:text-red-400 hover:bg-red-500/10"
className="h-8 text-xs text-muted-foreground hover:text-foreground"
>
<X className="w-3 h-3 mr-1.5" />
<X className="w-3 h-3" />
Fechar
</Button>
)}