Vision Refactor

This commit is contained in:
alma 2026-01-14 12:17:32 +01:00
parent 1a21f47087
commit e88004da95

View File

@ -385,6 +385,16 @@ export default function VisionPage() {
selected={selectedDate}
onSelect={setSelectedDate}
className="rounded-md border"
classNames={{
// 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",
// Jour sélectionné: fond bleu foncé, texte blanc
day_selected: "bg-blue-600 text-white hover:bg-blue-700",
// Jours hors mois: texte gris clair
day_outside: "text-gray-400 bg-white",
}}
modifiers={{
hasMeeting: (date) => {
if (!date) return false;