I've been tinkering with polymer over the past week or so. It's easy to use element attributes/properties to set labels and colors by inserting {{attributes}} in the dom structure, but not in the CSS that is inserted. Compare the two examples:
# Example 1
<template><!-- Wont work-->
<style>
.custom-button { background: {{color}} }
</style>
<paper-button class="custom-button"></paper-button>
</template>
#Example 2
<template><!-- will work -->
<style>
.custom-button { background: red; }
</style>
<paper-button style="background:{{color}}"></paper-button>
</template>
The second form seems "cleaner" to me. Is there some way to embed or use variables in css rather then in the elements directly?