Thanks very much for the quick response. I’ve also raised an issue on the plugin repo
here.
From our own digging, it looks like the chart colors aren’t part of the theme palette at the point when getChartColors() is called in the following: node_modules/@cloud-carbon-footprint/client/src/pages/EmissionsMetricsPage/EmissionsOverTimeCard/ApexLineChart/ApexLineChart.tsx > const colors = getChartColors(theme).
The error is coming from within the node_modules/@cloud-carbon-footprint/client/src/utils/themes/index.ts file when the function is attempting to map over theme.palette.chart which is undefined. We assume the array above in defaultTheme (the array of objects with keys of main) isn't being added/registered correctly.
Please let me know if there's any other info that could be of help if you have trouble reproducing it.