Back to Plugins
Variables to CSS: The Pro Design Token Exporter

Variables to CSS: The Pro Design Token Exporter

Convert Figma Variables to production-ready CSS with Dark Mode & OKLCH support.

Plugin Preview

Variables to CSS: The Pro Design Token Exporter preview

About this plugin

The professional bridge between your Design System and your Code.Stop manual handoffs. Variables to CSS is a high-performance exporter that transforms your Figma Variables into clean, organized, and production-ready CSS custom properties in seconds. Whether you're building a simple site or a complex multi-themed Design System, this is the tool you need.Why choose this exporter?Advanced Multi-Mode Support. Automatically detects your variable modes (Light, Dark, etc.) and generates themed blocks using :root and smart attribute selectors like [data-theme="dark"].Modern Color Formats. Export your tokens in OKLCH (perceptually uniform), RGB Raw (optimized for Tailwind CSS v4), or classic HEX.Smart Unit Conversion. Seamlessly convert numeric variables to px or rem with a customizable base font size (16px default).Deep Alias Resolution. Handles nested variables and references recursively, keeping the logic of your design system intact in the final code.Code Syntax Integration. Full support for Figma's native "Code Syntax" fields. If defined, the plugin uses your exact dev-ready names.How to useOpen the plugin in any file with Local Variables.Select the Collections and Modes you want to export.Customize your Prefix (e.g., ds-), Color Format, and Units.Copy and paste the live-generated code directly into your CSS or Tailwind config.Developer Experience (DX) first. Built for modern frontend workflows. It maintains your Figma folder hierarchy with descriptive comments, ensuring your stylesheets remain human-readable and easy to maintain.

Plugin Details

Version3
CreatedAugust 26, 2025
Last UpdatedMarch 24, 2026
CategoryImport & export plugins
CreatorMaximiliano Avendaño
Stats5 installs, 1 likes
PricingFree

Technical Details

  • API:1.0.0
  • UI:dist/ui.html
  • main:code.js
  • Document Access:dynamic-page
  • Editor Types:
    figma
  • Allowed Domains:
    • none