Skip to content

A small set of useful rules to complement resets and normalizers

Notifications You must be signed in to change notification settings

acauamontiel/mantis-equalizr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mantis Equalizr

A small set of useful rules to complement resets and normalizers

npm version


Installation

The installation can be done in 3 steps:

  • Step 1

    Install via NPM:

     $ npm i --save mantis-equalizr
  • Step 2

    You can use this plugin in different ways, but all consist of passing the plugin to the .use method of Stylus. For this example, I'll use it with Gulp in a ES6 enviornment.

     import gulp from 'gulp';
     import stylus from 'gulp-stylus';
     import equalizr from 'mantis-equalizr';
    
     gulp.task('css', () =>
     	gulp.src('path-to-source.styl')
     		.pipe(stylus({
     			use: [
     				equalizr()
     			]
     		}))
     		.pipe(gulp.dest('path-to-dest/'))
     );
  • Step 3

    Now just import the plugin into your .styl file as you already know.

     @import 'mantis-equalizr'

License

© 2016 Acauã Montiel

MIT License

About

A small set of useful rules to complement resets and normalizers

Resources

Stars

Watchers

Forks

Packages

No packages published