forked from Shiloh/remnantchat
feat: improve message colors
This commit is contained in:
parent
c2cd21672a
commit
a2ac9fa102
@ -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 (
|
||||
|
Loading…
Reference in New Issue
Block a user