Closed zachinglis closed 11 years ago
Isn't this more iOS-style and less Bootstrap-style? The gradient currently matches the typical style of bootstrap (take the buttons, for example) I like it...
Not at all.
The buttons in bootstrap are embossed, and thus lighter gradient to darker.
The reason iOS uses them with darker at the top for inset is due to the skeuomorphism. (Which toggle buttons is a very big example of.)
I like them too, and think the author did great work. But currently it's breaking the rules of skeu and giving the wrong context.
Think about it like this: When you have a light switch or a toggle switch, when it's it's raised and the other part is pressed. This is what this should reflect.
@zachinglis yes!
oh well, you seem quite an expert to me ;-) agree
I was just thinking about making a fork and contributing a patch to do just this. Glad I saw this ticket before working on my own!
Done :)
Thanks! (Why did you wipe my changes and do your own though?)
Because I had Internet problem but I had already written the code :( thanks again ;)
The skeumorphism says that the slider is embossed which means counteractly behind it, it should be invertedly inset. Thus switching the colours on the gradient around (using the direction) has helped further the idea.