Interface: NexatronTheme
Defined in: sdk/src/types.ts:21
Visual theme tokens. Passed to <NexatronChat> as a theme prop, the
Web Component as CSS variables, or applied globally via your stylesheet
on :root/host. All tokens are optional — unset tokens fall back to the
defaults baked into the component.
The CSS variable names mirror the keys here with a --nx- prefix
(e.g. accent → --nx-accent).
Properties
accent?
optionalaccent?:string
Defined in: sdk/src/types.ts:33
Accent color (send button, focused input). Default: "#5B4FE5".
assistantBg?
optionalassistantBg?:string
Defined in: sdk/src/types.ts:37
Assistant-message bubble background. Default: "#f8fafc".
bg?
optionalbg?:string
Defined in: sdk/src/types.ts:27
Background color of the chat container. Default: "#ffffff".
border?
optionalborder?:string
Defined in: sdk/src/types.ts:23
Outer border, e.g. "1px solid #e5e7eb". Default: "1px solid #e5e7eb".
errorText?
optionalerrorText?:string
Defined in: sdk/src/types.ts:39
Error text color. Default: "#b91c1c".
muted?
optionalmuted?:string
Defined in: sdk/src/types.ts:31
Muted text color (timestamps, hints). Default: "#64748b".
radius?
optionalradius?:string
Defined in: sdk/src/types.ts:25
Outer border radius, e.g. "8px". Default: "8px".
text?
optionaltext?:string
Defined in: sdk/src/types.ts:29
Primary text color. Default: "#0f172a".
userBg?
optionaluserBg?:string
Defined in: sdk/src/types.ts:35
User-message bubble background. Default: "#EFEDFF".