Files
mermaid-live-editor/beta/_app/chunks/theme-e58fe9d5.js
T

2 lines
292 B
JavaScript

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