From 385f4ab1ad85a5b1caaf8e156670f3d31fb05049 Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Thu, 5 Jun 2025 10:04:48 +0200 Subject: [PATCH] Updates lifecycle trend chart colors for dark mode. (#10085) --- .../src/component/insights/sections/LifecycleInsights.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/src/component/insights/sections/LifecycleInsights.tsx b/frontend/src/component/insights/sections/LifecycleInsights.tsx index 4e9990f5d8..e8fc5ce59b 100644 --- a/frontend/src/component/insights/sections/LifecycleInsights.tsx +++ b/frontend/src/component/insights/sections/LifecycleInsights.tsx @@ -35,6 +35,12 @@ type LifecycleInsights = { const useChartColors = () => { const theme = useTheme(); + if (theme.mode === 'dark') { + return { + olderThanWeek: '#5A5CAC', + newThisWeek: '#698745', + }; + } return { olderThanWeek: theme.palette.primary.light, newThisWeek: theme.palette.success.border,