diff --git a/www/common/diffMarked.js b/www/common/diffMarked.js index 71149b59f..2875e88fd 100644 --- a/www/common/diffMarked.js +++ b/www/common/diffMarked.js @@ -40,6 +40,7 @@ define([ Mermaid = _Mermaid; Mermaid.initialize({ gantt: { axisFormat: '%m-%d', }, + theme: (window.CryptPad_theme === 'dark') ? 'dark' : undefined, "themeCSS": mermaidThemeCSS, }); }