We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3634a8 commit b7490a5Copy full SHA for b7490a5
src/utils/theme.ts
@@ -5,6 +5,7 @@ const changeTheme = function (this: MindElixirInstance, theme: Theme, shouldRefr
5
this.theme = theme
6
const cssVar = this.theme.cssVar
7
const keys = Object.keys(cssVar)
8
+ // TODO: clear all cssText is too aggressive
9
this.mindElixirBox.style.cssText = ''
10
for (let i = 0; i < keys.length; i++) {
11
const key = keys[i] as keyof typeof cssVar
0 commit comments