feat: scaffold headless frontend integration per design doc
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { create } from "zustand";
|
||||
|
||||
interface AppState {
|
||||
theme: "light" | "dark";
|
||||
setTheme: (theme: "light" | "dark") => void;
|
||||
}
|
||||
|
||||
export const useAppStore = create<AppState>((set) => ({
|
||||
theme: "light",
|
||||
setTheme: (theme) => set({ theme }),
|
||||
}));
|
||||
Reference in New Issue
Block a user