The “ component renders inside Shadow DOM, so external selectors cannot reach its internals. Customize the UI by setting CSS custom properties on the host element.Documentation Index
Fetch the complete documentation index at: https://docs.usechar.com/llms.txt
Use this file to discover all available pages before exploring further.
Quick Example
Tier 1: Brand Matching
These are the essential variables for matching your brand:| Variable | Description |
|---|---|
--char-color-primary | Primary action color (send button, links, accents) |
--char-color-primary-foreground | Text on primary surfaces |
--char-color-background | Main background color |
--char-color-foreground | Primary text color |
--char-radius | Border radius (e.g., 0.75rem, 0, 1rem) |
--char-font-sans | Sans-serif font stack |
Tier 2: Deeper Customization
For more granular control over specific elements:| Variable | Description |
|---|---|
--char-color-muted | Muted/secondary surface color |
--char-color-border | Borders and dividers |
--char-user-bubble-bg | User message background |
--char-assistant-bubble-bg | Assistant message background |

