Axis is a terse, feature-rich css library built on top of stylus. It is built on top of nib, providing a number of additional useful tools and mixins.
Detailed documentation for axis can be found here!
You can install axis through npm, as such
npm install axis-css
Axis is a stylus plugin, and can be integrated in any way that stylus plugins normally are. If you are curious how to use stylus plugins, feel free to check out this guide.
By default, axis' mixins will be included automatically into all parsed stylesheets when included as above. If you'd like to import axis manually in stylus when you want to use it, you can pass { implicit: false }
to the axis call, as such:
axis({ implicit: false })
If you do it this way, you'll need to @import
axis manually wherever you'd like access to the mixins, as such:
@import 'axis'
normalize-css()
base()
...etc...
- Details on the license can be found here
- Details on running tests and contributing can be found here