mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-17 13:46:47 +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 useChartColors = () => {
|
||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
|
if (theme.mode === 'dark') {
|
||||||
|
return {
|
||||||
|
olderThanWeek: '#5A5CAC',
|
||||||
|
newThisWeek: '#698745',
|
||||||
|
};
|
||||||
|
}
|
||||||
return {
|
return {
|
||||||
olderThanWeek: theme.palette.primary.light,
|
olderThanWeek: theme.palette.primary.light,
|
||||||
newThisWeek: theme.palette.success.border,
|
newThisWeek: theme.palette.success.border,
|
||||||
|
Loading…
Reference in New Issue
Block a user