Back to Plugins

CSS Variables Generator
Transform Figma variables and styles to CSS
propertiescssvariableshandoffgridexportconvertercolordevelopmentshadowstylesfontcode-generators
Plugin Preview
About this plugin
Elevate the design-to-development workflow by instantly converting Figma variables and styles into CSS custom properties.
How to use
- Explore the pre-generated CSS output, tailored to your selected categories.
- Review the console feedback to ensure everything is in order.
- When you're ready, copy or download the content.
Key features
- Syntax highlighting: Allows seamless code review.
- Style names processing: Ensures valid CSS property names.
- Relative length units: Pixel values are provided alongside their rem equivalents.
- Real-time collaboration: Updates in real time, no need for re-runs.
- Console: Errors and exceptions are handled by the plugin and reported to the user.
- Light and dark themes supported.
Variables
- The content structure is based on local collections.
- If a given collection has more than one mode, the mode name is included as a suffix in the following format
--{name}-{mode}. - If a value is aliased to another variable, it includes the root variable name, not the value itself. For example:
--my-variable: var(--my-alias). - All variable types are supported.
Styles
- Type: Includes font family, size, weight, style, letter spacing, and line height.
- Colors: Displayed in
hexformat orrgba()notation. - Gradients: Individual
{name}-stop-nrules for seamless integration. This includes both color and position along the gradient's axis. - Shadows: Allows drop and inner shadows, including support for composite styles.
- Grids: Includes size (when applicable), column/row count, and gutter size.
Feedback Welcome
Feel free to share your feedback and ideas to enhance the plugin's functionality.
Plugin Details
| Version | 11 |
|---|---|
| Created | August 11, 2023 |
| Last Updated | January 28, 2025 |
| Category | Software development |
| Creator | Juan Ignacio Rios |
| Stats | 665 installs, 73 likes |
| Pricing | Free |
Technical Details
- API:1.0.0
- UI:dist/index.html
- main:dist/code.js
- Document Access:dynamic-page
- Editor Types:figma
More Like This
Discover other plugins in the Software development category.
Figma to Code (HTML, Tailwind, Flutter, SwiftUI)
Code Conversion Made Easy: Figma to Web & Apps
Builder.io - Figma to Code & AI Apps (React, Vue, Tailwind, etc)
Export designs to clean, responsive code or turn Figma screens into AI apps and prototypes.
SkewDat
Skew any layer or group with all layers preserved to edit.