Files
mermaid-live-editor/_app/chunks/theme-9de22a12.js
T
2022-01-19 12:39:55 +00:00

2 lines
329 B
JavaScript

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