From 2ee92d8c788f17c92dc6394aeaa33bd3387a1c1f Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Mon, 25 Aug 2025 11:44:21 +0200 Subject: [PATCH] Use new chart colors for current lifecycle stage. (#10528) Takes the green from the current lifecycle charts and replaces it with charts.A2. Also stabilizes the colors between the dark and light. --- .../component/insights/sections/LifecycleInsights.tsx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/frontend/src/component/insights/sections/LifecycleInsights.tsx b/frontend/src/component/insights/sections/LifecycleInsights.tsx index f306c805df..ab53827bb9 100644 --- a/frontend/src/component/insights/sections/LifecycleInsights.tsx +++ b/frontend/src/component/insights/sections/LifecycleInsights.tsx @@ -19,15 +19,9 @@ import { InsightsFilters } from '../InsightsFilters.tsx'; 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, + olderThanWeek: theme.palette.charts.A2, + newThisWeek: theme.palette.charts.A1, }; };