component-css-stylus

0.0.2 • Public • Published

Component CSS for Stylus


A component-css plugin for stylus.

Installation

You can install through npm as such: npm install component-css-stylus

Usage

You can include component-css-stylus as a normal stylus plugin. Basic example below:

var stylus = require('stylus');
var ccss = require('component-css-stylus');

stylus(css)
  .use(ccss()({prefix: 'app-'}))
  .render(function(err, output){
    console.log(output);
  });

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i component-css-stylus

    Weekly Downloads

    3

    Version

    0.0.2

    License

    none

    Last publish

    Collaborators

    • icodeforlove