#Focus Colour

1 messages · Page 1 of 1 (latest)

delicate agate
#

How can I change the focus colour on an input field?

#

(The blue outline)

#

Fixed

#
                                    input: {
                                        backgroundColor: 'rgb(23, 23, 23)',
                                        borderColor: 'rgb(60, 60, 60)',
                                        borderWidth: '2px',
                                        '&:focus': {
                                            borderColor: 'red',
                                        }
                                    },
#

Actually not fixed

#

how would I do so with a PasswordInput?

#

'&:focus' doesn't seem to work with a PasswordInput

cunning hedge
delicate agate
#

only an ordinary input

#

TYSM