Repository navigation
docs(repo): put Mosaic's layer after Tailwind's base reset - #10896
Conversation
With `@layer clerk;` declared first, Tailwind's base layer outranks Mosaic's, so its reset (button padding, backgrounds, borders) strips Mosaic's styles. Declaring Tailwind's layers around `clerk` keeps the reset below Mosaic and utilities above it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
Fix for the With Tailwind snippet in
setup.mdx(#10862).Tailwind v4's
@import 'tailwindcss'declares@layer theme, base, components, utilities. With@layer clerk;declared first, the order becomesclerk, theme, base, …, so Tailwind's base reset (button padding, backgrounds, borders) outranks every Mosaic rule. We hit this setting up@clerk/mosaicin a fresh Next.js 16 + Tailwind v4 app for clerk.com/ui.The snippet now lists Tailwind's layers with
clerkbetweenbaseandcomponents: the reset stays below Mosaic, and utilities stay above it.Targets
carp/mosaic-docs-site, so it lands with #10862.🤖 Generated with Claude Code