react-native-calendars
react-native-calendars copied to clipboard
Change date color in Agenda items
Description
I am not able to change the default date color in the agenda items. I want to change the marked date in the image.
I could not find the CSS property to change the date color.
Environment
React native 0.69
Tried using agendaDayTextColor: 'gray', agendaDayNumColor: 'gray', agendaTodayColor: 'gray',
. Neither of them worked
Any update on this?
Any update on this?
Ended up using renderDay={(day, item) => ( )}
. Changed only day using this and kept the item as it is.
I'm facing the same issue in the new library "node_modules/react-native-calendars": { "version": "1.1289.0",
The only place I've found this color is in:
node_modules/react-native-calendars/src/style.js
export const textLinkColor = '#00BBF2';
Then it been used in the below places in same file:
export const todayTextColor = textLinkColor; export const agendaTodayColor = textLinkColor; export const todayButtonTextColor = textLinkColor;
But even trying to change in the Agenda of my class, it keeps loading the blue color.
Temporary fix is as below:
Add "theme" in line 110 and line 131 as showed in the above screenshot.