Tailwind Theme Gen - Figma plugin

Overview

Convert your Figma designs directly into Tailwindcss theme configurations. This plugin generates tailwind.config.js theme based on your design's styles, including support for multi-mode color variables and fonts.

Features

  • Multi-Mode Color Variables: includes color variants for each mode
  • Color Styles
  • Font Styles: creates fontFamily entry for each font used in design file

Installation

  1. Download: Clone or download the plugin repository.
git clone https://github.com/raswonders/figma-to-tailwind-theme
  1. Install Dependencies: Navigate to the plugin directory and install dependencies.
cd figma-to-tailwind-theme
npm install
  1. Run the Plugin: Start the plugin within Figma Desktop App.
  • Open Figma and go to Plugins > Development > Create New Plugin.
  • Choose the manifest.json file from the cloned repository.
  • Start using the plugin from the Figma toolbar.

Usage

  1. Open Figma: Launch Figma and open your design file.

  2. Run Plugin: Navigate to Plugins > Tailwind Theme Gen > Run

Contributing

Contributions are welcome! Please submit issues or pull requests for any improvements or bug fixes.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Disclaimer

This plugin is developed independently and is not affiliated with or endorsed by Tailwindcss. Tailwindcss is a separate and registered trademark of its respective owners.