diff options
author | Kristóf Marussy <kristof@marussy.com> | 2021-12-26 01:59:17 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2021-12-26 01:59:17 +0100 |
commit | cce40ab1d2ad8cc1b60fabb4cc8281ea0490a123 (patch) | |
tree | bb96df2676934a9cd4ef2bc5a48957e8b32fb646 /packages/shared/src/schemas.ts | |
parent | refactor: Simplify browserViewBounds handling (diff) | |
download | sophie-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.ts | 4 |
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 | ||
30 | export type BrowserViewBounds = z.infer<typeof browserViewBounds>; | 30 | export type BrowserViewBounds = z.infer<typeof browserViewBounds>; |
31 | 31 | ||
32 | export const paletteMode = z.enum(['light', 'dark']); | 32 | export const themeSource = z.enum(['system', 'light', 'dark']); |
33 | 33 | ||
34 | export type PaletteMode = z.infer<typeof paletteMode>; | 34 | export type ThemeSource = z.infer<typeof themeSource>; |