An open API service indexing awesome lists of open source software.

https://github.com/zerodevx/polymer-style-modules

DEPRECATED - superseded by `iron-flex-layout-classes`
https://github.com/zerodevx/polymer-style-modules

Last synced: about 1 month ago
JSON representation

DEPRECATED - superseded by `iron-flex-layout-classes`

Awesome Lists containing this project

README

          

v1.0.0

# ``

A style-module implementation of common layout classes for Polymer 1.1+.

Because `/deep/`, `::shadow` and other piercing combinators are **deprecated**.
See [here](https://www.chromestatus.com/features/6750456638341120),
[here](https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/68qSZM5QMRQ/pT2YCqZSomAJ)
and [here](https://www.w3.org/wiki/Webapps/WebComponentsApril2015Meeting).

### Let's get this money

Use inside your custom Polymer component:

`my-custom-element.html`

```html





/* My other styles applied to this element */
...

...


Polymer({
is: "my-custom-element",
...
});

```

### Included styles

| Style Module | Base Version | Description |
|------------------------------|-------------------------------------------|-------------|
| iron-flex-layout-styles.html | `PolymerElements/iron-flex-layout` v1.0.3 | Polymer's flexbox [layout attributes](https://www.polymer-project.org/0.5/docs/polymer/layout-attrs.html). |
| paper-global-styles.html | `PolymerElements/paper-styles` v1.0.11 | A set of base styles that are applied to the document and standard elements that match the Material Design spec. |
| paper-shadow-styles.html | `PolymerElements/paper-styles` v1.0.11 | Shadow elevation definitions per Material Design spec. |
| paper-typography-styles.html | `PolymerElements/paper-styles` v1.0.11 | Typographic styles are provided matching the Material Design standard styles. |

### Installation

Install through bower.

bower install --save zerodevx/polymer-style-modules#^1.0.0

Alternatively, download the project as a ZIP file and unpack into your
components directory. Note that `` uses
[``](https://github.com/PolymerElements/font-roboto).

Source provided as-is - no assumptions are made on your production build
workflow.

### Version history

1. 2015-09-23: v1.0.0 - initial commit.