I have been reading docs all over the place. Even got to 10th page of some google searches. I cannot figure out how to style a polymer element from a regular CSS file.
We are using just 1 or 2 polymer elements in our application, in particular, the paper-input
. The blue for its focused state and the red for its error state must be changed to match the theme of the app.
It seems like polymer provides some stuff like this: --paper-input-container-color
Which I am assuming affects a variable in the elements internal stylesheet. Can I use these from my regular stylesheet? If so, how? If I cannot, how do I style this thing?
All of the documentation seems to point to making your own custom elements and then styling them. This is not what I want to do. I do not want to wrap the paper-input
in another custom element. I just want to change some colors. The functionality of the paper-input
is enough for my use case.
Is this even possible?