Back to Plugins

ark-tailwind-codegen
Convert Figma's css output into tailwind classes that match our custom theme.
Plugin Preview
About this plugin
This plugin is based on Parbez's figma-tailwindcss plugin
It uses ARK's custom Tailwind theme to convert Figma's CSS output into tailwind classes that can be used in conjunction with our design system.
The source code is available on Github
How to use
- Click the
Open in...
button and choose the file you want to use it in - Go to your file and make sure you’re in
Dev Mode
(if there are green buttons in the UI, you’re in the right place 👌) - Select the layers you want to generate the class names for
- Make sure you have the Inspect panel open on the right-hand side
- Scroll down to the 'tailwindcss' section et voilà ✨
- If you don’t see this section but instead see an
Inspect layer properties
button, click it and you should see that section appear - If you still can’t see the section, make sure you’ve got `ark-tailwind-code` plugin selected from dropdown at the top-right of the `Code` section
Todo
- [ ] Import tailwind theme from @ark/theming
- [ ] Custom typography classes
- [ ] Convert layout variables to classes
- [ ] Prettier?
Plugin Details
Version | 1 |
---|---|
Created | August 29, 2024 |
Last Updated | August 30, 2024 |
Category | Software development |
Creator | Luke |
Stats | 11 installs, 1 likes |
Pricing | Free |
Technical Details
- API:1.0.0
- UI:ui.html
- main:dist/code.js
- Document Access:dynamic-page
- Editor Types:dev
- Allowed Domains:
- none
- Codegen Languages:
- tailwindcss(css)
More Like This
Discover other plugins in the Software development category.