diff --git a/src/mermaidAPI.js b/src/mermaidAPI.js index 1e2552e87..3a14fcff6 100644 --- a/src/mermaidAPI.js +++ b/src/mermaidAPI.js @@ -49,7 +49,7 @@ for (const themeName of ['default', 'forest', 'dark', 'neutral']) { * ``` */ const config = { - theme: themes.default, + theme: 'default', /** * logLevel , decides the amount of logging to be used.