From caafacfb5742c963566937f4ad519351465b373d Mon Sep 17 00:00:00 2001 From: Xiphe Date: Fri, 5 Feb 2021 12:49:17 +0100 Subject: [PATCH] fix: make scrollbars dark when darkmode is enabled fix https://github.com/Xiphe/budgetbudget/issues/75\#issuecomment-773943288 --- main/windowManager.ts | 1 + public/index.html | 1 + 2 files changed, 2 insertions(+) diff --git a/main/windowManager.ts b/main/windowManager.ts index 7dd1d6e..db2ddf0 100644 --- a/main/windowManager.ts +++ b/main/windowManager.ts @@ -96,6 +96,7 @@ export default function createWindowManager( titleBarStyle: 'hiddenInset', vibrancy: 'sidebar', webPreferences: { + enableBlinkFeatures: 'CSSColorSchemeUARendering', worldSafeExecuteJavaScript: true, enableRemoteModule: true, nodeIntegration: true, diff --git a/public/index.html b/public/index.html index 0719630..6aeba38 100644 --- a/public/index.html +++ b/public/index.html @@ -6,6 +6,7 @@ http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';" /> + BudgetBudget