gabrielbull/react-desktop

Custom TitleBar background for Mac

Closed this issue · 2 comments

I'm trying to make dark app, but can't seem to change TitleBar color to get effect like this:
image

I've tried using "transparent" prop, but with no success.

Please submit a PR and we will be glad to accept it. Thanks.

davej commented

@turshija: You can achieve this by setting transparent and inset properties:

import MacTitleBar from 'react-desktop/src/TitleBar/macOs';

<TitleBar
  controls={true}
  transparent={true}
  inset={true}
/>

Closing this issue