ChatMessage: tint avatar button

This commit is contained in:
Enrico Ros
2025-05-13 12:50:44 -07:00
parent 2ca9baf6ba
commit 29bddbc6ed
@@ -687,8 +687,8 @@ export function ChatMessage(props: {
) : (
<IconButton
size='sm'
variant={opsMenuAnchor ? 'solid' : (zenMode && fromAssistant) ? 'plain' : 'soft'}
color={(fromAssistant || fromSystem) ? 'neutral' : 'primary'}
variant={opsMenuAnchor ? 'solid' : zenMode ? 'plain' : 'soft'}
color={(fromAssistant || fromSystem || zenMode) ? 'neutral' : userCommandApprox === 'draw' ? 'warning' : userCommandApprox === 'react' ? 'success' : 'primary'}
sx={avatarIconSx}
>
<MoreVertIcon />