Type Alias: AgentStyleTokens
AgentStyleTokens:
object
The style tokens for theming the AnalyticsAgent UI.
Each key maps to an internal CSS custom property applied on the agent container.
All tokens are optional — only include the ones you want to override.
optionalcontainerBackground:string
The background color or gradient for the agent container. For example, "#faf5ff", "linear-gradient(135deg, #a, #b)"
optionalheaderBackground:string
The background color or gradient for the header. For example, "#ede9fe", "linear-gradient(...)"
optionalheaderBlockFontFamily:string
The font family for the header block. For example, '"Inter", "SF Pro Display", system-ui, sans-serif'
optionalheaderBlockTextColor:string
The text color for the header block. For example, "#5b21b6"
optionalhideMessageActions:string
Hides the message action buttons when set to "none".
Omit this property entirely to keep the default visible behavior.
Any value assigned overrides the default display, so only include this token when you want to hide actions.
optionalinboundMessageTextColor:string
The text color for inbound (agent) messages. For example, "#3b0764"
optionalmessageBlockInboundBackgroundColor:string
The background color for inbound message blocks. For example, "#ede9fe"
optionalmessageBlockInboundTextAlign:string
The text alignment for inbound message blocks. For example, "left", "center", "right"
optionalmessageBlockInboundTextColor:string
The text color for inbound message blocks. For example, "#3b0764"
optionalmessageBlockOutboundBackgroundColor:string
The background color for outbound message blocks. For example, "#7c3aed"
optionalmessageBlockOutboundMarginLeft:string
The left margin for outbound message blocks. For example, "auto", "20px"
optionalmessageBlockOutboundTextAlign:string
The text alignment for outbound message blocks. For example, "left", "center", "right"
optionalmessageBlockOutboundTextColor:string
The text color for outbound (user) message blocks. For example, "#ffffff"
optionalmessageBlockPadding:string
The padding inside message blocks. For example, "14px 18px"
optionalmessageFontFamily:string
The font family for message body text. For example, '"Inter", "SF Pro Text", system-ui, sans-serif'
optionalmessageInputErrorTextColor:string
The error text color for the message input. For example, "#dc2626"
optionalmessageInputFooterBorderColor:string
The border color for the message input footer. For example, "#c4b5fd"
optionalmessageInputFooterBorderFocusColor:string
The border color for the message input footer when focused. For example, "#8b5cf6"
optionalmessageInputFooterSendButton:string
The color for the send button. For example, "#ec4899"
optionalmessageInputFooterSendButtonHoverColor:string
The hover color for the send button. For example, "#f472b6"
optionalmessageInputPlaceholderTextColor:string
The placeholder text color for the message input. For example, "#c084fc"
optionalmessageInputSendButtonDisabledColor:string
The color for the disabled send button. For example, "#f9a8d4"
optionalmessageInputTextBackgroundColor:string
The background color for the message input field. For example, "#faf5ff"
optionalmessageInputTextColor:string
The text color for the message input field. For example, "#3b0764"
optionalwelcomeBlockFontFamily:string
The font family for the welcome block. For example, '"Inter", "SF Pro Display", system-ui, sans-serif'
optionalwelcomeBlockFontSize:string
The font size for the welcome block. For example, "26px", "1.2rem"
optionalwelcomeBlockFontWeight:string
The font weight for the welcome block. For example, "bold", "600"
optionalwelcomeBlockLetterSpacing:string
The letter spacing for the welcome block. For example, "-0.01em"
optionalwelcomeBlockLineHeight:string
The line height for the welcome block. For example, "1.4", "24px"
optionalwelcomeBlockTextColor:string
The text color for the welcome block. For example, "#4c1d95"
optionalwelcomeBlockTextContainerWidth:string
The width of the welcome block text container. For example, "85%", "300px"