I'm currently working on creating a customized menu using Polymer 1.0. This is how my menu structure looks like:
<paper-menu>
<template is="dom-repeat" items="{{menu}}" as="item">
<paper-item>
<div>{{item.title}}</div>
</paper-item>
</template>
</paper-menu>
I have extensively explored the properties of paper-menu and paper-item, trying different combinations, but I haven't been successful in finding a way to assign specific colors to each item (e.g., first item with blue background when selected, second with green, etc.).
Is there a possible solution for achieving this customization?
Thank you.
Edit
This is how the HTML is rendered:
<paper-menu class="style-scope widget-store x-scope paper-menu-0" role="menu" tabindex="0">
<div class="selectable-content style-scope paper-menu">
<paper-item class="style-scope widget-store x-scope paper-item-0" role="option" tabindex="0" aria-disabled="false">
<span class="style-scope widget-store">1</span>
</paper-item>
<paper-item class="style-scope widget-store x-scope paper-item-0" role="option" tabindex="0" aria-disabled="false">
<span class="style-scope widget-store">2</span>
</paper-item>
</div>
</paper-menu>