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

+3 -3
View File
@@ -18,7 +18,7 @@ export function MessageBackground({
children,
...props
}: MessageBackgroundProps) {
const base = "group flex w-full gap-4 md:gap-6 relative transition-all duration-200";
const base = "group flex w-full gap-4 md:gap-6 relative transition-colors duration-150";
// User: Fundo sutil, alinhado à direita (se quiséssemos, mas o layout atual é lista).
// Vamos manter layout lista mas com estilo clean.
@@ -26,10 +26,10 @@ export function MessageBackground({
const roleCl = role === "user"
? "bg-transparent text-foreground px-0 py-2" // Minimalista
: "bg-transparent text-foreground/90 px-0 py-2";
: "bg-transparent text-foreground px-0 py-2";
// Estado de seleção sutil
const stateCl = state === "selected" ? "bg-muted/30 -mx-4 px-4 rounded-lg" : "";
const stateCl = state === "selected" ? "bg-surface -mx-4 px-4 rounded-lg" : "";
const hc = highContrast ? "hc:bg-message-high-contrast hc:text-foreground" : "";