0.0.1-1 • Published 12 years ago

initio v0.0.1-1

Weekly downloads
8
License
-
Repository
github
Last release
12 years ago

initio

A proper beginning for your stylusneeds.

Install

λ npm install initio

Usage

var app     = require('connect')(),
    stylus  = require('stylus'),
    initio  = require('initio');

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

app
  .use(stylus.middleware({src: __dirname, compile: compile})
  .listen(8080);

Alternately, you can import the separate stylesheets or initio from within your stylus-files.

@import 'initio'
@import 'initio/animation'
@import 'initio/grid'

Initio uses nib for cross-browser support and resets, so all of the features of nib are readily available to you.