#How to change DateTimePicker time input color?
6 messages · Page 1 of 1 (latest)
Try using ::selection pseudo class
tried:
timeInput: { "&::selection": {
color: theme.colors.dark[6],
},
},
but it doesn't work
timeInputProps={{ styles: { input: { '&::selection': { color: 'red' } } } }}
Doesn't work
timeInputProps={{
styles: {
input: {
"&::-webkit-datetime-edit-hour-field, &::-webkit-datetime-edit-minute-field": {
"&:focus": {
color: theme.colors.dark[6],
},
},
},
},
}}