JSPM

  • Created
  • Published
  • Downloads 23098
  • Score
    100M100P100Q149977F
  • License BSD-3-Clause

Common (global) styles for Material Design elements.

Package Exports

  • @polymer/paper-styles/color
  • @polymer/paper-styles/color.js
  • @polymer/paper-styles/default-theme
  • @polymer/paper-styles/default-theme.js
  • @polymer/paper-styles/element-styles/paper-material-styles
  • @polymer/paper-styles/element-styles/paper-material-styles.js
  • @polymer/paper-styles/paper-styles
  • @polymer/paper-styles/paper-styles-classes
  • @polymer/paper-styles/paper-styles-classes.js
  • @polymer/paper-styles/paper-styles.js
  • @polymer/paper-styles/shadow
  • @polymer/paper-styles/shadow.js
  • @polymer/paper-styles/typography
  • @polymer/paper-styles/typography.js

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 (@polymer/paper-styles) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Build status

Demo and API docs

<paper-styles>

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.