From 744c30167c6ab3e2090b0daac352dcf351e94d1c Mon Sep 17 00:00:00 2001 From: sairaj mote Date: Mon, 16 May 2022 10:57:06 +0530 Subject: [PATCH] minor bug fix --- docs/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.html b/docs/index.html index e57f335..5cb31af 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1744,7 +1744,7 @@ function getChartTheme() { const theme = getRef('theme_toggle').value const textColor = window.getComputedStyle(document.body).getPropertyValue('--text-color') - const accentColor = window.getComputedStyle(document.body).getPropertyValue('--accent-color') + const accentColor = theme === 'dark' ? '#a4b3ff' : '#516beb' return { chart: { layout: {