Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

fix(Chat): use color-neutral for message bubble background (#1271)

Cindy Zhange251787169bc
diff --git a/packages/core/src/Chat/XDSChatMessageBubble.tsx b/packages/core/src/Chat/XDSChatMessageBubble.tsx
index 131907df5a..d30fe41599 100644
--- a/packages/core/src/Chat/XDSChatMessageBubble.tsx
+++ b/packages/core/src/Chat/XDSChatMessageBubble.tsx
@@ -99,11 +99,11 @@ const styles = stylex.create({
paddingInline: 0,
},
assistant: {
- backgroundColor: colorVars['--color-background-muted'],
+ backgroundColor: colorVars['--color-neutral'],
color: colorVars['--color-text-primary'],
},
user: {
- backgroundColor: colorVars['--color-background-muted'],
+ backgroundColor: colorVars['--color-neutral'],
color: colorVars['--color-text-primary'],
},
system: {