Skip to content

Latest commit

 

History

History
67 lines (56 loc) · 2.3 KB

File metadata and controls

67 lines (56 loc) · 2.3 KB

Figma-Tailwind Design System CookieCutter

A Tailwind project that actually aligns to your design system

Figma Text Styles to TailwindCSS

Whether you're vibe-coding, prototyping, building production apps or setting up design systems - this cookiecutter creates true alignment between your Figma designs and codebase without comprimise for development or design standard.

🎪 Who This Is For

  • Designers & Product People Create prototypes that actually look like your designs
  • Development Teams Expedite the set up to align to your design system -> build faster
  • Design and Frontend Ops - Single source of truth, automated consistency across design and code

🚀 5-Minute Setup

  1. Get the Figma Community File - 📁 Download Figma Community File
  2. Customise Your Tokens - Modify colors and fonts in Figma
  3. Sync to Code - Export your tokens and run the sync scripts to generate Tailwind variables and classes

🙌 Clone & Install

git clone https://github.com/alfrankl1/figma-tailwind-cookiecutter.git
cd figma-tailwind-cookiecutter
npm install



✨ Key Features

  • 🎨 True Figma-Code Alignment - Design tokens sync automatically
  • 🌗 Smart Themes - Light/dark modes with semantic variables
  • Tailwind 4.1 - Latest version with CSS variables
  • 🧩 shadcn Foundation - Pre-built components, design-aligned
  • 🎯 MCP-Ready - Optimized for AI vibe-coding workflows
  • 📐 Pixel-Perfect Typography - Font styles match Figma exactly



🎯 Design Philosophy

Semantic Colors

/* Instead of hard-coded */
bg-blue-500

/* Use semantic tokens */
bg-brand text-brand-secondary border-brand-tertiary

Typography Alignment

.font-button      /* Matches Figma button styles */
.font-title       /* Matches Figma headings */
.font-body-large  /* Matches Figma body text */

🛠 Tech Stack

  • Next.js 15.3.5 + TypeScript
  • Tailwind CSS 4.1 with native CSS variables
  • shadcn/ui components (customised)
  • Phosphor Icons (Figma-aligned)

🤝 Contributing

Help build the ultimate Figma-code bridge:

  • Add component integrations
  • Improve sync scripts
  • Share your setups

MIT License