You’re looking for a rather old fashioned 80s/90s approach which the Slider design does not support by default.
Regardless, there are several posts along these lines in the forum. For example: Skinning the Slider / Replacing knob and slider track with PNGs