diff options
author | 2021-12-26 01:59:17 +0100 | |
---|---|---|
committer | 2021-12-26 01:59:17 +0100 | |
commit | cce40ab1d2ad8cc1b60fabb4cc8281ea0490a123 (patch) | |
tree | bb96df2676934a9cd4ef2bc5a48957e8b32fb646 /packages/shared/src/contextBridge | |
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/contextBridge')
-rw-r--r-- | packages/shared/src/contextBridge/SophieRenderer.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/shared/src/contextBridge/SophieRenderer.ts b/packages/shared/src/contextBridge/SophieRenderer.ts index e310829..6a2e432 100644 --- a/packages/shared/src/contextBridge/SophieRenderer.ts +++ b/packages/shared/src/contextBridge/SophieRenderer.ts | |||
@@ -20,14 +20,14 @@ | |||
20 | 20 | ||
21 | import { SharedStoreListener } from '../stores/SharedStore'; | 21 | import { SharedStoreListener } from '../stores/SharedStore'; |
22 | 22 | ||
23 | import { BrowserViewBounds, PaletteMode } from '../schemas'; | 23 | import { BrowserViewBounds, ThemeSource } from '../schemas'; |
24 | 24 | ||
25 | export interface SophieRenderer { | 25 | export interface SophieRenderer { |
26 | setSharedStoreListener(listener: SharedStoreListener): void; | 26 | setSharedStoreListener(listener: SharedStoreListener): void; |
27 | 27 | ||
28 | setBrowserViewBounds(bounds: BrowserViewBounds): void; | 28 | setBrowserViewBounds(bounds: BrowserViewBounds): void; |
29 | 29 | ||
30 | setPaletteMode(mode: PaletteMode): void; | 30 | setThemeSource(mode: ThemeSource): void; |
31 | 31 | ||
32 | reloadAllServices(): void; | 32 | reloadAllServices(): void; |
33 | } | 33 | } |