mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-25 15:57:18 +00:00
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:
parent
7f6303391a
commit
cde1776a2d
@ -48,6 +48,7 @@ electron.app.on('ready', () => {
|
|||||||
autoHideMenuBar: true,
|
autoHideMenuBar: true,
|
||||||
titleBarStyle: 'hidden-inset',
|
titleBarStyle: 'hidden-inset',
|
||||||
icon: path.join(__dirname, '..', '..', 'assets', 'icon.png'),
|
icon: path.join(__dirname, '..', '..', 'assets', 'icon.png'),
|
||||||
|
darkTheme: true,
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
backgroundThrottling: false
|
backgroundThrottling: false
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user