From 949871b8f59e5ac77c80fda8e629f2fee868aa40 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sat, 15 Mar 2025 02:55:16 +0000 Subject: [PATCH] Change expense chart colors Update the colors of the expense chart to a green/yellow scheme. --- src/pages/Analytics.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/Analytics.tsx b/src/pages/Analytics.tsx index ed712e2..271b99d 100644 --- a/src/pages/Analytics.tsx +++ b/src/pages/Analytics.tsx @@ -9,19 +9,19 @@ import { ChevronLeft, ChevronRight } from 'lucide-react'; const Analytics = () => { const [selectedPeriod, setSelectedPeriod] = useState('이번 달'); - // Updated expense categories to use only the three specified categories + // Updated expense categories with new green and yellow color scheme const expenseData = [{ name: '식비', value: 350000, - color: '#9b87f5' + color: '#81c784' // Green (matching neuro-income) }, { name: '생활비', value: 650000, - color: '#6e59a5' + color: '#AED581' // Light green }, { name: '교통비', value: 175000, - color: '#81c784' + color: '#FFF176' // Soft yellow }]; // Sample data for the monthly comparison - renamed income to budget