Skip to content

add color to selected date on daySelectionAnimation for background inversion #244

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

Closed
wants to merge 1 commit into from

Conversation

bilalesi
Copy link

add color to daySelectionAnimation when choosing background color,
it's not always that the black color make a good reflexion for the background color when selecting a date
so it must be ass a color to the text of the container

@@ -27,6 +28,7 @@ interface IDaySelectionAnimationBackground {
animUpdateType: any;
animProperty: any;
animSpringDamping: any;
color: 'string';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change to double quotes for consistency

@@ -55,6 +55,7 @@ class CalendarDay extends Component {
borderWidth: 1,
borderHighlightColor: "black",
highlightColor: "yellow",
color: '#fff',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change to double quotes for consistency

@peacechen
Copy link
Collaborator

Thanks @bilalesi for this useful PR. I made some comments regarding double quotes.

Please also add the color field to the Readme.

@peacechen
Copy link
Collaborator

This is obsoleted by #248

@peacechen peacechen closed this Mar 2, 2021
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

Successfully merging this pull request may close these issues.

2 participants