Upgarded to mermaid 8.6.2 and siabled theme detection
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ export const codeStore = writable(undefined);
|
||||
export const fromUrl = data => {
|
||||
let code;
|
||||
let state;
|
||||
const isDarkMode = window.matchMedia("(prefers-color-scheme: dark)").matches;
|
||||
const isDarkMode = window.matchMedia("(prefers-color-scheme: dark)").matches && false
|
||||
try {
|
||||
let stateStr = Base64.decode(data)
|
||||
state = JSON.parse(stateStr);
|
||||
|
||||
Reference in New Issue
Block a user