Semantic, themable color design tokens in Tailwind CSS
In this workshop, we're going to define semantic color tokens in Tailwind CSS, to adhere to a convention set in a Figma design File.
We'll cover both Tailwind CSS v3 and v4 approaches 🔥
What to expect:
Figma to Tailwind CSS: Convert a Figma design to a Tailwind CSS project.
Color Design Tokens: Implement custom colors in your Tailwind CSS project, starting with raw colors and adding a layer of abstraction for semantic color tokens.
Semantic Design Tokens: Lock down color usage to specific scenarios.
CSS Variables: Leverage CSS variables to make your color tokens themable.
Tailwind CSS v4: Prepare for the future by porting your work to the Tailwind v4 CSS-first theme configuration.