Stylus assets for Play 2.0

View the Project on GitHub patiencelabs/play-stylus


stylus asset handling for Play 2.0, implemented as an sbt plugin (very similar to Play's handling of CoffeeScript and LESS).


The plugin assumes the availability of the stylus executable. With node.js and npm installed, run

npm install -g stylus

to install stylus globally, thereby installing not only the module, but also the executable.


In your Play application folder, add

resolvers += "Patience Releases" at ""

addSbtPlugin("patience" % "play-stylus" % "0.1.3")

to project/plugins.sbt.

The plugin automatically registers for compilation of app/assets/**/*.styl, that is all stylus files in your app/assets directory.

sbt settings


Copyright (c) 2012 Johannes Emerich

MIT-style licensing, for details see file LICENSE.