Skip to content

Commit

Permalink
fix: theme for the message bubble and replies
Browse files Browse the repository at this point in the history
  • Loading branch information
khushal87 committed Nov 8, 2024
1 parent 9d5a9d2 commit 5402f32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package/src/components/MessageOverlay/MessageOverlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ const MessageOverlayWithContext = <
);

const {
colors: { blue_alice, grey_gainsboro, grey_whisper, transparent },
colors: { blue_alice, grey_gainsboro, grey_whisper, light_gray, transparent, white_snow },
messageSimple: {
content: {
container: { borderRadiusL, borderRadiusS },
Expand Down Expand Up @@ -364,8 +364,8 @@ const MessageOverlayWithContext = <
: grey_gainsboro
: blue_alice
: alignment === 'left'
? receiverMessageBackgroundColor
: senderMessageBackgroundColor,
? receiverMessageBackgroundColor ?? white_snow
: senderMessageBackgroundColor ?? light_gray,
borderBottomLeftRadius:
(groupStyle === 'left_bottom' || groupStyle === 'left_single') &&
(!hasThreadReplies || threadList)
Expand Down

0 comments on commit 5402f32

Please sign in to comment.