minor bug fix
This commit is contained in:
parent
6d134ec22f
commit
744c30167c
@ -1744,7 +1744,7 @@
|
|||||||
function getChartTheme() {
|
function getChartTheme() {
|
||||||
const theme = getRef('theme_toggle').value
|
const theme = getRef('theme_toggle').value
|
||||||
const textColor = window.getComputedStyle(document.body).getPropertyValue('--text-color')
|
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 {
|
return {
|
||||||
chart: {
|
chart: {
|
||||||
layout: {
|
layout: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user