- Create components.json (new-york style, slate base, CSS variables) - Add shadcn/ui components: button, card, input, select, badge, scroll-area, checkbox, separator, label, textarea - Create src/lib/utils.ts with cn() helper (clsx + tailwind-merge) - Replace old CSS classes in styles.css with Tailwind v4 @theme inline block containing shadcn color tokens and custom app theme colors - Add radix-ui dependency (required by shadcn components) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
21 lines
407 B
JSON
21 lines
407 B
JSON
{
|
|
"$schema": "https://ui.shadcn.com/schema.json",
|
|
"style": "new-york",
|
|
"rsc": false,
|
|
"tsx": true,
|
|
"tailwind": {
|
|
"config": "",
|
|
"css": "src/styles.css",
|
|
"baseColor": "slate",
|
|
"cssVariables": true
|
|
},
|
|
"aliases": {
|
|
"components": "@/components",
|
|
"utils": "@/lib/utils",
|
|
"ui": "@/components/ui",
|
|
"lib": "@/lib",
|
|
"hooks": "@/hooks"
|
|
},
|
|
"iconLibrary": "lucide"
|
|
}
|