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

+6 -6
View File
@@ -17,22 +17,22 @@ export function CodeBlock({ language, children }: CodeBlockProps) {
};
return (
<div className="my-4 rounded-lg border bg-muted/50 overflow-hidden">
<div className="flex items-center justify-between px-4 py-2 bg-muted/80 border-b">
<span className="text-xs font-medium text-muted-foreground uppercase">
<div className="my-4 rounded-lg border bg-surface overflow-hidden">
<div className="flex items-center justify-between px-4 py-2 border-b">
<span className="text-xs font-mono text-muted-foreground">
{language || "text"}
</span>
<Button
variant="ghost"
size="icon"
className="h-6 w-6 hover:bg-background/50"
className="h-8 w-8 text-muted-foreground hover:text-foreground"
onClick={handleCopy}
title="Copiar código"
>
{copied ? (
<Check className="h-3.5 w-3.5 text-green-500" />
<Check className="h-4 w-4 text-success" />
) : (
<Copy className="h-3.5 w-3.5 text-muted-foreground" />
<Copy className="h-4 w-4" />
)}
</Button>
</div>