tailwind-v4-shadcn
Production-ready setup for Tailwind CSS v4 with shadcn/ui, dark mode, and CSS variable architecture.
- Four-step architecture: define CSS variables at root level with
hsl()wrapper, map to Tailwind utilities via@theme inline, apply base styles, and enable automatic dark mode switching - Vite plugin-based configuration (no PostCSS or
tailwind.config.tsneeded); requires@tailwindcss/viteand empty"config"in components.json - Semantic color tokens for destructive, success, warning, and info states; dark mode via ThemeProvider with localStorage persistence
- Common gotchas documented: deprecated
tailwindcss-animatepackage, duplicate@layer baseblocks, double-wrappedhsl()values, and wrong plugin syntax using@importinstead of@plugindirective
Tailwind v4 + shadcn/ui Production Stack
Production-tested: WordPress Auditor (https://wordpress-auditor.webfonts.workers.dev) Last Updated: 2025-12-04 Status: Production Ready ✅
Table of Contents
More from secondsky/claude-skills
aceternity-ui
100+ animated React components (Aceternity UI) for Next.js with Tailwind. Use for hero sections, parallax, 3D effects, or encountering animation, shadcn CLI integration errors.
689playwright
Browser automation and E2E testing with Playwright. Auto-detects dev servers, writes clean test scripts. Test pages, fill forms, take screenshots, check responsive design, validate UX, test login flows, check links, automate any browser task. Use for cross-browser testing, visual regression, API testing, component testing in TypeScript/JavaScript and Python projects.
467motion
>-
461api-testing
HTTP API testing for TypeScript (Supertest) and Python (httpx, pytest). Test REST APIs, GraphQL, request/response validation, authentication, and error handling.
372zod
TypeScript-first schema validation and type inference. Use for validating API requests/responses, form data, env vars, configs, defining type-safe schemas with runtime validation, transforming data, generating JSON Schema for OpenAPI/AI, or encountering missing validation errors, type inference issues, validation error handling problems. Zero dependencies (2kb gzipped).
322vitest-testing
Modern TypeScript/JavaScript testing with Vitest. Fast unit and integration tests, native ESM support, Vite-powered HMR, and comprehensive mocking. Use for testing TS/JS projects.
290