mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-12 01:37:40 +02:00
Update calendar to use pale yellow for planned linked orders
Change the background and text color for 'planned' orders in the calendar view from orange to pale yellow, and update the associated status indicator color. Replit-Commit-Author: Agent Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/drT6QMF
This commit is contained in:
1 parent
7a534e4fc3
commit
09036d0049
1 file changed
+2
-2
@@ -25,7 +25,7 @@ function CalendarItem({ item, type, onItemClick }: { item: any, type: 'order' |
|
||||
const colorClass = item.status === 'delivered'
|
||||
? 'bg-delivered text-white'
|
||||
: item.status === 'planned'
|
||||
? 'bg-orange-500 text-white border-2 border-orange-300'
|
||||
? 'bg-yellow-200 text-gray-800 border-2 border-yellow-300'
|
||||
: 'bg-primary text-white';
|
||||
|
||||
return (
|
||||
@@ -41,7 +41,7 @@ function CalendarItem({ item, type, onItemClick }: { item: any, type: 'order' |
|
||||
</span>
|
||||
<div className="flex items-center ml-1 flex-shrink-0">
|
||||
{item.status === 'planned' && (
|
||||
<span className="w-2 h-2 bg-yellow-300 mr-1" title="Commande planifiée (liée à une livraison)" />
|
||||
<span className="w-2 h-2 bg-yellow-600 mr-1" title="Commande planifiée (liée à une livraison)" />
|
||||
)}
|
||||
{item.status === 'delivered' && (
|
||||
<Check className="w-3 h-3" />
|
||||
|
||||
Reference in new issue
Block a user