Back to Plugins
Variables & Styles List for Devs

Variables & Styles List for Devs

Figma Plugin that lists all local variables as css variables.

code-generators

Plugin Preview

Variables & Styles List for Devs preview

About this plugin

This plugin allows developers to lists all local variables and export them to JSON as a tokens.json file or CSS with custom properties.


Tokens.json


For JSON code generation, you can apply custom settings achieve the best result for your needs, such as:

  1. Unit settings
  2. Tab size
  3. Separate collections in single files
  4. Automatically abbreviate collection names
  5. Use dimensions for numbers
  6. Generate text values


Tokens.css


Custom properties, also knows as CSS variables, can also be customized:

  1. Unit settings
  2. Tab size
  3. Separate collections in single files
  4. Automatically abbreviate collection names
  5. Collection name prefix
  6. Custom prefix
  7. Show description as CSS comments
  8. Color value type (hex, rgb or hsl)
  9. Generate text values

Plugin Details

Version15
CreatedJuly 3, 2023
Last UpdatedJanuary 15, 2024
CategorySoftware development
CreatorSebastian Hösl
Stats140 installs, 20 likes
PricingFree

Technical Details

  • API:1.0.0
  • UI:{"main": "main-ui/index.html", "settings": "settings-ui/index.html"}
  • main:code.js
  • Editor Types:
    dev
  • Allowed Domains:
    • none
  • Codegen Languages:
    • CSS custom properties (variables)(css)
    • tokens.json(json)