Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/dbartholomae/stylus-material

A collection of stylus mixins for material design
https://github.com/dbartholomae/stylus-material

Last synced: about 2 months ago
JSON representation

A collection of stylus mixins for material design

Awesome Lists containing this project

README

        

# [email protected]
[![npm version](https://badge.fury.io/js/stylus-material.svg)](https://npmjs.org/package/stylus-material)
[![dependency status](https://david-dm.org/dbartholomae/stylus-material.svg?theme=shields.io)](https://david-dm.org/dbartholomae/stylus-material)
[![devDependency status](https://david-dm.org/dbartholomae/stylus-material/dev-status.svg)](https://david-dm.org/dbartholomae/stylus-material#info=devDependencies)
[![Gitter](https://badges.gitter.im/dbartholomae/stylus-material.svg)](https://gitter.im/dbartholomae/stylus-material)

A collection of stylus mixins for material design. This is basically a port of the static parts of
[materialize](https://github.com/Dogfalo/materialize/) to
[Stylus](https://github.com/stylus/stylus/) using Mixins.

Here's [the documentation](https://rawgit.com/dbartholomae/stylus-material/v1.4.3/docs/index.html).

## Installation
Install with `npm`:
```sh
npm install stylus-material --save
```

## Usage
```html
...


  • Imprint

  • Privacy

  • Terms and Conditions

...
```

```styl
@require "../node_modules/stylus-material"

footer
sm-navbar()

& ul
sm-horizontal-list('—')
```

Find examples of all components in the `docs` folder.

## Library size
This library uses mostly mixins, therefore only what you actually use will increase your filesize.
Due to use of mixins, there will be a lot of repeated css in the output. If you don't already, make
sure you serve your css gzipped.