PolymerElements / paper-ripple

Adds a Material Design ripple effect to UI elements
https://webcomponents.org/element/PolymerElements/paper-ripple
56 stars 27 forks source link

Fix: Use custom-style elements instead of style elements for HTML imp… #111

Closed chosh31 closed 6 years ago

chosh31 commented 6 years ago

…orts

valdrinkoshi commented 6 years ago

This is not required for styles inside dom-module templates - Polymer already considers them as custom-styles

chosh31 commented 6 years ago

in link: https://www.polymer-project.org/blog/2017-10-18-upcoming-changes

If you have any HTML imports that contain ordinary style tags—not wrapped in a custom-style element or inside a template—use a custom-style element instead, to ensure the styles are moved into the main document.

@valdrinkoshi Polymer already considers them?