feat(ui): change user badge and dot to neutral slate in logs dialog

This commit is contained in:
yiling
2026-05-21 16:08:11 +08:00
parent 21bae04ae6
commit 81a7fb5910
+2 -2
View File
@@ -299,7 +299,7 @@ export const MessageCard: React.FC<MessageCardProps> = ({
if (msg.role === 'user') {
badgeColor =
'bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-300'
'bg-slate-100 text-slate-800 dark:bg-slate-900/30 dark:text-slate-300'
roleName = 'User'
} else if (msg.role === 'assistant') {
badgeColor =
@@ -490,7 +490,7 @@ export const MessageCard: React.FC<MessageCardProps> = ({
<div
className={`absolute left-0 top-1.5 h-5 w-5 rounded-full border-4 border-background flex items-center justify-center ${
msg.role === 'user'
? 'bg-blue-500'
? 'bg-slate-500'
: msg.role === 'assistant'
? 'bg-violet-500'
: msg.role === 'toolResult'