Detalhes do pacote

lost-stylus

zeekay38MIT0.1.3

Lost grid system in Stylus without the prefixes.

lost, css, postcss, stylus

readme (leia-me)

lost-stylus

Collection of mixins for Stylus intended for use with Lost. Makes Lost properties available without the lost- prefix, with the exception of lost-utility.

Example

<section>
  <div>1</div>
  <div>2</div>
  <div>3</div>
</section>
section
  lost-utility: clearfix

div
  column: 1/2

Usage

Use like any other Stylus plugin. Lost and PostCSS are not included although their usage is of course required. I've found poststylus to integrate PostCSS and Stylus rather nicely.

var stylus  = require('stylus'),
    lost    = require('lost-stylus'),
    postcss = require('poststylus');

stylus(str)
  .set('filename', 'app.css')
  .use(lost())
  .use(postcss([
    'lost'
  ])
  .render(function(err, css){
    // logic
  });