feat(GUI): use gtk3 dark theme mode (#2314)

We enable the `darkTheme` mode for GTK-3 applications (mainly Linux)
that suits Etcher's dark theme better, making the window title bar dark.

Change-Type: patch
Changelog-Entry: Use GTK-3 darkTheme mode.
This commit is contained in:
Benedict Aas 2018-05-09 11:13:14 +01:00 committed by GitHub
parent 7f6303391a
commit cde1776a2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,6 +48,7 @@ electron.app.on('ready', () => {
autoHideMenuBar: true,
titleBarStyle: 'hidden-inset',
icon: path.join(__dirname, '..', '..', 'assets', 'icon.png'),
darkTheme: true,
webPreferences: {
backgroundThrottling: false
}