From 9ec571389b2fcffa3522727c9af039349949bfcc Mon Sep 17 00:00:00 2001 From: Marko Djordjevic Date: Thu, 12 Feb 2026 23:38:11 +0100 Subject: [PATCH] night friendly candle colors --- src/components/CandleChart.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/CandleChart.tsx b/src/components/CandleChart.tsx index 0798f7c..18db121 100644 --- a/src/components/CandleChart.tsx +++ b/src/components/CandleChart.tsx @@ -117,7 +117,7 @@ const CandleChart = forwardRef( // Get theme-specific colors const getChartColors = () => { const isDark = resolvedTheme === 'dark'; - + if (isDark) { return { layout: { @@ -187,12 +187,12 @@ const CandleChart = forwardRef( const candlestickSeries = chart.addCandlestickSeries({ upColor: '#ffffff', - downColor: '#000000', + downColor: '#444444', borderVisible: true, - wickUpColor: '#000000', - wickDownColor: '#000000', - borderUpColor: '#000000', - borderDownColor: '#000000', + wickUpColor: '#444444', + wickDownColor: '#444444', + borderUpColor: '#444444', + borderDownColor: '#444444', }); chartRef.current = chart;