Styling tokens
Restyle the suggested question buttons, the send button, the badge, the title accent, and the integrated chat frame with CSS custom properties, set in your dashboard or in your own CSS.
Styling tokens are CSS custom properties that change the look of parts of the chat, such as the suggested question buttons, the send button, and the badge next to the title. Every token is optional. An unset token keeps the default look, which follows the theme in light and dark mode. A value you set applies in both light and dark mode.
Setting tokens
You can set tokens in two ways:
- In your dashboard. Inline sets them in your dashboard configuration. This needs no change to your site.
- In your own CSS. Declare them on
:rootin a stylesheet on your page.
This example gives the question buttons and the send button a gradient fill, with white text and no border on the buttons:
:root {
--inline-ai-chip-bg: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
--inline-ai-chip-bg-hover: linear-gradient(90deg, #4338ca 0%, #6d28d9 100%);
--inline-ai-chip-color: #ffffff;
--inline-ai-chip-color-hover: #ffffff;
--inline-ai-chip-border-color: transparent;
--inline-ai-chip-border-color-hover: transparent;
--inline-ai-chip-radius: 8px;
--inline-ai-send-bg: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
}If a token is set in both places, the dashboard value wins. A token accepts any valid CSS value for the property it styles. These tokens also accept a gradient such as linear-gradient(...): --inline-ai-chip-bg, --inline-ai-chip-bg-hover, --inline-ai-send-bg, --inline-ai-badge-bg, and --inline-ai-title-accent-color.
Question buttons
These tokens style the suggested question buttons in the integrated chat, the Widget sidebar, and the search overlay chat, follow-up questions included. They do not change the questions under a search input.
| Token | What it styles | Default |
|---|---|---|
--inline-ai-chip-bg | Button background | Theme secondary background |
--inline-ai-chip-bg-hover | Button background on hover | Theme hover background |
--inline-ai-chip-color | Button text | Theme text color |
--inline-ai-chip-color-hover | Button text on hover | Brand text color |
--inline-ai-chip-border-color | Button border (1px). transparent hides it. | Theme border color |
--inline-ai-chip-border-color-hover | Button border on hover | Brand text color |
--inline-ai-chip-radius | Button corner radius | 20px |
--inline-ai-chip-font-weight | Question button text weight, for example 600 for bolder text on a dark fill | Theme default |
--inline-ai-chip-stack-max-width | Maximum width of a stacked question button. Stacked buttons are as wide as their text; longer questions wrap at this width. | 560px |
Send button
| Token | What it styles | Default |
|---|---|---|
--inline-ai-send-bg | Send button background in the chat input, in the docked input bar, and in the search input of the search embed and search FAB | Brand gradient |
The key takeaways and basic embed inputs keep their default send button.
Badge and title accent
The badge is the short tag after the title in the chat header, such as Beta. The title accent is the text after the title, in the accent color.
| Token | What it styles | Default |
|---|---|---|
--inline-ai-badge-bg | Badge background | Brand gradient |
--inline-ai-badge-color | Badge text | On-brand text color (white) |
--inline-ai-badge-border-color | Badge border (1px) | transparent |
--inline-ai-title-accent-color | Title accent text | Brand text gradient |
Integrated chat
| Token | What it styles | Default |
|---|---|---|
--inline-ai-integrated-chat-border-color | Border of the Compact variant (1px) | Theme border color |
--inline-ai-integrated-chat-radius | Corner radius of the Compact variant | 16px |
--inline-ai-integrated-chat-column-max-width | Maximum width of the Full size content column and of the input in the docked input bar | 780px |
--inline-ai-dock-border-color | Top border of the docked input bar (1px). transparent hides it. | Theme border color |
The Full size variant has no border or corner radius. Your page supplies any frame around it. See variants.