mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-12 13:48:35 +02:00
Updates lifecycle trend chart colors for dark mode. (#10085)
This commit is contained in:
parent
5da7d50291
commit
385f4ab1ad
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user