I am loading event calendar correctly:
However, if there is any event with one day, in that case I want to change text color to #000000,
how could i do it? Basically for events I am setting color as:
const calendars = [ // data for calendars
{
id: “completed”,
label: “Project Completed”,
readonly: true,
active: true,
color: {
background: “#1b62ac”,
border: “#1b62ac”,
textColor: “#ffffff”
}
},
{
id: “under_construction”,
label: “Project Under Construction”,
readonly: true,
active: true,
color: {
background: “#0abb87”,
border: “#0abb87”,
textColor: “#ffffff”
}
},
];
however, if the event length is only one day, in that case label are not becoming visible as they are in white color, so just looking to set different color, for single day event.