Files
mermaid-live-editor/_app/chunks/theme-c4fa06bf.js
T
2021-09-30 19:10:15 +00:00

2 lines
329 B
JavaScript

import{J as e,K as s,C as t}from"./vendor-21474ee4.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};