fix: monaco editor

fix: apex charts
This commit is contained in:
Andras Bacsai
2024-06-24 11:21:39 +02:00
parent f2c8a6bac5
commit 5201818f52
12 changed files with 492 additions and 582 deletions

View File

@@ -63,15 +63,21 @@
let theme = localStorage.theme
let baseColor = '#FCD452'
let textColor = '#ffffff'
let editorBackground = '#181818'
let editorTheme = 'blackboard'
function checkTheme() {
theme = localStorage.theme
if (theme == 'dark') {
baseColor = '#FCD452'
textColor = '#ffffff'
editorBackground = '#181818'
editorTheme = 'blackboard'
} else {
baseColor = 'black'
textColor = '#000000'
editorBackground = '#ffffff'
editorTheme = null
}
}
@auth