@@ -505,8 +505,8 @@ export const ReadResultWidget: React.FC<{ content: string; filePath?: string }>
505
505
const isLargeFile = lineCount > 20 ;
506
506
507
507
return (
508
- < div className = "rounded-lg overflow-hidden border bg-zinc-950 w-full" >
509
- < div className = "px-4 py-2 border-b bg-zinc-900 /50 flex items-center justify-between" >
508
+ < div className = "rounded-lg overflow-hidden border bg-background w-full" >
509
+ < div className = "px-4 py-2 border-b bg-muted /50 flex items-center justify-between" >
510
510
< div className = "flex items-center gap-2" >
511
511
< FileText className = "h-3.5 w-3.5 text-muted-foreground" />
512
512
< span className = "text-xs font-mono text-muted-foreground" >
@@ -560,7 +560,7 @@ export const ReadResultWidget: React.FC<{ content: string; filePath?: string }>
560
560
) }
561
561
562
562
{ isLargeFile && ! isExpanded && (
563
- < div className = "px-4 py-3 text-xs text-muted-foreground text-center bg-zinc-900 /30" >
563
+ < div className = "px-4 py-3 text-xs text-muted-foreground text-center bg-muted /30" >
564
564
Click "Expand" to view the full file
565
565
</ div >
566
566
) }
@@ -654,8 +654,8 @@ export const BashWidget: React.FC<{
654
654
}
655
655
656
656
return (
657
- < div className = "rounded-lg border bg-zinc-950 overflow-hidden" >
658
- < div className = "px-4 py-2 bg-zinc-900 /50 flex items-center gap-2 border-b" >
657
+ < div className = "rounded-lg border bg-background overflow-hidden" >
658
+ < div className = "px-4 py-2 bg-muted /50 flex items-center gap-2 border-b" >
659
659
< Terminal className = "h-3.5 w-3.5 text-green-500" />
660
660
< span className = "text-xs font-mono text-muted-foreground" > Terminal</ span >
661
661
{ description && (
@@ -760,9 +760,9 @@ export const WriteWidget: React.FC<{ filePath: string; content: string; result?:
760
760
/>
761
761
762
762
{ /* Modal content */ }
763
- < div className = "relative w-[90vw] h-[90vh] max-w-7xl bg-zinc-950 rounded-lg border shadow-2xl overflow-hidden flex flex-col" >
763
+ < div className = "relative w-[90vw] h-[90vh] max-w-7xl bg-background rounded-lg border shadow-2xl overflow-hidden flex flex-col" >
764
764
{ /* Header */ }
765
- < div className = "px-6 py-4 border-b bg-zinc-950 flex items-center justify-between" >
765
+ < div className = "px-6 py-4 border-b bg-background flex items-center justify-between" >
766
766
< div className = "flex items-center gap-3" >
767
767
< FileText className = "h-4 w-4 text-muted-foreground" />
768
768
< span className = "text-sm font-mono text-muted-foreground" > { filePath } </ span >
@@ -803,15 +803,15 @@ export const WriteWidget: React.FC<{ filePath: string; content: string; result?:
803
803
804
804
const CodePreview = ( { codeContent, truncated } : { codeContent : string ; truncated : boolean } ) => (
805
805
< div
806
- className = "rounded-lg border bg-zinc-950 overflow-hidden w-full"
806
+ className = "rounded-lg border bg-background overflow-hidden w-full"
807
807
style = { {
808
808
height : truncated ? '440px' : 'auto' ,
809
809
maxHeight : truncated ? '440px' : undefined ,
810
810
display : 'flex' ,
811
811
flexDirection : 'column'
812
812
} }
813
813
>
814
- < div className = "px-4 py-2 border-b bg-zinc-950 flex items-center justify-between sticky top-0 z-10" >
814
+ < div className = "px-4 py-2 border-b bg-background flex items-center justify-between sticky top-0 z-10" >
815
815
< span className = "text-xs font-mono text-muted-foreground" > Preview</ span >
816
816
{ isLargeContent && truncated && (
817
817
< div className = "flex items-center gap-2" >
@@ -1019,7 +1019,7 @@ export const GrepWidget: React.FC<{
1019
1019
</ button >
1020
1020
1021
1021
{ isExpanded && (
1022
- < div className = "rounded-lg border bg-zinc-950 overflow-hidden" >
1022
+ < div className = "rounded-lg border bg-background overflow-hidden" >
1023
1023
< div className = "max-h-[400px] overflow-y-auto" >
1024
1024
{ grepResults . map ( ( match , idx ) => {
1025
1025
const fileName = match . file . split ( '/' ) . pop ( ) || match . file ;
@@ -1029,7 +1029,7 @@ export const GrepWidget: React.FC<{
1029
1029
< div
1030
1030
key = { idx }
1031
1031
className = { cn (
1032
- "flex items-start gap-3 p-3 border-b border-zinc-800 hover:bg-zinc-900 /50 transition-colors" ,
1032
+ "flex items-start gap-3 p-3 border-b border-border hover:bg-muted /50 transition-colors" ,
1033
1033
idx === grepResults . length - 1 && "border-b-0"
1034
1034
) }
1035
1035
>
@@ -1145,7 +1145,7 @@ export const EditWidget: React.FC<{
1145
1145
</ code >
1146
1146
</ div >
1147
1147
1148
- < div className = "rounded-lg border bg-zinc-950 overflow-hidden text-xs font-mono" >
1148
+ < div className = "rounded-lg border bg-background overflow-hidden text-xs font-mono" >
1149
1149
< div className = "max-h-[440px] overflow-y-auto overflow-x-auto" >
1150
1150
{ diffResult . map ( ( part , index ) => {
1151
1151
const partClass = part . added
@@ -1156,7 +1156,7 @@ export const EditWidget: React.FC<{
1156
1156
1157
1157
if ( ! part . added && ! part . removed && part . count && part . count > 8 ) {
1158
1158
return (
1159
- < div key = { index } className = "px-4 py-1 bg-zinc-900 border-y border-zinc-800 text-center text-zinc-500 text-xs" >
1159
+ < div key = { index } className = "px-4 py-1 bg-muted border-y border-border text-center text-muted-foreground text-xs" >
1160
1160
... { part . count } unchanged lines ...
1161
1161
</ div >
1162
1162
) ;
@@ -1241,7 +1241,7 @@ export const EditResultWidget: React.FC<{ content: string }> = ({ content }) =>
1241
1241
const language = getLanguage ( filePath ) ;
1242
1242
1243
1243
return (
1244
- < div className = "rounded-lg border bg-zinc-950 overflow-hidden" >
1244
+ < div className = "rounded-lg border bg-background overflow-hidden" >
1245
1245
< div className = "px-4 py-2 border-b bg-emerald-950/30 flex items-center gap-2" >
1246
1246
< GitBranch className = "h-3.5 w-3.5 text-emerald-500" />
1247
1247
< span className = "text-xs font-mono text-emerald-400" > Edit Result</ span >
@@ -1464,8 +1464,8 @@ export const CommandWidget: React.FC<{
1464
1464
commandArgs ?: string ;
1465
1465
} > = ( { commandName, commandMessage, commandArgs } ) => {
1466
1466
return (
1467
- < div className = "rounded-lg border bg-zinc-950 /50 overflow-hidden" >
1468
- < div className = "px-4 py-2 border-b bg-zinc-900 /50 flex items-center gap-2" >
1467
+ < div className = "rounded-lg border bg-background /50 overflow-hidden" >
1468
+ < div className = "px-4 py-2 border-b bg-muted /50 flex items-center gap-2" >
1469
1469
< Terminal className = "h-3.5 w-3.5 text-blue-500" />
1470
1470
< span className = "text-xs font-mono text-blue-400" > Command</ span >
1471
1471
</ div >
@@ -1544,8 +1544,8 @@ export const CommandOutputWidget: React.FC<{
1544
1544
} ;
1545
1545
1546
1546
return (
1547
- < div className = "rounded-lg border bg-zinc-950 /50 overflow-hidden" >
1548
- < div className = "px-4 py-2 bg-zinc-900 /50 flex items-center gap-2" >
1547
+ < div className = "rounded-lg border bg-background /50 overflow-hidden" >
1548
+ < div className = "px-4 py-2 bg-muted /50 flex items-center gap-2" >
1549
1549
< ChevronRight className = "h-3 w-3 text-green-500" />
1550
1550
< span className = "text-xs font-mono text-green-400" > Output</ span >
1551
1551
</ div >
@@ -1632,7 +1632,7 @@ export const MultiEditWidget: React.FC<{
1632
1632
return (
1633
1633
< div key = { index } className = "space-y-1" >
1634
1634
< div className = "text-xs font-medium text-muted-foreground" > Edit { index + 1 } </ div >
1635
- < div className = "rounded-lg border bg-zinc-950 overflow-hidden text-xs font-mono" >
1635
+ < div className = "rounded-lg border bg-background overflow-hidden text-xs font-mono" >
1636
1636
< div className = "max-h-[300px] overflow-y-auto overflow-x-auto" >
1637
1637
{ diffResult . map ( ( part , partIndex ) => {
1638
1638
const partClass = part . added
@@ -1643,7 +1643,7 @@ export const MultiEditWidget: React.FC<{
1643
1643
1644
1644
if ( ! part . added && ! part . removed && part . count && part . count > 8 ) {
1645
1645
return (
1646
- < div key = { partIndex } className = "px-4 py-1 bg-zinc-900 border-y border-zinc-800 text-center text-zinc-500 text-xs" >
1646
+ < div key = { partIndex } className = "px-4 py-1 bg-muted border-y border-border text-center text-muted-foreground text-xs" >
1647
1647
... { part . count } unchanged lines ...
1648
1648
</ div >
1649
1649
) ;
0 commit comments