In the designer properties of the B4XSwitch , you can change the colors of the ON color, OFF color and THUMB color. Make sure your thumb color is not the same as the ON color. That is why you are getting that all green effect.
I will then try to change the library. I already understood that I can unzip and see the source code.
But I think that as a base library it should be changed for everyone and not an adapted version, because Enabled is an obvious state in such an object.
If I can change it, I will send you the source code to improve the base library.