#Tailwind
4 posts tagged with this topic. ← All tags
-
tailwind.config design tokens: one source of truth for colors and spacing.
How to extend Tailwind's config with custom design tokens so your brand colors, spacing scale, and typography are defined once and used everywhere.
-
Dark mode in Tailwind: class strategy vs media query.
Tailwind supports two dark mode strategies. Here is what each one does, how to implement both, and when to choose one over the other.
-
Mobile-first responsive design with Tailwind: the breakpoints that matter.
How Tailwind's breakpoint system works, why mobile-first means unprefixed classes apply to small screens, and which breakpoints to actually use.
-
Why utility-first CSS feels wrong for 3 days and right forever after.
The mental shift required to write Tailwind CSS, why HTML with long class strings looks like a mistake at first, and why it stops feeling that way.