stylus-mixins

Mixins to help speed Stylus development

ISC License

Downloads
787
Stars
56
Committers
5

Stylus Mixins

A collection of Stylus mixins which can be used in conjunction with Stylus Autoprefixer or similar, to mimic, improve, and extend the functionality of Nib.

Documentation

Documentation for each mixin can be found in the docs directory.

General

Media Queries

  • HiDPI - hidpi()
  • Width/Height - width-min(), width-max(), width-range(), height-min(), height-max(), height-range()

Text

Units

Helpers

Running Tests

All mixins have test coverage to ensure everything works as expected. To run the tests, clone this repo and run:

npm test

Licence

ISC © Jack Brewer