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

Apple header Bg colour options #6

Closed
Srini-B opened this issue Oct 4, 2019 · 5 comments
Closed

Apple header Bg colour options #6

Srini-B opened this issue Oct 4, 2019 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@Srini-B
Copy link

Srini-B commented Oct 4, 2019

Is there is a way to change background colour and text colour for Apple header. Need to set dark mode.

@WrathChaos
Copy link
Owner

Hello @Srini-B,
I'm glad that you're using this lib :)

<AppleHeader backgroundColor="black" />

Have you tried something like that? AppleHeader itself does not cover whole header therefore, you also need to set the same background colour on its container. Here is the example;

<SafeAreaView style={{ backgroundColor: "gray" }} > <AppleHeader backgroundColor="gray" /> </SafeAreaView>

If you still could not get the result which you want, please tell me and I can make an enhancement.

Also, please share with me when your project is completed :) I would love to share it on the README :)

@WrathChaos WrathChaos self-assigned this Oct 4, 2019
@WrathChaos WrathChaos added the question Further information is requested label Oct 4, 2019
@Srini-B
Copy link
Author

Srini-B commented Oct 4, 2019

setting the background works, but the border-bottom color and text color remains the same, provide the textStyle like in modern header.

would definitely share the details when the project is live :-)

@WrathChaos
Copy link
Owner

I'm gonna make a prop for completely customizable style :) I will make it ASAP.

@WrathChaos WrathChaos added enhancement New feature or request and removed question Further information is requested labels Oct 4, 2019
@WrathChaos
Copy link
Owner

WrathChaos commented Oct 4, 2019

@Srini-B Hey hey :)
I've updated the library. Please check this release out.

Now, you can completely customize the AppleHeader and amazing news. The library's size massively reduced to 7.4 kb 😱

Release: 0.4.7 🎉

@WrathChaos
Copy link
Owner

I just closed the issue, if you have a problem please re-open it :) I will fix it ASAP. Also, waiting for your amazing project soon 🤤

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants