fix(chart-area): update grid line colors for improved visibility in dark mode

This commit is contained in:
2026-04-03 10:43:50 +00:00
parent 7295bfcf92
commit f2d3fc28f8

View File

@@ -166,8 +166,8 @@ export class DeesChartArea extends DeesElement {
attributionLogo: false, attributionLogo: false,
}, },
grid: { grid: {
vertLines: { visible: false }, vertLines: { color: isDark ? 'hsl(0 0% 8.5%)' : 'hsl(0 0% 95.5%)' },
horzLines: { color: isDark ? 'hsl(0 0% 14.9%)' : 'hsl(0 0% 94%)' }, horzLines: { color: isDark ? 'hsl(0 0% 8.5%)' : 'hsl(0 0% 95.5%)' },
}, },
} as any); } as any);
@@ -368,8 +368,8 @@ export class DeesChartArea extends DeesElement {
attributionLogo: false, attributionLogo: false,
}, },
grid: { grid: {
vertLines: { visible: false }, vertLines: { color: isDark ? 'hsl(0 0% 8.5%)' : 'hsl(0 0% 95.5%)' },
horzLines: { color: isDark ? 'hsl(0 0% 14.9%)' : 'hsl(0 0% 94%)' }, horzLines: { color: isDark ? 'hsl(0 0% 8.5%)' : 'hsl(0 0% 95.5%)' },
}, },
rightPriceScale: { rightPriceScale: {
borderVisible: false, borderVisible: false,