diff --git a/src/app/globals.css b/src/app/globals.css
index ba37c7a..32042fe 100644
--- a/src/app/globals.css
+++ b/src/app/globals.css
@@ -16,9 +16,9 @@
them to Tailwind color utilities (bg-background, text-primary…).
========================================================= */
:root {
- /* Base */
- --background: #ffffff;
- --foreground: #1a1a1a;
+ /* Base — sfondo generale app #F8F9FA (color-bg-light), testo slate-900 */
+ --background: #F8F9FA;
+ --foreground: #0F172A;
/* Brand primary — verde scuro iamcavalli */
--primary: #1A463C;
@@ -28,29 +28,29 @@
--accent: #DEF168;
--accent-foreground: #1A463C;
- /* Secondary — grigio neutro */
- --secondary: #f4f4f5;
- --secondary-foreground: #1a1a1a;
+ /* Secondary — grigio neutro (slate-100) */
+ --secondary: #f1f5f9;
+ --secondary-foreground: #0F172A;
- /* Muted — per testi e sfondi secondari */
- --muted: #f9f9f9;
- --muted-foreground: #71717a;
+ /* Muted — sfondi secondari (slate-50) / testo slate-500 */
+ --muted: #f8fafc;
+ --muted-foreground: #64748B;
/* Destructive */
--destructive: #ef4444;
--destructive-foreground: #ffffff;
- /* Card */
- --card: #ffffff;
- --card-foreground: #1a1a1a;
+ /* Card — bianco puro (color-bg-card) */
+ --card: #FFFFFF;
+ --card-foreground: #0F172A;
/* Popover */
- --popover: #ffffff;
- --popover-foreground: #1a1a1a;
+ --popover: #FFFFFF;
+ --popover-foreground: #0F172A;
- /* Border / Input / Ring */
- --border: #e5e7eb;
- --input: #e5e7eb;
+ /* Border (slate-200 = border-card) / Input / Ring */
+ --border: #e2e8f0;
+ --input: #e2e8f0;
--ring: #1A463C;
/* Semantic — stato task/pagamenti */
@@ -58,10 +58,10 @@
--warning: #ca8a04;
--info: #2563eb;
- /* Legacy — usati inline nei componenti esistenti */
- --tertiary: #999999;
- --bg-subtle: #f9f9f9;
- --border-light: #e5e5e5;
+ /* Legacy — text-light slate-400, border-soft slate-100 */
+ --tertiary: #94A3B8;
+ --bg-subtle: #f8fafc;
+ --border-light: #f1f5f9;
--radius: 0.5rem;
}
diff --git a/src/components/admin/AdminShell.tsx b/src/components/admin/AdminShell.tsx
index f38cb0a..809a4f4 100644
--- a/src/components/admin/AdminShell.tsx
+++ b/src/components/admin/AdminShell.tsx
@@ -58,7 +58,9 @@ export function AdminShell({ children }: { children: React.ReactNode }) {
- {children}
+
+ {children}
+
);
diff --git a/src/components/admin/AdminSidebar.tsx b/src/components/admin/AdminSidebar.tsx
index 2df1cd8..7dab484 100644
--- a/src/components/admin/AdminSidebar.tsx
+++ b/src/components/admin/AdminSidebar.tsx
@@ -41,7 +41,7 @@ export function AdminSidebar({ collapsed = false }: { collapsed?: boolean }) {
return (