We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffbbb9b commit 0d83ad8Copy full SHA for 0d83ad8
.ai/tailwindcss/4/core.blade.php
@@ -1,7 +1,14 @@
1
## Tailwind 4
2
3
-- Always use Tailwind CSS v4 - do not use the deprecated utilities.
+- Always use Tailwind CSS v4.1+ - do not use the deprecated utilities.
4
- `corePlugins` is not supported in Tailwind v4.
5
+- In Tailwind v4, configuration is CSS-first using the `@theme` directive — no separate `tailwind.config.js` file needed.
6
+@verbatim<code-snippet name="Extending Theme in CSS" lang="css">
7
+@theme {
8
+ --color-brand: oklch(0.72 0.11 178);
9
+}
10
+</code-snippet>
11
+@endverbatim
12
- In Tailwind v4, you import Tailwind using a regular CSS `@import` statement, not using the `@tailwind` directives used in v3:
13
@verbatim
14
<code-snippet name="Tailwind v4 Import Tailwind Diff" lang="diff">
0 commit comments