我想应用背景颜色,但在选中时不应加粗paper-item
。我注意到重量属性没有做任何事......
paper-item {
--paper-item-selected-weight: normal; /* its still bold */
--paper-item-selected: {
background: #3f9c35; /* no issues here */
}
}
HTML
<paper-menu selected="0">
<paper-item>TEST</paper-item>
如果我使用paper-icon-item