1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-01 13:47:27 +02:00

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.
This commit is contained in:
Thomas Heartman 2025-08-25 11:44:21 +02:00 committed by GitHub
parent 8ddeed09fb
commit 2ee92d8c78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,
};
};