Skip to content

Commit

Permalink
fix: make scrollbars dark when darkmode is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiphe committed Feb 5, 2021
1 parent 4e67325 commit caafacf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions main/windowManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export default function createWindowManager(
titleBarStyle: 'hiddenInset',
vibrancy: 'sidebar',
webPreferences: {
enableBlinkFeatures: 'CSSColorSchemeUARendering',
worldSafeExecuteJavaScript: true,
enableRemoteModule: true,
nodeIntegration: true,
Expand Down
1 change: 1 addition & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
http-equiv="Content-Security-Policy"
content="script-src 'self' 'unsafe-inline';"
/>
<meta name="color-scheme" content="light dark" />
<title>BudgetBudget</title>
<link href="./fonts/index.css" rel="stylesheet" />
<style>
Expand Down

0 comments on commit caafacf

Please sign in to comment.