# roots-css

> css library built on stylus

Latest version **0.1.13** (published 2013-05-31) · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install roots-css
pnpm add roots-css
yarn add roots-css
bun add roots-css
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.1.13 |
| Published | 2013-05-31 |
| First published | 2012-11-08 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.8.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 320 |
| Author | Jeff Escalante |
| Maintainers | jenius |

## Links

- npm: https://www.npmjs.com/package/roots-css
- Repository: https://github.com/jenius/axis
- npm.io page: https://npm.io/package/roots-css

## Recent versions

- 0.1.13 (latest) — 2013-05-31
- 0.1.12 — 2013-05-30
- 0.1.11 — 2013-03-26
- 0.1.10 — 2013-03-26
- 0.1.9 — 2013-03-10
- 0.1.8-1 — 2013-02-26
- 0.1.8 — 2013-02-22
- 0.1.7 — 2013-02-15
- 0.1.6 — 2013-02-14
- 0.1.5-3 — 2012-12-14
- 0.1.5-2 — 2012-12-12
- 0.1.5-1 — 2012-12-12
- 0.1.5 — 2012-12-04
- 0.1.4 — 2012-11-18
- 0.1.2 — 2012-11-17
- … 2 more at https://npm.io/package/roots-css/versions

## README

Axis CSS
---------

Axis is a terse, feature-rich css library built on top of stylus. It's a child of the [roots build system](http://github.com/jenius/roots), 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!](http://roots.cx/axis)**

### Usage

Axis is already integrated into [roots](http://roots.cx) 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:

```js
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!

---
_Source: https://npm.io/package/roots-css · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
