I have a <v-toolbar>
component and I am trying to customize it by adding a search text field with a search icon in front:
<v-text-field
solo-inverted
prepend-icon="search"
label="Search"
class="hidden-sm-and-down"
>
</v-text-field>
While this setup works, the result is not exactly what I want:
https://i.sstatic.net/cYShR.png
The issue lies in the fact that I want both the text field and icon to be in white color. To achieve this, I tried adding the background-color="white"
property to the previous code:
<v-text-field
background-color="white"
solo-inverted
prepend-icon="search"
label="Search"
class="hidden-sm-and-down"
>
</v-text-field>
Even though this changes the color of the text field, the icon remains unchanged:
https://i.sstatic.net/YoLiw.png
So my question is, how can I set the color of the icon to white as well?
I looked through the Vuetify.js API but couldn't find a suitable option for this customization.