From 2ae315c8fe165612ee2dbf503a682acd14dd4c36 Mon Sep 17 00:00:00 2001 From: Kritkhanin Anantakul <65160144@go.buu.ac.th> Date: Tue, 25 Mar 2025 21:34:51 +0700 Subject: [PATCH] fix color --- src/components/GanttChart/GanttChart.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/GanttChart/GanttChart.vue b/src/components/GanttChart/GanttChart.vue index aadebd5..392e37e 100644 --- a/src/components/GanttChart/GanttChart.vue +++ b/src/components/GanttChart/GanttChart.vue @@ -114,8 +114,8 @@ const pageContext = usePageContextStore(); const ORDER_COLORS = ['#FFCDD2', '#FFE0B2', '#90CAF9']; // แดงอ่อน, ส้มอ่อน, น้ำเงินอ่อน const SPECIAL_COLORS: Record<string, string> = { - 'ผลิตเผื่อ': '#9E9E9E', // เทา - 'เปลี่ยนขนาด': '#B3E5FC', // ฟ้าอ่อน + 'ผลิตเผื่อ': '#94f397', + 'เปลี่ยนขนาด': '#B3E5FC', }; // ใช้ currentPage เป็น pagenum จาก pageContext -- GitLab