From 30d30f68fbc17cb7b187b5a8a6af7962e6295964 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Sun, 14 Jun 2026 16:22:13 +0200 Subject: [PATCH] fix: add @source directives so Tailwind v4 scans all component files Without explicit @source paths, Tailwind v4 auto-detection can miss app/, components/, and lib/ directories in production builds, causing utility classes to be stripped from the output CSS. Co-Authored-By: Claude Sonnet 4.6 --- app/globals.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/globals.css b/app/globals.css index 2feef9b..85b5a48 100644 --- a/app/globals.css +++ b/app/globals.css @@ -1,6 +1,10 @@ @import "tailwindcss"; @import "flag-icons/css/flag-icons.min.css"; +@source "../app/**/*.{ts,tsx}"; +@source "../components/**/*.{ts,tsx}"; +@source "../lib/**/*.{ts,tsx}"; + @theme inline { --color-bg: #040d08; --color-card: #0a1810;