JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 14
  • Score
    100M100P100Q85646F
  • License MIT

A collection of stylus mixins for material design

Package Exports

  • stylus-material

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (stylus-material) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

stylus-material@1.4.3

npm version dependency status devDependency status Gitter

A collection of stylus mixins for material design. This is basically a port of the static parts of materialize to Stylus using Mixins.

Here's the documentation.

Installation

Install with npm:

npm install stylus-material --save

Usage

...
<footer>
  <ul>
    <li>Imprint</li>
    <li>Privacy</li>
    <li>Terms and Conditions</li>
  </ul>
</footer>
...
@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.