Back to Plugins

Tokens Exporter to CSS
Export Figma design tokens to CSS variables
Plugin Preview
About this plugin
Tokens Exporter to CSS turns your design tokens into production-ready code. Supports standard CSS and Tailwind CSS v4.
EXPORT FORMATS
- CSS Variables — :root for light theme, custom selector for dark mode. Typography as classes or @layer rulesets blocks.
- Tailwind — @theme and @layer utilities for styles.
WHAT GETS EXPORTED
- Color Variables — Hex, rgba, and var() references preserved.
- Number Variables — Unit handling (px, rem, %, deg, opacity).
- Typography Styles — CSS classes or @layer rulesets blocks with full font properties (CSS only).
- Effect Styles (shadows) — First shadow per effect style as a CSS variable (e.g. --shadow-md).
- Color Styles — Solid colors and gradients as variables.
FEATURES
- Dark mode by name (modes with "dark" in the name).
- Unit detection from variable names.
- Variable aliases as var() references.
- Custom prefixes per category.
- Single file or ZIP with optional index files.
- Typography Style Output Format for CSS (classes vs @layer rulesets).
SETTINGS
- Unit mode: px or rem with custom base.
- Typography style format: CSS classes or property blocks (when exporting to CSS).
- Dark mode selector.
- Font fallbacks.
- Generate index.css files (root and per-folder).
- Minification.
Perfect for design systems, component libraries, and any project that needs consistent tokens across design and code.
Plugin Details
| Version | 8 |
|---|---|
| Created | December 17, 2025 |
| Last Updated | January 30, 2026 |
| Category | Import & export plugins |
| Creator | pashtet.dev |
| Stats | 6 installs, 5 likes |
| Pricing | Free |
Technical Details
- API:1.0.0
- UI:dist/ui.html
- main:dist/code.js
- Document Access:dynamic-page
- Editor Types:figma
- Allowed Domains:
- none
More Like This
Discover other plugins in the Import & export plugins category.
html.to.design — by ‹div›RIOTS — Import websites to Figma designs (web,html,css)
Convert any website into fully editable Figma designs
Anima - Figma to Code React, HTML, CSS, Tailwind, MUI (DevMode Inspect React / HTML / Vue / CSS)
Anima - AI Powered Design to code
Figma to HTML
Convert Figma design to HTML