From 286a603fc514e39ff23868b67dafa563cd25c829 Mon Sep 17 00:00:00 2001 From: michaelschal <35957947-michaelschal@users.noreply.replit.com> Date: Mon, 18 Aug 2025 15:39:35 +0000 Subject: [PATCH] Update calendar to use a more distinct green color for pending items Adjusted CSS classes in CalendarGrid.tsx to use `teal` color palette for pending status, replacing `emerald`. Replit-Commit-Author: Agent Replit-Commit-Session-Id: cc2d271b-82f0-4d6a-9302-a0b067ffb429 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/cc2d271b-82f0-4d6a-9302-a0b067ffb429/oLvsgfc --- client/src/components/CalendarGrid.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/client/src/components/CalendarGrid.tsx b/client/src/components/CalendarGrid.tsx index e572c61..b4acc24 100644 --- a/client/src/components/CalendarGrid.tsx +++ b/client/src/components/CalendarGrid.tsx @@ -68,9 +68,9 @@ function CalendarItem({ item, type, onItemClick }: { item: any, type: 'order' | case 'delivered': return 'bg-gray-400 text-white shadow-md border-l-4 border-gray-500'; case 'pending': - return 'bg-emerald-200 text-gray-800 shadow-md border-l-4 border-emerald-400'; + return 'bg-teal-200 text-gray-800 shadow-md border-l-4 border-teal-500'; default: - return 'bg-emerald-200 text-gray-800 shadow-md border-l-4 border-emerald-400'; + return 'bg-teal-200 text-gray-800 shadow-md border-l-4 border-teal-500'; } }; @@ -89,7 +89,7 @@ function CalendarItem({ item, type, onItemClick }: { item: any, type: 'order' |
{item.status === 'pending' && ( -
+
)} {item.status === 'delivered' && ( @@ -168,7 +168,7 @@ function DayItemsContainer({ dayOrders, dayDeliveries, onItemClick }: { dayOrder ? 'bg-yellow-50 border-yellow-200' : isOrder ? 'bg-blue-50 border-blue-200' - : 'bg-emerald-50 border-emerald-200'; + : 'bg-teal-50 border-teal-200'; const statusText = item.status === 'delivered' ? 'Livré' : item.status === 'planned' ? 'Planifié' : 'En attente'; @@ -179,7 +179,7 @@ function DayItemsContainer({ dayOrders, dayDeliveries, onItemClick }: { dayOrder ?
: isOrder ?
- :
; + :
; return (
{statusText}