Re: [polymer-dev] Re: Allow components to use global CSS

2018-03-09 Thread Ronn Ross
Kevin,

That does clear everything up. I appreciate you taking the time to put 
together such a thorough answer.

Thanks!

On Friday, March 9, 2018 at 12:37:01 PM UTC-5, Kevin Schaaf wrote:
>
> > It is impossible to see a style outside of a web component? If the 
> answer is yes, then how does one keep from duplicating styles and attempt 
> some reuse?
>
> Browsers implementing Shadow DOM have optimizations to ensure that 
> duplicating the same  tag in the shadow DOM of element instances is 
> low-cost.  If your question is practically, "how do I share styles between 
> two elements using lit-html?", the pattern we are leaning towards are 
> putting common styles in modules that e.g. export const sharedStyles = 
> html`