chore: add client/src/index.css

This commit is contained in:
notshop 2026-04-26 16:35:04 +00:00
parent 18cf3e8353
commit 4c415f02d1

61
client/src/index.css Normal file
View file

@ -0,0 +1,61 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--background: 0 0% 100%;
--foreground: 222 47% 11%;
--card: 0 0% 100%;
--card-foreground: 222 47% 11%;
--popover: 0 0% 100%;
--popover-foreground: 222 47% 11%;
--primary: 222 47% 20%;
--primary-foreground: 0 0% 98%;
--secondary: 210 40% 96%;
--secondary-foreground: 222 47% 11%;
--muted: 210 40% 96%;
--muted-foreground: 215 16% 47%;
--accent: 210 40% 92%;
--accent-foreground: 222 47% 11%;
--destructive: 0 84% 60%;
--destructive-foreground: 0 0% 98%;
--border: 214 32% 91%;
--input: 214 32% 91%;
--ring: 222 47% 20%;
--radius: 0.5rem;
}
.dark {
--background: 222 47% 5%;
--foreground: 210 40% 96%;
--card: 222 47% 8%;
--card-foreground: 210 40% 96%;
--popover: 222 47% 8%;
--popover-foreground: 210 40% 96%;
--primary: 210 40% 90%;
--primary-foreground: 222 47% 11%;
--secondary: 217 33% 17%;
--secondary-foreground: 210 40% 96%;
--muted: 217 33% 17%;
--muted-foreground: 215 20% 65%;
--accent: 217 33% 17%;
--accent-foreground: 210 40% 96%;
--destructive: 0 63% 31%;
--destructive-foreground: 210 40% 98%;
--border: 217 33% 17%;
--input: 217 33% 17%;
--ring: 212 97% 87%;
}
}
@layer base {
* { @apply border-border; }
body { @apply bg-background text-foreground; font-family: system-ui, -apple-system, sans-serif; }
}
/* Prose for product descriptions */
.prose p { margin-bottom: 0.75em; line-height: 1.7; }
.prose ul { list-style: disc; padding-left: 1.5em; margin-bottom: 0.75em; }
.prose li { margin-bottom: 0.25em; }
.prose strong { font-weight: 600; }