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 2b7909d commit 355f7c2Copy full SHA for 355f7c2
.ai/tailwindcss/4/core.blade.php
@@ -2,6 +2,13 @@
2
3
- Always use Tailwind CSS v4 - 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 is 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