feat: improve message colors

This commit is contained in:
Jeremy Kahn 2022-09-04 11:04:54 -05:00
parent c2cd21672a
commit a2ac9fa102

View File

@ -62,10 +62,10 @@ export const Message = ({ message, userId }: MessageProps) => {
if (message.authorId === userId) {
backgroundColor = isMessageReceived(message)
? 'primary.dark'
? 'primary.main'
: 'primary.light'
} else {
backgroundColor = 'secondary.light'
backgroundColor = 'secondary.main'
}
return (