tailwind-v4-shadcn
jezweb · Development
提供使用 CSS 变量和 @theme inline 模式设置 Tailwind CSS v4 与 shadcn/ui 的清晰分步指南。解决了常见的迁移错误,包含可用的主题提供者,并针对五种特定的构建问题提供故障排除方案。
Set up Tailwind v4 with shadcn/ui using @theme inline pattern and CSS variable architecture. Four-step pattern: CSS variables, Tailwind mapping, base styles, automatic dark mode. Prevents 8 documented errors. Use when initializing React projects with Tailwind v4, or fixing colors not working, tw-animate-css errors, @theme inline dark mode conflicts, @apply breaking, v3 migration issues.
npx skills add https://github.com/jezweb/claude-skills --skill tailwind-v4-shadcn
星标 852 · 安装量 2686