diff options
author | Kristóf Marussy <kristof@marussy.com> | 2022-02-08 21:40:40 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2022-02-14 12:13:22 +0100 |
commit | cc214bb1afd37068c2bbc93f33990ca93f9a900f (patch) | |
tree | 7707415d5c4e42b2542d3f482060d4935c892fe1 /packages/service-preload/src/index.ts | |
parent | feat: Unread message badges (diff) | |
download | sophie-cc214bb1afd37068c2bbc93f33990ca93f9a900f.tar.gz sophie-cc214bb1afd37068c2bbc93f33990ca93f9a900f.tar.zst sophie-cc214bb1afd37068c2bbc93f33990ca93f9a900f.zip |
feat: Load and switch services
Signed-off-by: Kristóf Marussy <kristof@marussy.com>
Diffstat (limited to 'packages/service-preload/src/index.ts')
-rw-r--r-- | packages/service-preload/src/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/service-preload/src/index.ts b/packages/service-preload/src/index.ts index 5383f42..e546f2f 100644 --- a/packages/service-preload/src/index.ts +++ b/packages/service-preload/src/index.ts | |||
@@ -24,7 +24,7 @@ import { ipcRenderer, webFrame } from 'electron'; | |||
24 | if (webFrame.parent === null) { | 24 | if (webFrame.parent === null) { |
25 | // Inject CSS to simulate `browserView.setBackgroundColor`. | 25 | // Inject CSS to simulate `browserView.setBackgroundColor`. |
26 | // This is injected before the page loads, so the styles from the website will overwrite it. | 26 | // This is injected before the page loads, so the styles from the website will overwrite it. |
27 | webFrame.insertCSS('html { background-color: #fff; }'); | 27 | webFrame.insertCSS(':root { background-color: #fff; }'); |
28 | } | 28 | } |
29 | 29 | ||
30 | /** | 30 | /** |