OneLauncher-Cracked/apps/oneclient/frontend/src/stores/appShellStore.ts
2025-07-16 20:36:17 +02:00

17 lines
434 B
TypeScript

import { create } from 'zustand';
export interface AppShellStore {
background: 'gradientOverlay' | 'none';
}
export interface AppShellStoreActions {
setBackground: (background: AppShellStore['background']) => void;
}
export const useAppShellStore = create<AppShellStore & AppShellStoreActions>()(set => ({
background: 'gradientOverlay',
setBackground: background => set({ background }),
}));
export default useAppShellStore;