managarten/packages/shared-tailwind/src/sources.css
Till JS f203e100c1 chore: final cleanup — dead link, security status, showTitle, drop subscriptions
1. CompleteStep: /apps → / ("Workbench" instead of dead "Alle Apps")
2. pnpm lockfile synced after @mana/subscriptions removal
3. Security header panel: status dots for Passkey/2FA/Sessions count
4. GeneralSection: inline settings rows replace GlobalSettingsSection
   wrapper — no more title="" hack or double-card nesting
5. shared-auth-ui: showTitle prop on PasskeyManager, SessionManager,
   TwoFactorSetup, AuditLog; SecuritySection passes showTitle={false}
6. Drop @mana/subscriptions from sources.css + package.json

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 14:27:46 +02:00

25 lines
1,000 B
CSS

/**
* Shared Tailwind source-scan list.
*
* Apps that consume our @mana/shared-* UI packages need Tailwind to scan
* those packages for utility classes (including arbitrary-value ones like
* `bg-[hsl(var(--color-muted))]`). Keeping the `@source` list in each app's
* app.css duplicates it and invites off-by-one path bugs — which is exactly
* what happened (`../../../../` instead of `../../../../../` meant Tailwind
* scanned nothing in shared packages, silently).
*
* Tailwind v4 resolves `@source` paths relative to the CSS file that
* declares them, so centralizing here means consumer apps just do:
*
* @import "tailwindcss";
* @import "@mana/shared-tailwind/themes.css";
* @import "@mana/shared-tailwind/sources.css";
*
* and the paths Just Work regardless of how deep the consuming app lives.
*/
@source "../../shared-ui/src";
@source "../../shared-auth-ui/src";
@source "../../shared-branding/src";
@source "../../shared-theme-ui/src";
@source "../../credits/src";