CSS Variables to Figma
Import existing css variables to figma variables
Plugin Preview
About this plugin
Import css variables into Figma variablesThis plugin enables you import color variables from CSS into Figma, supporting both single-mode and dual Light/Dark mode setups. It maps your CSS variables to Figma's variable modes, converting formats like OKLCH (Tailwind), HEX, RGBA, and RGB into Figma-compatible HEX values. OKLCH, P3, and HCT color values are also preserved and attached to each variable for reference.Update:AttachExample: .light {--color-primary: #000;}.dark {--color-primary: #fff;}How it works: Paste your CSS variables in the text area below.Click "Export to JSON" to generate a Figma-compatible variables file.Import the JSON file into Figma using the Figma Variables by Honza TomanWatch video→ how it works.Currently supported: Color variablesAttach oklch, p3 colors and HCT values to variable syntaxNext updates: Border radius variablesSpacing variablesShadows...Feedback and supportLet us know your feedback and suggestions! @sans_sherifSupport the development of this plugin buy us a coffee ☕
Plugin Details
| Version | 12 |
|---|---|
| Created | April 9, 2025 |
| Last Updated | November 16, 2025 |
| Category | Import & export plugins |
| Creator | Sherif SALEH |
| Stats | 44 installs, 8 likes |
| Pricing | Free |
Technical Details
- API:1.0.0
- UI:ui.html
- main:code.js
- Document Access:dynamic-page
- Editor Types:figma
- Allowed Domains:
- none
More Like This
Discover other plugins in the Import & export plugins category.
Free Compressed PDF and Image Exporter (PDF, PNG, JPG, WebP and SVG)
Export compressed PNG, PDF, JPG, SVG, WebP & merge multiple frames into one PDF—fast & easy! 🚀
Color Import / Export
Help design and dev teams stay in sync by providing import and export tools for color palettes
Export/Import Variables
Export variables from one file and import them to another. Supports modes, references, and scopes.