Skip to content

Commit

Permalink
docs: correct symbolColor reference
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Apr 17, 2024
1 parent aa73d5d commit ec1a056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial/window-customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const win = new BrowserWindow({
})
```

On either platform `titleBarOverlay` can also be an object. The height of the overlay can be specified with the `height` property. On Windows and Linux, the color of the overlay can be specified using the `color` property. On Windows, the `symbolColor` property allows the symbol color to be specified as well; on Linux it is calculated automatically to contrast appropriately with `color` if specified. The `rgba()`, `hsla()`, and `#RRGGBBAA` color formats are supported to apply transparency.
On either platform `titleBarOverlay` can also be an object. The height of the overlay can be specified with the `height` property. On Windows and Linux, the color of the overlay and can be specified using the `color` property. On Windows and Linux, the color of the overlay and its symbols can be specified using the `color` and `symbolColor` properties respectively. The `rgba()`, `hsla()`, and `#RRGGBBAA` color formats are supported to apply transparency.

If a color option is not specified, the color will default to its system color for the window control buttons. Similarly, if the height option is not specified it will default to the default height:

Expand Down

0 comments on commit ec1a056

Please sign in to comment.