Skip to content

fix(docs): load fumadocs CSS preset + Tailwind on /docs#84

Merged
f-amine merged 1 commit into
masterfrom
fix/docs-css
May 15, 2026
Merged

fix(docs): load fumadocs CSS preset + Tailwind on /docs#84
f-amine merged 1 commit into
masterfrom
fix/docs-css

Conversation

@f-amine

@f-amine f-amine commented May 15, 2026

Copy link
Copy Markdown
Owner

Docs rendered as unstyled text — fumadocs-ui v16 CSS wasn't loaded.

apps/marketing/src/app/[locale]/docs/docs.css — Tailwind v4 entry + fumadocs preset + shadcn theme, scoped to /docs via import in docs/layout.tsx.

Docs page rendered as unstyled text because fumadocs-ui's CSS wasn't
loaded. v16 ships preset.css + theme CSS files that need Tailwind v4
to compile the utility classes they reference.

- apps/marketing/src/app/[locale]/docs/docs.css — Tailwind entry +
  fumadocs preset + shadcn theme + @source scan of fumadocs-ui dist
- imported only from docs/layout.tsx so the bundle ships exclusively
  for /docs (not bleeding into marketing landing/blog)
@f-amine f-amine merged commit 2b89217 into master May 15, 2026
2 checks passed
@f-amine f-amine deleted the fix/docs-css branch May 15, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant