You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -212,4 +212,11 @@ Use Wayfinder to generate TypeScript functions for Laravel routes. Import from `
212
212
213
213
- IMPORTANT: Activate `inertia-react-development` when working with Inertia React client-side patterns.
214
214
215
+
=== tailwindcss/shadcn rules ===
216
+
217
+
# TailwindCSS & Shadcn Colors
218
+
219
+
- NEVER use hardcoded theme colors like `bg-zinc-50`, `dark:bg-black`, `bg-emerald-50/50`, `dark:bg-zinc-950`, `text-emerald-700`, `dark:text-emerald-400`.
220
+
- ALWAYS use semantic Shadcn variables and color tokens defined in `resources/css/app.css` (e.g., `bg-background`, `text-foreground`, `bg-card`, `text-card-foreground`, `bg-muted`, `text-muted-foreground`, `bg-primary`, `text-primary-foreground`, `bg-secondary`, `text-secondary-foreground`, `border-border`, `bg-destructive`, etc.). This ensures layout consistency and automatic compatibility in both light and dark modes.
Copy file name to clipboardExpand all lines: GEMINI.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -212,4 +212,11 @@ Use Wayfinder to generate TypeScript functions for Laravel routes. Import from `
212
212
213
213
- IMPORTANT: Activate `inertia-react-development` when working with Inertia React client-side patterns.
214
214
215
+
=== tailwindcss/shadcn rules ===
216
+
217
+
# TailwindCSS & Shadcn Colors
218
+
219
+
- NEVER use hardcoded theme colors like `bg-zinc-50`, `dark:bg-black`, `bg-emerald-50/50`, `dark:bg-zinc-950`, `text-emerald-700`, `dark:text-emerald-400`.
220
+
- ALWAYS use semantic Shadcn variables and color tokens defined in `resources/css/app.css` (e.g., `bg-background`, `text-foreground`, `bg-card`, `text-card-foreground`, `bg-muted`, `text-muted-foreground`, `bg-primary`, `text-primary-foreground`, `bg-secondary`, `text-secondary-foreground`, `border-border`, `bg-destructive`, etc.). This ensures layout consistency and automatic compatibility in both light and dark modes.
0 commit comments