vpusher / the-grid

Grid layout custom element with drag and drop capabilities
https://www.webcomponents.org/element/vpusher/the-grid
MIT License
129 stars 32 forks source link

Remove Custom-style tag #35

Open royjd opened 6 years ago

royjd commented 6 years ago

The main reason I would like to remove this custom-styles tag is for performance, it is using polyfills and it is a heavy one to compute.

https://www.polymer-project.org/2.0/docs/devguide/style-shadow-dom

You should only use custom-style to define styles for the main document. To define styles for an element's local DOM, just use a <style> block.