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:
+1
-1
@@ -1,5 +1,5 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<html lang="en" class="dark">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
Reference in New Issue
Block a user