aboutsummaryrefslogtreecommitdiffstats
path: root/packages/shared/src/schemas.ts
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2021-12-26 01:59:17 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2021-12-26 01:59:17 +0100
commitcce40ab1d2ad8cc1b60fabb4cc8281ea0490a123 (patch)
treebb96df2676934a9cd4ef2bc5a48957e8b32fb646 /packages/shared/src/schemas.ts
parentrefactor: Simplify browserViewBounds handling (diff)
downloadsophie-cce40ab1d2ad8cc1b60fabb4cc8281ea0490a123.tar.gz
sophie-cce40ab1d2ad8cc1b60fabb4cc8281ea0490a123.tar.zst
sophie-cce40ab1d2ad8cc1b60fabb4cc8281ea0490a123.zip
feat: Set nativeTheme theme source on dark mode
Diffstat (limited to 'packages/shared/src/schemas.ts')
-rw-r--r--packages/shared/src/schemas.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/shared/src/schemas.ts b/packages/shared/src/schemas.ts
index 8827467..0eff581 100644
--- a/packages/shared/src/schemas.ts
+++ b/packages/shared/src/schemas.ts
@@ -29,6 +29,6 @@ export const browserViewBounds = z.object({
29 29
30export type BrowserViewBounds = z.infer<typeof browserViewBounds>; 30export type BrowserViewBounds = z.infer<typeof browserViewBounds>;
31 31
32export const paletteMode = z.enum(['light', 'dark']); 32export const themeSource = z.enum(['system', 'light', 'dark']);
33 33
34export type PaletteMode = z.infer<typeof paletteMode>; 34export type ThemeSource = z.infer<typeof themeSource>;