mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-12 02:29:37 +02:00
#1424 Setting proper loglevel for docs
This commit is contained in:
@@ -57,7 +57,7 @@
|
|||||||
var num = 0;
|
var num = 0;
|
||||||
const isDarkMode = window.matchMedia("(prefers-color-scheme: dark)").matches
|
const isDarkMode = window.matchMedia("(prefers-color-scheme: dark)").matches
|
||||||
|
|
||||||
const conf = { logLevel:0, startOnLoad: false, themeCSS:'.label { font-family: Source Sans Pro,Helvetica Neue,Arial,sans-serif; }' };
|
const conf = { logLevel:4, startOnLoad: false, themeCSS:'.label { font-family: Source Sans Pro,Helvetica Neue,Arial,sans-serif; }' };
|
||||||
if(isDarkMode) conf.theme = 'dark';
|
if(isDarkMode) conf.theme = 'dark';
|
||||||
mermaid.initialize(conf);
|
mermaid.initialize(conf);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user