In my Polymer project, I have a toolbar with a color I want to change using JavaScript. Since Polymer uses the CSS variable — paper-toolbar-background internally for styling
Basically,
Please see the docs. [Edit] If you need an example, I've one here.