Installs Tailwind CSS v3, postcss, autoprefixer, next-themes, lucide-react, clsx, tailwind-merge, class-variance-authority, sonner, and tailwindcss-animate. Creates tailwind.config.ts, postcss.config.mjs, components.json, src/lib/utils.ts (cn helper), replaces globals.css with CSS variable theme, adds suppressHydrationWarning to html element, and replaces MUI ThemeProvider with next-themes ThemeProvider + sonner Toaster. MUI remains installed. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
60 lines
1.4 KiB
CSS
60 lines
1.4 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
@layer base {
|
|
:root {
|
|
--background: 0 0% 100%;
|
|
--foreground: 240 10% 4%;
|
|
--card: 0 0% 98%;
|
|
--card-foreground: 240 10% 4%;
|
|
--popover: 0 0% 100%;
|
|
--popover-foreground: 240 10% 4%;
|
|
--primary: 239 84% 67%;
|
|
--primary-foreground: 0 0% 100%;
|
|
--secondary: 192 91% 43%;
|
|
--secondary-foreground: 0 0% 100%;
|
|
--muted: 240 5% 96%;
|
|
--muted-foreground: 240 4% 46%;
|
|
--accent: 240 5% 96%;
|
|
--accent-foreground: 240 10% 4%;
|
|
--destructive: 0 84% 60%;
|
|
--destructive-foreground: 0 0% 100%;
|
|
--border: 240 6% 90%;
|
|
--input: 240 6% 90%;
|
|
--ring: 239 84% 67%;
|
|
--radius: 0.5rem;
|
|
}
|
|
|
|
.dark {
|
|
--background: 240 10% 4%;
|
|
--foreground: 240 5% 96%;
|
|
--card: 240 6% 10%;
|
|
--card-foreground: 240 5% 96%;
|
|
--popover: 240 6% 10%;
|
|
--popover-foreground: 240 5% 96%;
|
|
--primary: 239 84% 67%;
|
|
--primary-foreground: 0 0% 100%;
|
|
--secondary: 192 91% 43%;
|
|
--secondary-foreground: 0 0% 100%;
|
|
--muted: 240 4% 16%;
|
|
--muted-foreground: 240 5% 65%;
|
|
--accent: 240 4% 16%;
|
|
--accent-foreground: 240 5% 96%;
|
|
--destructive: 0 63% 31%;
|
|
--destructive-foreground: 0 0% 100%;
|
|
--border: 240 4% 16%;
|
|
--input: 240 4% 16%;
|
|
--ring: 239 84% 67%;
|
|
}
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border;
|
|
}
|
|
body {
|
|
@apply bg-background text-foreground;
|
|
}
|
|
}
|