Prepare settings panel (#136)

This commit is contained in:
FTCHD
2026-01-23 22:51:42 +07:00
committed by GitHub
parent ea43cb5f5f
commit 1e503c82ac
13 changed files with 672 additions and 4 deletions
+7
View File
@@ -21,6 +21,11 @@ interface State {
app: 'light' | 'dark' | 'system'
tray: 'light' | 'dark' | 'system'
}
cloudflaredTunnel: {
pid: number
url: string
} | null
}
export const useStore = create<State>()(
@@ -37,6 +42,8 @@ export const useStore = create<State>()(
app: 'dark',
tray: 'system',
},
cloudflaredTunnel: null,
}),
{ name: 'shared-store' }
)