mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-17 12:29:40 +02:00
shared-auth-ui components (PasskeyManager, SessionManager, TwoFactorSetup, AuditLog, ChangePassword, SecurityOnboarding) take a primaryColor prop that gets written as inline --primary-color on the component root. The mana app was passing a literal "#6366f1" (indigo) everywhere, so the Security tab and auth pages used a fixed indigo accent that ignored the user's theme. Pass "hsl(var(--color-primary))" instead — the nested var resolves live, so theme switches carry through. tailwind.config.js in apps/mana/apps/web was fully vestigial: - no @config directive in app.css, no reference from vite/svelte configs - imported @mana/shared-tailwind/preset, which the package doesn't export - only themes.css is exported, and it's loaded directly from app.css Tailwind v4 with CSS-first config is the real setup. Delete the file and remove its entry from SETUP.md. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| landing | ||
| mobile | ||
| web | ||