Git Product home page Git Product logo

mantis-toolkit's Introduction

Mantis Toolkit

A small set of useful mixins and functions

npm version


Installation

The installation can be done in 3 steps:

  • Step 1

    Install via NPM:

     $ npm i --save mantis-toolkit
  • 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 toolkit from 'mantis-toolkit';
    
     gulp.task('css', () =>
     	gulp.src('path-to-source.styl')
     		.pipe(stylus({
     			use: [
     				toolkit()
     			]
     		}))
     		.pipe(gulp.dest('path-to-dest/'))
     );
  • Step 3

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

     @import 'mantis-toolkit'

License

© 2020 Acauã Montiel

MIT License

mantis-toolkit's People

Contributors

acauamontiel avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.