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

How can I change the blue active day and the blue background of event notes? #93

Closed
Minte-grace opened this issue May 10, 2020 · 9 comments
Labels
enhancement New feature or request solved

Comments

@Minte-grace
Copy link

No description provided.

@acro5piano
Copy link
Owner

You can set eventCellStyle to change the blue background of event notes. You can find a working example here:

https://github.com/llotheo/react-native-big-calendar/blob/master/stories/index.stories.tsx#L61-L69

However, the blue active day cannot be changed for now. I've added the style customization to TODO list.
I'll try to implement the feature when I have time to work on, but your PR is always welcome.

@acro5piano acro5piano added the enhancement New feature or request label May 10, 2020
@Minte-grace
Copy link
Author

Minte-grace commented May 10, 2020 via email

@damian-mac
Copy link

is there an ETA on this feature?

@acro5piano
Copy link
Owner

@damian-mac
Thanks for the reminder. I can't say exact ETA of this feature, because a refactoring for style property is needed. For now, please use renderEvent prop.

https://github.com/acro5piano/react-native-big-calendar#eventrenderer

@acro5piano
Copy link
Owner

Oh I misunderstood the issue.
I'll add the customization feature about within two weeks, but your PR is always welcome.

@damian-mac
Copy link

Thank you so much, much appreciated!

@acro5piano
Copy link
Owner

I'm working on providing theme functionality.

#475

@acro5piano
Copy link
Owner

@damian-mac @Minte-grace
I'm working on the custom theme functionality. Can you check it? I'll release it as v3.0.0-alpha. Thanks!

https://deploy-preview-475--react-native-big-calendar.netlify.app/?path=/story/desktop--provide-custom-theme

@acro5piano
Copy link
Owner

As I've published v2.0.0-rc and implemented this topic, I'll close this issue. If you have bugs on it, feel free to report it!

https://github.com/acro5piano/react-native-big-calendar/releases/tag/v2.0.0-rc

Summary: You can now use theme prop. primary color will be applied to both the blue active day and background of event. even you can use renderEvent to implement it.

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

No branches or pull requests

3 participants