node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »

component-roole

component-roole

Use the awesome roole css pre-processor in your components.

Installation

$ npm install component-roole

Usage

Add the roole plugin through builder.use()

var builder = new Builder('.')
 
builder.copyAssetsTo('build')
 
// Use plugin 
 
builder.use(roole)
 
builder.build(function (err, res) {
  if (err) throw err;
 
  write('build/build.css', res.css)
})

and use it in your components!

{
  ...
  "styles": [
    "dialog.roo",
    "navbar.roo"
  ]
  ...
}

Test

$ make

or simply run

$ node test/build.js