I'm trying to style my TextFields from Material-UI. I have a black background and I need both the textField border and text to be white. Here's my (relevant) code:
render() {
const styles = {
width: {
width: '90%',
margin: '5px',
padding: '5px',
textColor: '#ffffff',
hintColor: '#ffffff',
floatingLabelColor: '#ffffff',
disabledTextColor: '#673ab7',
focusColor: '#c2185b',
borderColor: '#ffffff'
},
button: {
margin: '15px',
padding: '20px',
width: '60%'
}
};
<TextField
className="classes.textField"
label="Name Your Vice"
type="text"
name="vice"
value={this.props.vice}
margin="normal"
variant="outlined"
style={styles.width}
onChange={this.props.handleInputChange}
/>
What am I missing to get this to work?
Thanks