An open API service indexing awesome lists of open source software.

https://github.com/kitze/stylz

Mixins and helpers for writing styles in JS
https://github.com/kitze/stylz

Last synced: 12 months ago
JSON representation

Mixins and helpers for writing styles in JS

Awesome Lists containing this project

README

          

# Stylz
[Source on GitHub](https://github.com/kitze/kitze-js-helpers)
[NPM Package](https://www.npmjs.com/package/stylz)

![NPM version](https://img.shields.io/npm/v/stylz.svg)
![Licence](https://img.shields.io/npm/l/stylz.svg)
![Dependencies](https://img.shields.io/david/kitze/kitze-js-helpers.svg)
![Coverage](https://img.shields.io/codecov/c/github/kitze/stylz.svg)

What is it?
-------
Library of mixins for faster and easier writing styles in js.

Examples
-------
Coming soon...

Documentation
-------
You can see the [full documentation here](http://stylz.surge.sh/).

Usage
-------
The functions are written with ES6 so if you're using a project with ES6 and Babel you can pick and import just the functions that you need. If you're using ES5 you need to import [the compiled version](https://github.com/kitze/stylz/blob/master/dist/stylz.min.js) that's in the [dist folder](https://github.com/kitze/stylz/tree/master/dist).

Dependencies
-------
The mixins which use color depend on [color.js](https://www.npmjs.com/package/color)

Tests
-------
Every single one of the functions is tested with mocha and the coverage is reported with [istanbul](https://github.com/gotwarlost/istanbul).
If the test coverage report is under 100% i cannot publish a new release, so you can be 100% sure that everything is working fine and it's safe to use.

You can check the full [test coverage report here](http://stylz-coverage.surge.sh/src/mixins/index.html).
More
-------
[Follow me on Twitter](https://twitter.com/thekitze) where i constantly ramble about JS, React, Redux etc.