0.1.13 • Published 11 years ago

roots-css v0.1.13

Weekly downloads
71
License
-
Repository
github
Last release
11 years ago

Axis CSS

Axis is a terse, feature-rich css library built on top of stylus. It's a child of the roots build system, but is totally old enough to live on it's own. It can be integrated as a plugin for stylus or included manually.

Detailed documentation for axis can be found here!

Usage

Axis is already integrated into roots by default, and it's super easy to use it there. Definitely the easiest way if you are setting up a project that uses stylus anyway, and it comes with jade and coffeescript already ready out of the box. However, if you do want to include it yourself, here's how to make it happen with stylus/express:

var connect = require('connect')
  , stylus = require('stylus')
  , axis = require('axis-css');

var server = connect();

function compile(str, path) {
  return stylus(str)
    .set('filename', path)
    .use(axis());
}

server.use(stylus.middleware({
    src: __dirname
  , compile: compile
}));

You should have access to all the axis mixins once this is done. Whoo!

0.1.13

11 years ago

0.1.12

11 years ago

0.1.11

11 years ago

0.1.10

11 years ago

0.1.9

11 years ago

0.1.8-1

11 years ago

0.1.8

11 years ago

0.1.7

11 years ago

0.1.6

11 years ago

0.1.5-3

11 years ago

0.1.5-2

11 years ago

0.1.5-1

11 years ago

0.1.5

11 years ago

0.1.4

11 years ago

0.1.2

11 years ago

0.1.1

12 years ago

0.1.0

12 years ago