Tailwind documentation
These topics are Tailwind's own and are not verified by this repository.
These topics are Tailwind's own and are not verified by this repository. Read them in Tailwind's documentation for the version you use (the template pins 4.3.3):
- How Tailwind v4 finds class names in source files, and why complete class names are required.
- The CSS-first configuration that replaces
tailwind.config.js:@theme,@source, and@custom-variant(for a class-baseddark:variant). - The upgrade guide from v3 to v4, including the replacement of the
@tailwinddirectives and PostCSS setup. @apply,@layer, and arbitrary values and variants.- The
tailwind-mergepackage, if you want conflicting utilities resolved incn().