CSS Variables vs Tailwind Config: Where Should Your Brand Live?
Both work for storing brand tokens. But they serve different purposes. Here's when to use CSS custom properties and when to use tailwind.config.ts.
5 articles tagged with “tailwind”
Both work for storing brand tokens. But they serve different purposes. Here's when to use CSS custom properties and when to use tailwind.config.ts.
You don't need Figma, a design team, or a 200-page style guide. Here's how to set up a functional design system with Tailwind and CSS variables in under 10 minutes.
shadcn/ui ships with a default theme. Here's how to replace it with your brand colors and make every component match your identity.
Tailwind v4 changed how design tokens work. CSS-first config, @theme directive, no more tailwind.config.ts. Here's what you need to update.
Stop guessing hex codes. Generate a complete, accessible Tailwind color palette from a single brand color — primary, semantic, and dark mode included.