Skip to content

Commit b7490a5

Browse files
committed
chore: add TODO
1 parent b3634a8 commit b7490a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/theme.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ const changeTheme = function (this: MindElixirInstance, theme: Theme, shouldRefr
55
this.theme = theme
66
const cssVar = this.theme.cssVar
77
const keys = Object.keys(cssVar)
8+
// TODO: clear all cssText is too aggressive
89
this.mindElixirBox.style.cssText = ''
910
for (let i = 0; i < keys.length; i++) {
1011
const key = keys[i] as keyof typeof cssVar

0 commit comments

Comments
 (0)