Allow mermaid theme to be set via editorTheme and custom themes

Fixes #4274
This commit is contained in:
Nick O'Leary
2023-11-20 17:47:39 +00:00
parent 3dec609459
commit e945deeab6
3 changed files with 7 additions and 1 deletions

View File

@@ -339,6 +339,8 @@ module.exports = {
}
theme.codeEditor = theme.codeEditor || {}
theme.codeEditor.options = Object.assign({}, themePlugin.monacoOptions, theme.codeEditor.options);
theme.mermaid = Object.assign({}, themePlugin.mermaidOptions, theme.mermaid)
}
activeThemeInitialised = true;
}