Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

improvments color shema

kruzhambus2fb6ffdc6cc8
diff --git a/src/pages/Project/View/Panels.tsx b/src/pages/Project/View/Panels.tsx
index 9e382aa3d..48f111868 100644
--- a/src/pages/Project/View/Panels.tsx
+++ b/src/pages/Project/View/Panels.tsx
@@ -781,7 +781,7 @@ const Panel = ({
</button>
)}
message={(
- <div className='h-96'>
+ <div className='h-96 dark:text-gray-800'>
<SankeyChart />
</div>
)}
diff --git a/src/pages/Project/View/components/SankeyChart.tsx b/src/pages/Project/View/components/SankeyChart.tsx
index 23f9264ba..8b14fe755 100644
--- a/src/pages/Project/View/components/SankeyChart.tsx
+++ b/src/pages/Project/View/components/SankeyChart.tsx
@@ -82,7 +82,7 @@ const SankeyChart = ({ data, disableLegend }: {
top: 0, right: disableLegend ? 0 : 120, bottom: 0, left: 20,
}}
align='justify'
- colors={{ scheme: 'category10' }}
+ colors={{ scheme: 'nivo' }}
nodeOpacity={1}
nodeHoverOthersOpacity={0.35}
nodeThickness={18}