Phase 1c: shadcn/ui primitives + CSS-variable theme tokens
- components.json, @/* path alias in tsconfig + vite config - Tailwind config: CSS-variable-backed color tokens, animation plugin - index.css: :root (light) and .dark token blocks (slate base) — currently pinned to dark via class on <html> so visual appearance is unchanged - src/lib/utils.ts: cn() helper (clsx + tailwind-merge) - src/components/ui/: 16 primitives — button, input, label, textarea, badge, avatar, separator, skeleton, dialog, dropdown-menu, select, tabs, tooltip, sonner, alert-dialog, popover - Nothing replaced yet; existing components still in place. Used in Phase 3. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"$schema": "https://ui.shadcn.com/schema.json",
|
||||
"style": "default",
|
||||
"rsc": false,
|
||||
"tsx": true,
|
||||
"tailwind": {
|
||||
"config": "tailwind.config.js",
|
||||
"css": "src/index.css",
|
||||
"baseColor": "slate",
|
||||
"cssVariables": true,
|
||||
"prefix": ""
|
||||
},
|
||||
"aliases": {
|
||||
"components": "@/components",
|
||||
"utils": "@/lib/utils",
|
||||
"ui": "@/components/ui",
|
||||
"lib": "@/lib",
|
||||
"hooks": "@/hooks"
|
||||
},
|
||||
"iconLibrary": "lucide"
|
||||
}
|
||||
Reference in New Issue
Block a user