From 5ae7f99fe1b323ae23f206e59f145289a873d476 Mon Sep 17 00:00:00 2001 From: Till JS Date: Wed, 15 Apr 2026 22:17:15 +0200 Subject: [PATCH] =?UTF-8?q?fix(css):=20correct=20@source=20paths=20?= =?UTF-8?q?=E2=80=94=20Tailwind=20was=20scanning=20no=20shared=20packages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit app.css lives at apps/mana/apps/web/src/app.css — five directory levels below the repo root. All existing @source directives used four ../ segments, resolving to apps/packages/... which does not exist. Tailwind silently scanned nothing. Consequence: arbitrary-value utilities only used inside shared packages (e.g. bg-[hsl(var(--color-muted))] in GlobalSettingsSection) were never generated. Standard utilities kept working because they also appear in app sources, but the language / week-start / sounds buttons in the settings Allgemein tab rendered transparent. - Bump every @source to 5x ../ so it points into /packages - Drop the non-existent shared-subscription-ui entry - Add subscriptions and credits, whose .svelte files also use arbitrary-value classes Co-Authored-By: Claude Opus 4.6 (1M context) --- apps/mana/apps/web/src/app.css | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/apps/mana/apps/web/src/app.css b/apps/mana/apps/web/src/app.css index 34e7b134f..7a4694042 100644 --- a/apps/mana/apps/web/src/app.css +++ b/apps/mana/apps/web/src/app.css @@ -1,14 +1,16 @@ @import 'tailwindcss'; @import '@mana/shared-tailwind/themes.css'; -/* Scan shared packages for Tailwind classes */ -@source "../../../../packages/shared-ui/src"; -@source "../../../../packages/shared-auth-ui/src"; -@source "../../../../packages/shared-branding/src"; -@source "../../../../packages/shared-theme-ui/src"; -@source "../../../../packages/shared-theme-ui/src/components"; -@source "../../../../packages/shared-theme-ui/src/pages"; -@source "../../../../packages/shared-subscription-ui/src"; +/* Scan shared packages for Tailwind classes. + app.css is at apps/mana/apps/web/src/app.css — five levels below repo root. */ +@source "../../../../../packages/shared-ui/src"; +@source "../../../../../packages/shared-auth-ui/src"; +@source "../../../../../packages/shared-branding/src"; +@source "../../../../../packages/shared-theme-ui/src"; +@source "../../../../../packages/shared-theme-ui/src/components"; +@source "../../../../../packages/shared-theme-ui/src/pages"; +@source "../../../../../packages/subscriptions/src"; +@source "../../../../../packages/credits/src"; @layer base { :root {