#How to change DateTimePicker time input color?

6 messages · Page 1 of 1 (latest)

warm mica
#

I went through the styles API and inspected the element but I can't figure out where to change the color of the time input when the background is yellow on the photo

ember sable
warm mica
ember sable
#

timeInputProps={{ styles: { input: { '&::selection': { color: 'red' } } } }}

warm mica
#

Doesn't work

warm mica
#
timeInputProps={{
styles: {
 input: {
   "&::-webkit-datetime-edit-hour-field, &::-webkit-datetime-edit-minute-field": {
    "&:focus": {
     color: theme.colors.dark[6],
     },
    },
   },
  },
}}