Material Colors
Sizes from Google's Material Design made available to coders.
The sizes are scraped from the guide. The idea to publish sizes in multiple forms is stolen from shuhei/material-colors.
Available Forms
- JSON: Raw data of sizes.
- JavaScript: Sizes set object provided via AMD, CommonJS or global variable
materialSize
. - EcmaScript module: Sizes variable is exported.
Usage
Download
Download what you like from dist directory and use it.
NPM
npm install material-sizes
Yarn
yarn add material-sizes