Figma

Tempura Generator Figma Plugin

Download local styles as swift code, and save time.

A lifesaver for developers.

Tempura Generator lets you download local styles as swift code—no more time wasted with annoying typos and boring repetition. Just plug in and play. When styling specific labels with local styles, Tempura Generator generates the code for the label, so you can paste it immediately into the scene you’re developing.

INSTRUCTIONS

* To download the Color Style catalog, select the Color Style header and click Download Archive. Unzip the downloaded Archive, and copy and paste its contents into the project. You can then access these colors and use them by typing <<Palette.(Color name)>>

* The same procedure applies for text styles. Select Text Styles, Download File, and copy and paste it into the project. You can then access these text styles by typing <<TextStyles.(Style name)>>

* You can generate a code to compose a label inside the UI of a scene by doing the following: Select the label you want to code, then select Code Header in the plugin, make your choices, and click Copy Style.