From 7c29a8cd4c265ea1cbf0f8535bb6b63c61c68fa9 Mon Sep 17 00:00:00 2001 From: Jean-Marc Millet Date: Tue, 26 Mar 2024 10:01:50 +0100 Subject: [PATCH] change vertical cursor color of charts to selectedActive for better contrast --- .../linetemporalchart/LineTemporalChart.component.tsx | 3 +-- src/lib/components/vegachartv2/VegaChartV2.component.tsx | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/lib/components/linetemporalchart/LineTemporalChart.component.tsx b/src/lib/components/linetemporalchart/LineTemporalChart.component.tsx index 144a97d9a1..1a06bc4975 100644 --- a/src/lib/components/linetemporalchart/LineTemporalChart.component.tsx +++ b/src/lib/components/linetemporalchart/LineTemporalChart.component.tsx @@ -327,8 +327,7 @@ function LineTemporalChart({ //https://vega.github.io/vega-lite/docs/datetime.html }, color: { - value: theme.highlight, - opacity: 0.3, + value: theme.selectedActive, }, /* diff --git a/src/lib/components/vegachartv2/VegaChartV2.component.tsx b/src/lib/components/vegachartv2/VegaChartV2.component.tsx index 4b33a77243..395e8adbdb 100644 --- a/src/lib/components/vegachartv2/VegaChartV2.component.tsx +++ b/src/lib/components/vegachartv2/VegaChartV2.component.tsx @@ -83,7 +83,7 @@ function VegaChartInternal( domainColor: 'transparent', }, title: { - color: currentTheme.buttonDelete, + color: currentTheme.textPrimary, font: 'Lato', }, view: {