Tailwind Color Palettes - TailwindCSS Import & Export
by Varun
Add TailwindCSS colors to your figma file in few clicks
Installs
13,900
Likes
1,864
Users
65,379
Views
63,306
Preview
About this plugin
This plugin will add Tailwind Color Styles to your Figma file. You can choose between the available presets.
Features:
You can select the following presets from the dropdown - Tailwind v4, Tailwind v3, Tailwind v2, Tailwind v1 and Tailwind UI (deprecated)In addition you can generate a custom file using the tailwind.config.js file content using this file generatorYou can import the palette that you've create tailwind.ink using the generator and custom file upload featureExport the local color styles as CSS/JSON with RGB/HSL/OKLCH support.
Note:
There could be minute differences in the color values. For example oklch(0.637 0.237 25.331) becomes oklch(63.79% 0.2373 25.44deg) in the plugin. This happens due to the conversion from tailwind color to Figma color and Figma color to tailwind config color in the "export" feature.
So the values are slightly off in the "export" feature. I will try to improve it.
If you enjoy this plugin, please follow me on twitter.
Thanks!