Back to Plugins

Automatic Style Guides
Generate style guides
documentationswatchesgeneratorcreategeneratedvariablesguidebookautomaticgeneratestyleslocal
Plugin Preview
About this plugin
🔥 Style Guide Generator 🔥
Preparing formal style guide documentation from your local styles (and keeping it updated!) has always felt like double entry to me. But thanks to the Figma API you can now prepare a presentable style guide for clients & developers with a click of a button.
🎥 Watch the tutorial 🎥
https://www.youtube.com/watch?v=2svaCq4xmHw
💪 How It Works 💪
Generate Color Swatches
- Create some local text & color styles
- Press Automatic Style Guides > Generate Color Swatches
- A new page called "Style Guide” has been added to your document
Generate A Style Guide
- Create some local text & color styles
- Press Automatic Style Guides > Generate Style Guide
- A new page called "Style Guide” has been added to your document
…or keep your own style guide updated with moustache tags!
- Create some local text & color styles
- Find the text layer you want updated with your local style property value
- Rename that text layer something like {{myTextStyle.fontSize}}
- Press Automatic Style Guides > Update Moustache Tags
- The text layer named {{myTextStyle.fontSize}} will have its contents updated to myTextStyle's font size (ie. 12px).
Available Merge Tags
Text Styles
- {{myTextStyle.id}}
- {{myTextStyle.type}}
- {{myTextStyle.name}}
- {{myTextStyle.description}}
- {{myTextStyle.fontFamily}}
- {{myTextStyle.fontStyle}}
- {{myTextStyle.fontSize}}
- {{myTextStyle.letterSpacing}}
- {{myTextStyle.lineHeight}}
- {{myTextStyle.textCase}}
- {{myTextStyle.textDecoration}}
- {{myTextStyle.paragraphSpacing}}
Color Styles
- {{myColorStyle.id}}
- {{myColorStyle.type}}
- {{myColorStyle.name}}
- {{myColorStyle.description}}
- {{myColorStyle.key}}
- {{myColorStyle.paints}}
- {{myColorStyle.r}}
- {{myColorStyle.g}}
- {{myColorStyle.b}}
- {{myColorStyle.a}}
- {{myColorStyle.rgba}}
- {{myColorStyle.hex}}
- {{myColorStyle.hsla}}
🚨 Warnings 🚨
- Styles that start with a space are not supported.
- Only the first fill of a local paint style will be used.
- Ensure that all styles are uniquely named. If not, it will be skipped.
- Everything is sensitive to case. If something isn't working, double check your sentence case.
- Please ensure there are no missing fonts in your file before running the plugin.
💥 Bugs or Feature Requests? 💥
Email [email protected] - I'd love to hear of any ideas or issues you may have!
Plugin Details
Version | 18 |
---|---|
Created | May 3, 2020 |
Last Updated | July 26, 2023 |
Category | design-tools-other |
Creator | Jordan Geizer |
Stats | 29140 installs, 1658 likes |
Pricing | Free |
Technical Details
- API:1.0.0
- main:app.js
- Editor Types:figma
- Allowed Domains:
- none
More Like This
Discover other plugins in the design-tools-other category.