UNPKG

@wener/console

Version:

Base console UI toolkit

15 lines (14 loc) 439 B
import { getGlobalStates } from "@wener/utils"; import { createStore } from "zustand"; import { mutative } from "zustand-mutative"; export function getWindowStyleStore() { return getGlobalStates('WindowStyleStore', createWindowStyleStore); } export function createWindowStyleStore() { return createStore(mutative(()=>{ return { theme: 'system' }; })); } //# sourceMappingURL=WindowStyleStore.js.map