flâneur — a map of the web's best reading

Theme variables - Core concepts - Tailwind CSS

tailwindcss.com · 6,379 words · saved by 1 readers

Using utility classes as an API for your design tokens.

Theme variables - Core concepts - Tailwind CSS v 4.3 ⌘K Ctrl K Docs Blog Showcase Partners Plus Core concepts Theme variables Core concepts Theme variables Using utility classes as an API for your design tokens. Overview Tailwind is a framework for building custom designs, and different designs need different typography, colors, shadows, breakpoints, and more. These low-level design decisions are often called design tokens , and in Tailwind projects you store those values in theme variables . What are theme variables? Theme variables are special CSS variables defined using the @theme directive

Explore this link on the map →

related reading