Many of the components I'm styling are third party so I can't do that (without forking them).
Btw, I notice the chrome depreciation warning on querySelector() calls and even lines which are completely unrelated...bit strange. Max. On Fri, 30 Oct 2015, 03:46 Elliott Sprehn <[email protected]> wrote: > On Wed, Oct 28, 2015 at 2:51 AM, Max <[email protected]> wrote: > >> I'm not sure if you're referring to me or someone else, but anyway... >> >> No, I've not managed to even get to the point of replacing /deep/ and >> ::shadow styles. yet. There have been so many fixes/improvements to polyup >> that I restarted my upgrade process, and decided to start simply by adding >> lint/inline lint and fixing the problems it brought up (and the problems >> the fixes brought up). I'm wishing we had done a more thorough test suite. >> >> My intention is to find the places where /deep/ is used and apply those >> style on webcomponentsready (or in the component's ready/created? callback) >> using document.querySelectorAll('html /deep/...') with an appropriate >> selector javascript. This will probably requires some attention to FOUC >> issues, so I'll probably just use visibility to hide the parent elements >> and make them visible again when the style is applied. >> ...but, yeah, probably some issues there that I have to look forward to. >> >> > Instead I might suggest putting those deep rules into a shared stylesheet > and then having components that care about them include that sheet > internally. It's okay to include the same sheet in a bunch of places. > > - E > 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/CAMZCrPhXgGc%3DpYYwwPF24sEvWRQmbYV62SQ0kTP2jxt0utH-Dg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
