Skip to main content
The export endpoints return your tokens transformed into platform-specific formats. All values are fully resolved — color scale references become hex values, primitive references become concrete numbers.

Export as CSS

Returns CSS custom properties with light and dark mode support.
prefix
string
default:"--"
CSS variable prefix. For example, --ds produces --ds-color-brand-primary.
naming
string
default:"kebab-case"
Variable naming convention: kebab-case, camelCase, or snake_case.
Response content type: text/css

Export as JSON

Returns tokens in the W3C Design Tokens Community Group format. Dark mode values are included via Humic’s com.humic extension.

Export as TypeScript

Returns a typed constant and a union type for all token names. Useful for type-safe token access in your application.
Response content type: text/plain