diff options
Diffstat (limited to 'src/state/persisted/schema.ts')
-rw-r--r-- | src/state/persisted/schema.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/state/persisted/schema.ts b/src/state/persisted/schema.ts index 870e14aaf..ade97ef74 100644 --- a/src/state/persisted/schema.ts +++ b/src/state/persisted/schema.ts @@ -18,6 +18,7 @@ export type PersistedAccount = z.infer<typeof accountSchema> export const schema = z.object({ colorMode: z.enum(['system', 'light', 'dark']), + darkTheme: z.enum(['dim', 'dark']).optional(), session: z.object({ accounts: z.array(accountSchema), currentAccount: accountSchema.optional(), @@ -60,6 +61,7 @@ export type Schema = z.infer<typeof schema> export const defaults: Schema = { colorMode: 'system', + darkTheme: 'dim', session: { accounts: [], currentAccount: undefined, |