Fix mermaid dark/light themes

pull/1/head
yflory 4 years ago
parent 2da6ac87c3
commit d571822adf

@ -40,7 +40,7 @@ define([
Mermaid = _Mermaid;
Mermaid.initialize({
gantt: { axisFormat: '%m-%d', },
theme: (window.CryptPad_theme === 'dark') ? 'dark' : undefined,
theme: (window.CryptPad_theme === 'dark') ? 'dark' : 'default',
"themeCSS": mermaidThemeCSS,
});
}

Loading…
Cancel
Save