= {
- convention: 'bg-blue-600/20 text-blue-400 border-blue-600/40',
- decision: 'bg-green-600/20 text-green-400 border-green-600/40',
- context: 'bg-purple-600/20 text-purple-400 border-purple-600/40',
+ convention: 'border-info/25 bg-info/12 text-info',
+ decision: 'border-success/25 bg-success/12 text-success',
+ context: 'border-accent-foreground/10 bg-accent text-accent-foreground',
}
export function MemoryList({ projectId, scope, showFilters = true }: MemoryListProps) {
diff --git a/frontend/src/components/message/ContentDiffViewer.tsx b/frontend/src/components/message/ContentDiffViewer.tsx
index f439517a..301c7a33 100644
--- a/frontend/src/components/message/ContentDiffViewer.tsx
+++ b/frontend/src/components/message/ContentDiffViewer.tsx
@@ -117,8 +117,8 @@ export function ContentDiffViewer({ before, after }: ContentDiffViewerProps) {
key={index}
className={cn(
'flex font-mono text-xs',
- isAdd && 'bg-green-500/10',
- isRemove && 'bg-red-500/10',
+ isAdd && 'bg-success/10',
+ isRemove && 'bg-destructive/10',
)}
>
{!isMobile && (
@@ -132,14 +132,14 @@ export function ContentDiffViewer({ before, after }: ContentDiffViewerProps) {
)}
- {isAdd &&
}
- {isRemove &&
}
+ {isAdd &&
}
+ {isRemove &&
}
{truncateLine(line.content)}
@@ -170,4 +170,4 @@ export function ContentDiffViewer({ before, after }: ContentDiffViewerProps) {
)}
)
-}
\ No newline at end of file
+}
diff --git a/frontend/src/components/message/DiffStats.tsx b/frontend/src/components/message/DiffStats.tsx
index cdc0e0c2..32469cd2 100644
--- a/frontend/src/components/message/DiffStats.tsx
+++ b/frontend/src/components/message/DiffStats.tsx
@@ -14,7 +14,7 @@ export function DiffStats({ additions, deletions, variant = 'default' }: DiffSta
return (
{additions > 0 && (
-
+
{compact ? `+${additions}` : `+${additions}`}
)}
@@ -22,10 +22,10 @@ export function DiffStats({ additions, deletions, variant = 'default' }: DiffSta
{compact ? '/' : ' '}
)}
{deletions > 0 && (
-
+
{compact ? `-${deletions}` : `-${deletions}`}
)}
)
-}
\ No newline at end of file
+}
diff --git a/frontend/src/components/message/EditableUserMessage.tsx b/frontend/src/components/message/EditableUserMessage.tsx
index cc3aa8ce..ce757543 100644
--- a/frontend/src/components/message/EditableUserMessage.tsx
+++ b/frontend/src/components/message/EditableUserMessage.tsx
@@ -151,11 +151,11 @@ export const ClickableUserMessage = memo(function ClickableUserMessage({
return (
)
-})
\ No newline at end of file
+})
diff --git a/frontend/src/components/message/FileToolRender.tsx b/frontend/src/components/message/FileToolRender.tsx
index b77c7072..3b609bd2 100644
--- a/frontend/src/components/message/FileToolRender.tsx
+++ b/frontend/src/components/message/FileToolRender.tsx
@@ -94,12 +94,12 @@ export function FileToolRender({ part, filediff, filePath, content, toolName, on
className="w-full px-3 py-1.5 bg-card hover:bg-card-hover text-left flex items-center justify-between text-sm gap-2"
>
-
✓
+
✓
{toolName}
{filePath && (
{getRelativePath(filePath)}
@@ -151,4 +151,4 @@ export function getToolSpecificRender(part: ToolPart, onFileClick?: (filePath: s
}
return null
-}
\ No newline at end of file
+}
diff --git a/frontend/src/components/message/MessagePart.tsx b/frontend/src/components/message/MessagePart.tsx
index 15931ea2..6976cfd8 100644
--- a/frontend/src/components/message/MessagePart.tsx
+++ b/frontend/src/components/message/MessagePart.tsx
@@ -83,7 +83,7 @@ function TTSButton({ content, className = "" }: TTSButtonProps) {
return (