Update docs for backgroundColor

This commit is contained in:
Cheng Zhao 2016-04-03 13:55:33 +09:00
parent 165009681b
commit eb82f7cea9

View file

@ -83,8 +83,7 @@ It creates a new `BrowserWindow` with native properties as set by the `options`.
than screen. Default is `false`. than screen. Default is `false`.
* `backgroundColor` String - Window's background color as Hexadecimal value, * `backgroundColor` String - Window's background color as Hexadecimal value,
like `#66CD00` or `#FFF` or `#80FFFFFF` (alpha is supported). Default is like `#66CD00` or `#FFF` or `#80FFFFFF` (alpha is supported). Default is
`#000` (black) for Linux and Windows, `#FFF` for Mac (or clear if `#FFF` (white).
transparent).
* `hasShadow` Boolean - Whether window should have a shadow. This is only * `hasShadow` Boolean - Whether window should have a shadow. This is only
implemented on OS X. Default is `true`. implemented on OS X. Default is `true`.
* `darkTheme` Boolean - Forces using dark theme for the window, only works on * `darkTheme` Boolean - Forces using dark theme for the window, only works on