From a2ac9fa102b1b0dda45861d3ca045a274796d56c Mon Sep 17 00:00:00 2001 From: Jeremy Kahn Date: Sun, 4 Sep 2022 11:04:54 -0500 Subject: [PATCH] feat: improve message colors --- src/components/Message/Message.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Message/Message.tsx b/src/components/Message/Message.tsx index dece532..50ee539 100644 --- a/src/components/Message/Message.tsx +++ b/src/components/Message/Message.tsx @@ -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 (