Skip to content

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

Closed
bilalesi wants to merge 1 commit into
BugiDev:masterfrom
bx93tn-service:master
Closed

add color to selected date on daySelectionAnimation for background inversion#244
bilalesi wants to merge 1 commit into
BugiDev:masterfrom
bx93tn-service:master

Conversation

@bilalesi
Copy link
Copy Markdown

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

Comment thread index.d.ts
animUpdateType: any;
animProperty: any;
animSpringDamping: any;
color: 'string';
Copy link
Copy Markdown
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

Comment thread src/CalendarDay.js
borderWidth: 1,
borderHighlightColor: "black",
highlightColor: "yellow",
color: '#fff',
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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