enlighted-link

Custom element to enlight your <link>`s from Shadow DOM to the Light.

By current spec HTML Imports do not work in Shadow DOM. That makes it hard to import definitions of custom elements that you use in a shadow root.

This element allows you to do that. You could import your dependencies exactly where and when you need them.

Check the source of this page. Now, you can simply do: <anyelement> <shadow-root> <enlighted-link rel="import" href="path/to/your-element.html"> <your-element><slot></slot></your-element> </shadow-root> Light DOM content here </anyelement>

For more check the README.md