Output format
[data-theme="dark"] override. Non-color tokens are the same in both modes.
Configuration
Prefix
The default prefix is--. You can customize it per design system:
| Prefix | Output |
|---|---|
-- (default) | --color-brand-primary |
--ds | --ds-color-brand-primary |
--humic | --humic-color-brand-primary |
Naming convention
| Convention | Output |
|---|---|
kebab-case (default) | --color-brand-primary |
camelCase | --colorBrandPrimary |
snake_case | --color_brand_primary |
Usage in code
Dark mode
The CSS export uses[data-theme="dark"] for dark mode. Add this attribute to your root element to switch themes:

