I'm looking for a way to replace ::shadow
now that it is gone. I've found two topics about it on this website, but both imply to modify the shadow element.
here and there
But the point of Web Components is to be able to import any element we found on the Internet in our webpage / app. So, it means that I don't wanna modify anything on these "third parties elements", because there are sources, and if I modify them, it will be overwritten when I later update them.
So, imagine that I download on webcomponents.org
an element that creates some sort of button, but I need to change the color of this button because it doesn't fit the style of my page/app. The element creator has put no variable in his CSS, no @apply
rule, no imports, nothing. Just the polymer element itself, working properly.
How can I do this without modifying the element's source code?