I have been struggling for a bit now, and my goal is to give the thumb label of my v-slider a custom color, defined in the part of my component. How do I do that?
Thanks, Joost
I have been struggling for a bit now, and my goal is to give the thumb label of my v-slider a custom color, defined in the part of my component. How do I do that?
Thanks, Joost
Copyright © 2021 Jogjafile Inc.
If you Inspect Element using Chrome DevTools you can usually find which classes need css applying to it. In this case, it's
.v-slider-thumb__label. To access these classes (in a scoped style section), you need a:deepselector:If you need it to reflect a color defined in your script, you can do as follows: