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

+10 -10
View File
@@ -6,7 +6,7 @@ export const markdownRenderers: Components = {
h1: ({ className, ...props }) => (
<h1
className={cn(
"mt-2 scroll-m-20 text-2xl font-bold tracking-tight first:mt-0",
"mt-2 scroll-m-20 text-xl font-semibold tracking-tight first:mt-0",
className
)}
{...props}
@@ -15,7 +15,7 @@ export const markdownRenderers: Components = {
h2: ({ className, ...props }) => (
<h2
className={cn(
"mt-6 scroll-m-20 border-b pb-2 text-xl font-semibold tracking-tight first:mt-0",
"mt-6 scroll-m-20 border-b pb-2 text-lg font-semibold first:mt-0",
className
)}
{...props}
@@ -24,7 +24,7 @@ export const markdownRenderers: Components = {
h3: ({ className, ...props }) => (
<h3
className={cn(
"mt-4 scroll-m-20 text-lg font-semibold tracking-tight",
"mt-4 scroll-m-20 text-sm font-semibold",
className
)}
{...props}
@@ -33,7 +33,7 @@ export const markdownRenderers: Components = {
h4: ({ className, ...props }) => (
<h4
className={cn(
"mt-4 scroll-m-20 text-base font-semibold tracking-tight",
"mt-4 scroll-m-20 text-sm font-semibold text-muted-foreground",
className
)}
{...props}
@@ -41,7 +41,7 @@ export const markdownRenderers: Components = {
),
p: ({ className, ...props }) => (
<p
className={cn("leading-7 [&:not(:first-child)]:mt-4", className)}
className={cn("leading-normal [&:not(:first-child)]:mt-4", className)}
{...props}
/>
),
@@ -57,7 +57,7 @@ export const markdownRenderers: Components = {
blockquote: ({ className, ...props }) => (
<blockquote
className={cn(
"mt-4 border-l-2 border-primary pl-6 italic text-muted-foreground",
"mt-4 border-l-2 border-border pl-4 italic text-muted-foreground",
className
)}
{...props}
@@ -79,14 +79,14 @@ export const markdownRenderers: Components = {
),
tr: ({ className, ...props }) => (
<tr
className={cn("m-0 border-t p-0 even:bg-muted", className)}
className={cn("m-0 border-t p-0 even:bg-surface", className)}
{...props}
/>
),
th: ({ className, ...props }) => (
<th
className={cn(
"border px-4 py-2 text-left font-bold [&[align=center]]:text-center [&[align=right]]:text-right",
"border px-4 py-2 text-left font-semibold [&[align=center]]:text-center [&[align=right]]:text-right",
className
)}
{...props}
@@ -110,7 +110,7 @@ export const markdownRenderers: Components = {
return (
<code
className={cn(
"relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold",
"relative rounded-sm border bg-surface px-1 font-mono text-[0.9em]",
className
)}
{...props}
@@ -128,7 +128,7 @@ export const markdownRenderers: Components = {
},
a: ({ className, ...props }) => (
<a
className={cn("font-medium underline underline-offset-4 text-primary hover:text-primary/80", className)}
className={cn("font-medium underline underline-offset-4 decoration-muted-foreground hover:decoration-foreground text-foreground transition-colors duration-150", className)}
target="_blank"
rel="noopener noreferrer"
{...props}