The package.json file has a new directive that instructs Electron to allow dark mode when the app is packaged, so the chrome respects the OS setting.
The election-runner.js script has some logic that relays to the rendered the current system setting about dark mode and the changes to it when the user switches in System Settings.
This PR adds support for #49
The
package.json
file has a new directive that instructs Electron to allow dark mode when the app is packaged, so the chrome respects the OS setting.The
election-runner.js
script has some logic that relays to the rendered the current system setting about dark mode and the changes to it when the user switches in System Settings.