Export your Figma TEDI design tokens as CSS variables — all modes — with ZIP packaging and ready-to-use index.css.
The TEDI Variables Exporter is a Figma plugin designed to help design and development teams quickly export design tokens from Figma as CSS files. It supports:
- All modes export: Generate CSS files for all modes at once, bundled in a ZIP file.
- Index file generation: Creates
index.cssthat imports all exported CSS files, ready for use in projects. - Preserves variable aliases: Exports CSS variables with alias resolution.
- Supports colors, typography, spacing, and other numeric/boolean tokens.
This plugin is ideal for design system workflows, where developers need consistent and automated token export from Figma.
- Export CSS variables for any Figma variable collection.
- Export all modes in a single ZIP.
- Auto-generates
index.cssfor easy imports. - Supports color (HEX & RGBA), typography (px → rem), spacing, radius, z-index, opacity, and boolean values.
- Handles variable aliases properly.
- Lightweight, fast, and reliable download inside Figma.
- Install the plugin in Figma.
- Open the plugin in a Figma file containing TEDI variable collections.
- Enter a theme name (e.g.,
your-theme). - Export all: Click Export all to download a ZIP containing all mode CSS files plus
index.css. - Cancel: Close the plugin anytime without exporting.
Exporting all modes for theme your-theme will produce a ZIP with:
_color-variables__your-theme.css
_dimensional-variables__your-theme.css
index.css
index.css:
/* Theme: your-theme */
@import "_color-variables__your-theme.css";
@import "_dimensional-variables__your-theme.css";
This allows quick import into your project:
@import "src/variables/your-theme/index.css";
| Type | Format |
|---|---|
| Color | HEX (#RRGGBB) or RGBA (rgba(r,g,b,a)) |
| Typography | font-size, line-height, letter-spacing (converted to rem) |
| Spacing | margin, padding, gap, width, height (px) |
| Radius | border-radius (px) |
| Boolean | true / false |
| Numeric | z-index, opacity, flex, ratio, scale |
| Alias | Preserved using var(--variable-name) |
- The plugin requires allowed network access for CDN (JSZip) if using the online version.
- Recommended for design system token management and automated CSS export pipelines.
- Exports are safe and deterministic — aliases are preserved and numeric values are converted appropriately.