In the following, the Proto UI version is squared rather than rounded, and does not change color when pressed?
The point is that the CSS doesn’t inherit by default. You need to define it as
$init:function(){
this.$view.className = "webix_el_toggle";
}