I have a material-ui select component that displays a dropdown menu of options for the user to choose from. The placeholder text, which currently reads "select option," appears in light grey to prompt the user to make a selection. However, I am concerned that this light color may be difficult for individuals with color blindness to read. As a result, I would like to darken the text color, but I am unsure of how to do so without including the placeholder as one of the selectable options within the dropdown menu.
The code for the select component is as follows:
<Select
options={options}
isMulti
placeholder="Select Options"
value={this.selectedOptions}
onChange={this.changeH}
className=SelectOptionsDropDown
/>
Within the .css file, I have applied the following styling:
.SelectOptionsDropDown {
text-align: center;
margin: 10px;
}
This styling is functioning properly.