From 0d83ad8d25cdc95617633e0aa50d2239378ee720 Mon Sep 17 00:00:00 2001 From: Pushpak Chhajed Date: Tue, 28 Oct 2025 18:01:36 +0530 Subject: [PATCH 1/3] docs: update Tailwind v4+ guidelines with configuration guidelines Signed-off-by: Pushpak Chhajed --- .ai/tailwindcss/4/core.blade.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.ai/tailwindcss/4/core.blade.php b/.ai/tailwindcss/4/core.blade.php index acef2cf0..f833283e 100644 --- a/.ai/tailwindcss/4/core.blade.php +++ b/.ai/tailwindcss/4/core.blade.php @@ -1,7 +1,14 @@ ## Tailwind 4 -- Always use Tailwind CSS v4 - do not use the deprecated utilities. +- Always use Tailwind CSS v4.1+ - do not use the deprecated utilities. - `corePlugins` is not supported in Tailwind v4. +- In Tailwind v4, configuration is CSS-first using the `@theme` directive — no separate `tailwind.config.js` file needed. +@verbatim +@theme { + --color-brand: oklch(0.72 0.11 178); +} + +@endverbatim - In Tailwind v4, you import Tailwind using a regular CSS `@import` statement, not using the `@tailwind` directives used in v3: @verbatim From f2e4f6d74fd13f593f78efba6f8fd96d09656aa8 Mon Sep 17 00:00:00 2001 From: Pushpak Chhajed Date: Tue, 28 Oct 2025 21:05:33 +0530 Subject: [PATCH 2/3] Revert 4.1 change Signed-off-by: Pushpak Chhajed --- .ai/tailwindcss/4/core.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ai/tailwindcss/4/core.blade.php b/.ai/tailwindcss/4/core.blade.php index f833283e..e170679d 100644 --- a/.ai/tailwindcss/4/core.blade.php +++ b/.ai/tailwindcss/4/core.blade.php @@ -1,6 +1,6 @@ ## Tailwind 4 -- Always use Tailwind CSS v4.1+ - do not use the deprecated utilities. +- Always use Tailwind CSS v4 - do not use the deprecated utilities. - `corePlugins` is not supported in Tailwind v4. - In Tailwind v4, configuration is CSS-first using the `@theme` directive — no separate `tailwind.config.js` file needed. @verbatim From 4c0e7a1544334372070af71d0742be2efd542d95 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 5 Nov 2025 15:41:31 -0600 Subject: [PATCH 3/3] Update core.blade.php --- .ai/tailwindcss/4/core.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ai/tailwindcss/4/core.blade.php b/.ai/tailwindcss/4/core.blade.php index e170679d..21ff2366 100644 --- a/.ai/tailwindcss/4/core.blade.php +++ b/.ai/tailwindcss/4/core.blade.php @@ -2,7 +2,7 @@ - Always use Tailwind CSS v4 - do not use the deprecated utilities. - `corePlugins` is not supported in Tailwind v4. -- In Tailwind v4, configuration is CSS-first using the `@theme` directive — no separate `tailwind.config.js` file needed. +- In Tailwind v4, configuration is CSS-first using the `@theme` directive — no separate `tailwind.config.js` file is needed. @verbatim @theme { --color-brand: oklch(0.72 0.11 178);