Bubble
Bubble settings control the colors of AI and user message bubbles in the chat widget.
Using the Theme Dashboard
- Go to your agent in the Predictable Dialogs app.
- Open the Theme page.
- Select the Bubbles tab.
- Configure:
- Background color for AI/User bubbles.
- Text color for AI/User bubbles.
Using Widget Props
You can override bubble colors directly in your widget configuration:
Agent.initStandard({
// ...
bubble: {
hostBubbles: {
color: "#2b2c2b",
backgroundColor: "#ff6b35",
},
guestBubbles: {
color: "#f8faf4",
backgroundColor: "#0066cc",
},
},
});
Note: Widget props take precedence over theme settings.