Skip to content
Create a gist now

Instantly share code, notes, and snippets.

anonymous /gist:4345812
Created Dec 20, 2012

var mylib = function(style) {
style.define('randomColor', function () {
var col = rgb(Math.floor(Math.random() * 256), Math.floor(Math.random() * 256), Math.floor(Math.random() * 256));
return col;
});
};
return stylus(str).use(mylib);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.