mirror of https://github.com/xwiki-labs/cryptpad
Fix mermaid dark/light themes
This commit is contained in:
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…
Reference in New Issue