Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom TitleBar background for Mac #105

Closed
turshija opened this issue Dec 21, 2017 · 2 comments
Closed

Custom TitleBar background for Mac #105

turshija opened this issue Dec 21, 2017 · 2 comments

Comments

@turshija
Copy link

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.

@gabrielbull
Copy link
Owner

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

@davej
Copy link
Collaborator

davej commented Jun 29, 2019

@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

@davej davej closed this as completed Jun 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants