Design Tokenizer
Design Tokenizer parses style information and generates design tokens in JSON format. The JSON file is suitable for consumption by a build system framework like style-dictionary. A basic design libarary is available for you to study, as well as an example project that demonstrates end-to-end integration of design tokens. Just click the help link! _______________________________________________________________________ How the plugin works: Figma stores your text, color, effect, and layout styles as internal style objects. Design Tokenizer will parse everything it can from these objects. Additioally, Design Tokenizer can generate tokens for your margin and padding spacers, radii, and border widths as long as you follow certain conventions: Frame - Create a frame and name it “Sizes.” - Created rectangles for each custom style. Spacer Rectangles - Name spacers “spacer/name”. - The width and height values are tokenized. Corner Radius Rectangles - Name radii “corner-radius/name”. - The corner radius value is tokenized. Border Width Rectangles - Name border widths “border/name”. - The stroke width value is tokenized. _______________________________________________________________________ Limitations: - Image-based color styles are not supported.
Plugin Preview
About this plugin
Design Tokenizer parses style information and generates design tokens in JSON format. The JSON file is suitable for consumption by a build system framework like style-dictionary. A basic design libarary is available for you to study, as well as an example project that demonstrates end-to-end integration of design tokens. Just click the help link! _______________________________________________________________________ How the plugin works: Figma stores your text, color, effect, and layout styles as internal style objects. Design Tokenizer will parse everything it can from these objects. Additioally, Design Tokenizer can generate tokens for your margin and padding spacers, radii, and border widths as long as you follow certain conventions: Frame - Create a frame and name it “Sizes.” - Created rectangles for each custom style. Spacer Rectangles - Name spacers “spacer/name”. - The width and height values are tokenized. Corner Radius Rectangles - Name radii “corner-radius/name”. - The corner radius value is tokenized. Border Width Rectangles - Name border widths “border/name”. - The stroke width value is tokenized. _______________________________________________________________________ Limitations: - Image-based color styles are not supported.
Plugin Details
Version | 5 |
---|---|
Created | October 18, 2019 |
Last Updated | June 26, 2020 |
Category | Software development |
Creator | Lee Brenner |
Stats | 1982 installs, 64 likes |
Pricing | Free |
Technical Details
- API:1.0.0
- UI:ui.html
- main:code.js
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
Anima - Figma to Code React, HTML, CSS, Tailwind, MUI (DevMode Inspect React / HTML / Vue / CSS)
Anima - AI Powered Design to code
Builder.io - AI-Powered Figma to Code (React, Vue, Tailwind, & more)
Export designs to responsive code (React, HTML, Vue, Tailwind, etc) with AI