diff --git a/web/src/elements/Diagram.ts b/web/src/elements/Diagram.ts index e54f7c350..5a9c1fffc 100644 --- a/web/src/elements/Diagram.ts +++ b/web/src/elements/Diagram.ts @@ -35,7 +35,7 @@ export class Diagram extends AKElement { const matcher = window.matchMedia("(prefers-color-scheme: light)"); const handler = (ev?: MediaQueryListEvent) => { mermaid.initialize({ - logLevel: 3, + logLevel: "fatal", startOnLoad: false, theme: ev?.matches || matcher.matches ? "default" : "dark", flowchart: {