Appearance
Theming & locale
Theme
theme selects the color scheme:
tsx
<AWChat theme="dark" /* … */ />"light"(default) and"dark"are both fully supported.- On the web SDK, theming is driven by CSS variables under the
.awchatroot. - Mirror the host app: e.g. in a Telegram Mini App pass
theme={tg.colorScheme}.
Brand color
Override the accent (buttons, links, sent bubbles, active states) with any hex:
tsx
<AWChat brandColor="#8b5cf6" /* … */ />It sets the accent for both light and dark. The rest of the palette (surfaces, text, status colors) stays consistent.
Locale
locale switches the UI language:
tsx
<AWChat locale="en" /* … */ />"ru"(default) and"en"are built in.- All strings — including the security banner, ticket states, CSAT, and complaint categories — are localized.
Status colors
Ticket states use a fixed, meaningful palette (not affected by brandColor):
| State | Color |
|---|---|
| Submitted | amber |
| In progress | blue |
| Awaiting reply | yellow |
| Resolved | green |
Security banner
Every chat thread shows a persistent anti-phishing banner ("Support never asks for seed phrases, private keys, codes or passwords"). It is always visible and cannot be disabled — it's a core safety feature.