I could not find a solution to this problem until recently. I have two toolbars, and I did not want to change CSS for all toolbars only on the title toolbar.
To change the CSS for each toolbar, add the following in your external css file:
paper-toolbar.paper-toolbar-0 { background: orange; color: red; }
However, this does not solve the problem. To change an individual class-based toolbar, for example:
<paper-toolbar class="header"> ... </paper-toolbar>
The above example uses a class called "header", so in my CSS I added:
paper-toolbar.header { background: orange; color: red; }
... and it worked! Hooray! This means that with this you should be able to redefine any CSS of any of the other elements doing the same. This is completely untested, but I think it should work as follows:
<elementName>.<classname> { ... }
Hope this helps!
source share