As experimental as you say it it, I see core-style used across most paper-elements.
joi, 30 octombrie 2014, 22:16:14 UTC+2, Rob Dodson a scris: > > The recommended approach right now is to write up a theme stylesheet using > ::shadow and /deep/. > > core-style is still in the experimental bucket > > On Wed, Oct 29, 2014 at 5:28 PM, <[email protected] <javascript:>> > wrote: > >> Hi guys >> >> I am trying to understand how I can create a theme with core-style for >> all paper elements. For example I would like to set the common colors for >> all paper elements in my theme. But I don't get how core-style and the >> CoreStyle.g is actually supposed to create a theme for all paper elements. >> >> This guide gives me headache and doesn't really explain how to do themes: >> https://www.polymer-project.org/docs/elements/core-elements.html#core-style >> >> Does anybody know how to do themes with core-style? >> >> Cheers >> Bernd >> >> On Thursday, June 5, 2014 2:19:39 AM UTC+12, Steve Orvell wrote: >>> >>> We think it'll be one way to theme elements, but `core-style` should be >>> considered experimental at the moment. It's a promising alternative to >>> styling via /deep/. We're working through various theming use cases to make >>> sure it doesn't need to evolve more. >>> >>> If you'd like to try it out, feedback is welcome. >>> >>> >>> On Wed, Jun 4, 2014 at 5:33 AM, Martin Amm <[email protected]> wrote: >>> >>>> I just found a core-style component. Is this the new "official" way to >>>> style/theme components? >>>> >>>> >>>> On Thursday, May 29, 2014 8:34:26 PM UTC-4, Rob Dodson wrote: >>>>> >>>>> ^ and ^^ have been deprecated in favor of ::shadow and /deep/ >>>>> >>>>> I've put together a Shadow DOM CSS cheat sheet >>>>> <http://robdodson.me/blog/2014/04/10/shadow-dom-css-cheat-sheet/> which >>>>> details all of the current selectors/combinators. >>>>> >>>>> At the moment we recommend using ::shadow and /deep/ to theme your >>>>> elements >>>>> >>>>> >>>>> 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/03acbb91-8bef-4abb-9bfb-931cea908dcc% >>>> 40googlegroups.com >>>> <https://groups.google.com/d/msgid/polymer-dev/03acbb91-8bef-4abb-9bfb-931cea908dcc%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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/polymer-dev/bf83f6ea-94bb-452b-a7cd-ef058f19a61f%40googlegroups.com >> >> <https://groups.google.com/d/msgid/polymer-dev/bf83f6ea-94bb-452b-a7cd-ef058f19a61f%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/028058e9-bd4e-4fbf-91fa-024fbb1bbf76%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
