0.4.3 • Published 6 years ago

@freesewing/material-style v0.4.3

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

material-style

The is the CSS from Material Kit React, a style kit for material-ui, which in turn is a collection of React components that implement Google's material design.

We use these components in our React-based frontend projects (a work-in-progress), and we've put this CSS in its own repository to avoid code duplication.

Changes to the original material kit

This CSS has very little changes in comparison to the upstream code, but there are a few. Specifically:

  • We use a native font stack, rather than Roboto

Usage

We publish a javascript file that wraps the CSS into an exported variable, but we also publish the style.ccs file with just the style.

This way, you can either load the style in JavaScript:

import style from '@freesewing/material-style'

Or include it in your pages from unpkg:

<link href="https://unpkg.com/@freesewing/material-style" rel="stylesheet">

Install

To install, run:

npm install @freesewing/material-style

Build

After making changes, run:

npm run build

License: MIT

See the license file for details.