Skip to content

StartPolymer/paper-styles-plus

Repository files navigation

Build status

Demo and API docs

<paper-styles-plus>

PRs welcome

This repo is up-to-date fork of <paper-styles>

Changes

  • Removed font-roboto dependency
  • Removed google colors
  • Removed opacity variables
  • Added -moz-osx-font-smoothing: grayscale;
  • Converted font size to rem inspired by Material Components for the web
  • RSCSS Helper styles

How to use

Add this line to bower.json

"paper-styles": "StartPolymer/paper-styles-plus#2.0.x"

and then run bower install paper-styles

About

The <paper-styles> component provides simple ways to use Material Design CSS styles in your application. The following imports are available:

  1. color.html: a complete list of the colors defined in the Material Design palette

  2. default-theme.html: text, background and accent colors that match the default Material Design theme

  3. shadow.html: Material Design elevation and shadow styles

  4. typography.html: Material Design font styles and sizes

  5. demo-pages.html: generic styles used in the PolymerElements demo pages

We recommend importing each of these individual files, and using the style mixins available in each ones, rather than the aggregated paper-styles.html as a whole.

Changes in 2.0

  • removed deprecated /deep/ styles. Files removed: classes/shadow-layout.html, demo.css.

About

Improved shared styles for Material Design elements.

Resources

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 32

Languages