Mermaid dark theme

pull/1/head
yflory 2021-02-03 12:35:57 +01:00
parent fc4a9b1497
commit 37beedbe96
1 changed files with 1 additions and 0 deletions

View File

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