We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21c2a5f commit b6e88ceCopy full SHA for b6e88ce
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "mind-elixir",
3
- "version": "4.2.4",
+ "version": "4.2.5",
4
"type": "module",
5
"description": "Mind elixir is a free open source mind map core.",
6
"keywords": [
src/utils/theme.ts
@@ -1,7 +1,9 @@
+import { THEME } from '../const'
import type { MindElixirInstance } from '../types/index'
import type { Theme } from '../types/index'
const changeTheme = function (this: MindElixirInstance, theme: Theme, shouldRefresh = true) {
+ theme.cssVar = { ...THEME.cssVar, ...theme.cssVar }
7
this.theme = theme
8
const cssVar = this.theme.cssVar
9
const keys = Object.keys(cssVar)
0 commit comments