From 1cf3b3fc4e6bf9b22db2bc09b29d7d4f33afe4bb Mon Sep 17 00:00:00 2001 From: alma Date: Wed, 14 Jan 2026 12:20:21 +0100 Subject: [PATCH] Vision Refactor --- app/vision/page.tsx | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/app/vision/page.tsx b/app/vision/page.tsx index e7385f2..125ef36 100644 --- a/app/vision/page.tsx +++ b/app/vision/page.tsx @@ -386,14 +386,18 @@ export default function VisionPage() { onSelect={setSelectedDate} className="rounded-md border" classNames={{ + // Header: mois/année en texte sombre + caption_label: "!text-gray-900 !font-semibold", + // Boutons de navigation: texte sombre sur fond blanc + nav_button: "!text-gray-700 hover:!text-gray-900 !bg-white", // Forcer texte sombre sur fond blanc pour les jours normaux - day: "text-gray-900 bg-white hover:bg-gray-100", - // Jour d'aujourd'hui: fond accent mais texte lisible - day_today: "bg-blue-100 text-blue-700 border-blue-500 border-2", + day: "!text-gray-900 !bg-white hover:!bg-gray-100", + // Jour d'aujourd'hui: fond bleu clair avec texte bleu lisible + day_today: "!bg-blue-100 !text-blue-700 !border-blue-500 !border-2", // Jour sélectionné: fond bleu foncé, texte blanc - day_selected: "bg-blue-600 text-white hover:bg-blue-700", + day_selected: "!bg-blue-600 !text-white hover:!bg-blue-700", // Jours hors mois: texte gris clair - day_outside: "text-gray-400 bg-white", + day_outside: "!text-gray-400 !bg-white", }} modifiers={{ hasMeeting: (date) => { @@ -402,7 +406,7 @@ export default function VisionPage() { }, }} modifiersClassNames={{ - hasMeeting: "bg-blue-600 text-white font-semibold hover:bg-blue-700", + hasMeeting: "!bg-blue-600 !text-white !font-semibold hover:!bg-blue-700", }} />