How do you change a toggle/checkbox's image?

I’m trying to convert my UI project to the new UI Toolkit, but one thing I’m stuck on is the “toggles” (radio and checkmark buttons). I was using toggles for a lot of my buttons since they need to stay “active” once clicked and toggles made that easy. I would simply change the background image and the checkmark image to my own and make it larger. It worked great.

I saw somewhere on here that you can modify sub-classes (that are grayed out) on the toggles, but none of them seem to have the image property for the background or checkmark. It’s very confusing.

Any help would be appreciated.

If I remember correctly, greyed-out element changes the opacity of the element, but the background stays the same. I suspect you could leave the opacity at 1 and modify the background in your own style.

Found an answer myself. Here’s my post with the answer: