Stylus Options

Stylus Libraries

Using Nib

Nib is a small and powerful library for the Stylus CSS language, providing robust cross-browser CSS3 mixins to make your life as a designer easier. By default nib support is enabled, but it can be disabled by setting the useNib option to false.

To use Nib, add the following to your main stylus file:

@import'nib'

Alternatively, if you would prefer to use individual parts like gradient support, you can do this by using:

@import'nib/gradients'

Turning off Nib

You can also turn off the inclusion of the Nib by setting the following:

plugins:

stylus:

stylusLibraries:

nib:false

Using a custom Library (like Axis)

You can include your own custom libraries, providing you npm install them yourself.