Support backgroundColor for window on mac

This commit is contained in:
Gabriel Handford 2016-01-19 15:24:16 -08:00
parent 1b0da44f38
commit 239baa3e9a
5 changed files with 36 additions and 27 deletions

View file

@ -74,8 +74,8 @@ It creates a new `BrowserWindow` with native properties as set by the `options`.
* `enableLargerThanScreen` Boolean - Enable the window to be resized larger
than screen. Default is `false`.
* `backgroundColor` String - Window's background color as Hexadecimal value,
like `#66CD00` or `#FFF`. This is only implemented on Linux and Windows.
Default is `#000` (black).
like `#66CD00` or `#FFF`. Default is `#000` (black) for Linux and Windows,
`#FFF` for Mac (or clear if transparent).
* `darkTheme` Boolean - Forces using dark theme for the window, only works on
some GTK+3 desktop environments. Default is `false`.
* `transparent` Boolean - Makes the window [transparent](frameless-window.md).