Toggles with 2 colors


#1

Yo,

I’m trying to figure out how (and if) I can use 2 colors for an ionic toggle checkbox, so that for instance unselected will be toggle-assertive and selected will be toggle-balanced, all functional with animations.

Anyone has done it before?


#2

Got answer already - http://stackoverflow.com/questions/30804386/ionic-toggle-checkboxes-with-2-colors/30806091#30806091

TL;DR - Used this styling in my CSS:
.toggle input + .track { background-color: limegreen; border-color: limegreen; }