When disabling a button or toggle (in ui toolkit) it will set it to semi transparent and ignore its selectorName:disabled, is there a way around this?

I am new to unity UI toolkit and have found very simple things very difficult to fine an answer to.

I am using toggles instead of buttons as I need them to have a checked and unchecked state. But therefore also need to disable them when they’re used until another toddle turns it back on.

However, when I disable the toggle, it appears semi transparent and I cannot get it to appear normally. I am using a selector .toggleName:disabled and this doesn’t seem to effect the transparency. I am very confused.

This is how I am simply setting the toggle as disabled _toggleName.SetEnabled(false);

Where am I going wrong?!

There we go! Easy fix I found after some more digging.