CSS Custom Properties Reference
If your plan includes the Custom CSS editor (Admin → Branding → Custom CSS), use these tokens to keep customizations theme-safe.
Color tokens
| Token | Purpose |
|---|---|
--color-primary |
Main accent (buttons, links) |
--color-text-primary |
Main body text |
--color-text-secondary |
Secondary text |
--color-bg-card |
Card backgrounds |
--color-bg-input |
Form field backgrounds |
--color-border |
Borders and dividers |
--color-success |
Success states |
--color-warning |
Warning states |
--color-danger |
Error/danger states |
Best practice
Always use semantic tokens instead of hardcoded hex values. Tokens automatically adapt to light and dark themes.
## CSS Custom Properties Reference If your plan includes the Custom CSS editor (**Admin → Branding → Custom CSS**), use these tokens to keep customizations theme-safe. ### Color tokens | Token | Purpose | |---|---| | `--color-primary` | Main accent (buttons, links) | | `--color-text-primary` | Main body text | | `--color-text-secondary` | Secondary text | | `--color-bg-card` | Card backgrounds | | `--color-bg-input` | Form field backgrounds | | `--color-border` | Borders and dividers | | `--color-success` | Success states | | `--color-warning` | Warning states | | `--color-danger` | Error/danger states | ### Best practice Always use semantic tokens instead of hardcoded hex values. Tokens automatically adapt to light and dark themes.