A Stylus mixin for linear gradients with support for comma-separated splat arguments. In part created as a work-around / abstraction for this.
The method for retrieving the fall-back background colour can do with some improvement, such as averaging the colours or selecting a colour by means of passing an additional argument.
View it on CodePen