I see, but shouldn't this be a choice for the implementer? I can see uses both use cases. For my use case all the styles are global. Just for my understanding; 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?
On Friday, March 9, 2018 at 10:56:38 AM UTC-5, Karl Tiedt wrote: > > The whole point of Web Components is to prevent global styles from > infringing on your components... you would basically need to include the > CSS in every component similar to how the style-modules of 2.x did... > > -Karl Tiedt > > On Fri, Mar 9, 2018 at 8:34 AM, Ronn Ross <[email protected] <javascript:> > > wrote: > >> I guess I should clarify that I'm not talking about the need to create a >> style module. I pull tachyons in from a CDN in the html page. I am just >> looking for a way for the components to be able to see all those global >> styles. Thanks! >> >> On Friday, March 9, 2018 at 9:30:21 AM UTC-5, Ronn Ross wrote: >>> >>> Hi I'm using polymer 3, and lit-html. I am defining a set of components >>> and using Tachyons to style them. Tachyons is provided by the page that >>> loads the components. As of now my components do not by default see the >>> global styles. Is there a way to set them up to do so? >>> >> Follow Polymer on Google+: plus.google.com/107187849809354688692 >> --- >> You received this message because you are subscribed to the Google Groups >> "Polymer" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/polymer-dev/5941199c-d974-4763-8c3f-51ac9068fef7%40googlegroups.com >> >> <https://groups.google.com/d/msgid/polymer-dev/5941199c-d974-4763-8c3f-51ac9068fef7%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > Follow Polymer on Google+: plus.google.com/107187849809354688692 --- You received this message because you are subscribed to the Google Groups "Polymer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/228b3eec-90a1-4ce2-982d-2b280543fa8b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
