Design Tokens JSON Export
Export ChromUI themes as JSON design tokens. W3C Design Tokens format compatible with design tools and token processors. Includes colors, typography, spacing, shadows, and border radius.
Output Format
The JSON export follows the W3C Design Tokens format. Tokens are organized by category: colors, typography, spacing, shadows, and border radius. Each token includes a `$type` property indicating the token type (color, dimension, etc.) and a `$value` with the actual value.
Color tokens use hex values. Typography tokens include font families, sizes, line heights, and font weights. Spacing tokens use pixel or rem values. Shadow tokens include full shadow definitions. Border radius tokens use pixel values.
How to Apply
Use the JSON with design token processors like Style Dictionary, Theo, or Figma Tokens. Import into design tools (Figma, Sketch) using token plugins. Transform to CSS, iOS, Android, or other formats using token processors.
FAQ
Is this compatible with Style Dictionary?
Yes. The JSON follows W3C Design Tokens format, which Style Dictionary supports. Import the file and transform to your target platforms.
Can I import this into Figma?
Yes. Use Figma Tokens plugin or similar tools to import the JSON. Tokens will be available in Figma's design tokens panel.
What token processors support this format?
Style Dictionary, Theo, Figma Tokens, and other W3C-compliant processors. The format is standardized and widely supported.