Date Picker CSS, OK/Cancel Buttons - Change Text OR Background Color

#app-modal-root .picker-container .datetime-picker-controls button {
color: white;
}

button[class*="MuiPickersDay-daySelected"] p {
color: white;
}

I noticed the chosen date’s color is black as well, it should be white, so I added a second snippet to change it to white.

1 Like