Skip to content

Commit

Permalink
System messages: differentiate looks
Browse files Browse the repository at this point in the history
  • Loading branch information
enricoros committed Feb 28, 2024
1 parent e3ed6f8 commit ff1e1c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apps/chat/components/message/ChatMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function messageBackground(messageRole: DMessage['role'] | string, wasEdi
case 'assistant':
return unknownAssistantIssue ? 'danger.softBg' : 'background.surface';
case 'system':
return wasEdited ? 'warning.softHoverBg' : 'background.surface';
return wasEdited ? 'warning.softHoverBg' : 'neutral.softBg';
default:
return '#ff0000';
}
Expand Down

0 comments on commit ff1e1c2

Please sign in to comment.