stevenrskelton / sortable-table

Polymer Web Component that generates a sortable <table> from inlined or AJAX JSON, JSON5, and arrays.
https://stevenrskelton.github.io/sortable-table/
MIT License
196 stars 37 forks source link

Themes should extend sortable-table to avoid external css files #40

Open MetaMemoryT opened 9 years ago

MetaMemoryT commented 9 years ago

Currently polymer does not handle external css well, you must declare it in the head of a document, and this breaks encapsulation of web components.

We could extend sortable-table into sortable-table-bootstrap, sortable-table-ext4js, and have the theme embedded in <style shim-shadowdom> elements. The only frustration of that is auto-formatting embedded css, but js-beatify and atom-beautify help with that.