From 0abc5cd4a8711210a66124aea901a64b26b73bd6 Mon Sep 17 00:00:00 2001 From: Usman Baig Date: Fri, 13 Mar 2026 12:32:57 +0100 Subject: [PATCH] style: unify all dashboard chart colors to brand orange --- CHANGELOG.md | 1 + components/dashboard/Chart.tsx | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 05934f6..b776ad9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), - **Faster tab switching across the board.** Switching between Settings, Funnels, Uptime, and other tabs now shows your data instantly instead of flashing a loading skeleton every time. Previously visited tabs remember their data and show it right away, while quietly refreshing in the background so you always see the latest numbers without the wait. - **Smoother loading on the Journeys page.** The Journeys tab now shows a polished skeleton placeholder while data loads, matching the loading experience on other tabs. +- **Consistent chart colors.** All dashboard charts — Unique Visitors, Total Pageviews, Bounce Rate, and Visit Duration — now use the same brand orange color for a cleaner, more cohesive look. ### Fixed diff --git a/components/dashboard/Chart.tsx b/components/dashboard/Chart.tsx index 0ac9ea1..4eaf4bc 100644 --- a/components/dashboard/Chart.tsx +++ b/components/dashboard/Chart.tsx @@ -104,9 +104,9 @@ const METRIC_CONFIGS: { const chartConfig = { visitors: { label: 'Unique Visitors', color: '#FD5E0F' }, - pageviews: { label: 'Total Pageviews', color: '#3b82f6' }, - bounce_rate: { label: 'Bounce Rate', color: '#a855f7' }, - avg_duration: { label: 'Visit Duration', color: '#10b981' }, + pageviews: { label: 'Total Pageviews', color: '#FD5E0F' }, + bounce_rate: { label: 'Bounce Rate', color: '#FD5E0F' }, + avg_duration: { label: 'Visit Duration', color: '#FD5E0F' }, } satisfies ChartConfig // ─── Custom Tooltip ─────────────────────────────────────────────────