Files
mermaid-live-editor/_app/chunks/theme-3cd23280.js
T
2022-01-21 08:51:03 +00:00

2 lines
329 B
JavaScript

import{R as e,T as t,D as o}from"./vendor-ec61dc28.js";const r=e(o({isDark:!1}),t(),"themeStore"),l=["dark","synthwave","halloween","aqua","forest","luxury","black","dracula"],i=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{i as s,r as t};