Switch buttons individual style/images

i’m trying to have different on/off background images for every button in a switch.
i was able to do a global image for on/off but cannot find a way to do it individually.
are they accessible individually?

switch

You can use the css selector :nth-child():

value:nth-child(2) {
  --color-fill:red
}
1 Like