stylus / nib

Stylus mixins, utilities, components, and gradient image generation
http://stylus.github.io/nib
MIT License
1.9k stars 250 forks source link

allow gradients stops to accept an array #193

Open Cactusbone opened 11 years ago

Cactusbone commented 11 years ago

this allows to send stops as an array, hence enabling linear-gradient overloading

suppose you define:

custom-linear-gradient(start, stops...)
    //do stuff
    linear-gradient(start, stops)
notslang commented 11 years ago

This is gonna need tests, documentation, and a compelling use-case (which can prolly be covered by the docs)