Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Fix comparison line color in dark mode (#5984)

Sanne de Vriesa0bd5f858e08
diff --git a/assets/js/dashboard/stats/graph/graph-util.js b/assets/js/dashboard/stats/graph/graph-util.js
index cf33ed8dfe..948a3edf82 100644
--- a/assets/js/dashboard/stats/graph/graph-util.js
+++ b/assets/js/dashboard/stats/graph/graph-util.js
@@ -31,9 +31,9 @@ const buildComparisonDataset = function (comparisonPlot) {
return [
{
data: plottable(comparisonPlot),
- borderColor: 'rgb(199, 210, 254)',
- pointBackgroundColor: 'rgb(199, 210, 254)',
- pointHoverBackgroundColor: 'rgb(199, 210, 254)',
+ borderColor: 'rgba(99, 102, 241, 0.3)',
+ pointBackgroundColor: 'rgba(99, 102, 241, 0.2)',
+ pointHoverBackgroundColor: 'rgba(99, 102, 241, 0.5)',
yAxisID: 'yComparison'
}
]