I'm currently working with a DateTimePicker component and I want to customize the color of all the days in the calendar to match the theme color:
<DateTimePicker
sx={{ "input": { color: "primary.main" }, "button *": { color: "primary.main" } }}
slotProps={{ textField: { error: false } }}
value={props.values.incidentTime}
onChange={(e) => props.setFieldValue('incidentTime', dayjs(new Date(e.$y, e.$M, e.$D)))}
label="Date of Birth"
/>
This code successfully changes the color of the textfield text and the calendar icon. However, upon inspecting the elements, I noticed that the calendar days are styled as button components, and they are displaying in white instead of the defined theme color.