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:
parent
8ddeed09fb
commit
2ee92d8c78
@ -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,
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user