O'Reilly logo

Grunt Cookbook by Jurie-Jan Botha

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Stylus plugins

In this recipe, we'll make use of the contrib-stylus (0.18.0) plugin to compile Stylus style sheets that make use of one of the Stylus libraries provided by the developer community.

Tip

A partial list of the plugins available for the Stylus framework can be found at the following URL:

https://github.com/LearnBoost/stylus/wiki

For our example, we'll make use of the axis library that comes packaged with the Roots platform. It provides a host of useful functions, mixins, and other utilities that you'll be sure to make use of in your day-to-day style sheet development.

Getting ready

In this example, we'll work with the basic project structure that we created in the Compiling Stylus to CSS recipe of this chapter. Be sure to refer to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required