Files
mermaid-live-editor/_app/chunks/theme-c12e07c0.js
T
2021-10-01 14:16:09 +00:00

2 lines
329 B
JavaScript

import{J as e,K as s,C as t}from"./vendor-96614ef2.js";const a=e(t({isDark:!1}),s(),"themeStore"),o=["dark","synthwave","halloween","aqua","forest","luxury","black","dracula"],r=e=>{e.includes(" ")&&(e=e.split(" ")[1].trim());const s=o.includes(e);console.log("Setting theme",e),a.set({theme:e,isDark:s})};export{r as s,a as t};