コンポーネント html ファイルのメモには次のように記載されています。
To change the ink color:
.pink paper-tab::shadow #ink {
color: #ff4081;
}
グローバルに実行したいので、メインの site.css で上記の例 (.pink クラスなし) を試しましたが、効果はありませんでした。また、運が悪くても次のことを試しました。
#ink { color: green !important }
コンポーネント html ファイルのメモには次のように記載されています。
To change the ink color:
.pink paper-tab::shadow #ink {
color: #ff4081;
}
グローバルに実行したいので、メインの site.css で上記の例 (.pink クラスなし) を試しましたが、効果はありませんでした。また、運が悪くても次のことを試しました。
#ink { color: green !important }
/deep/
コンビネータを使いたくなる
<style>
html /deep/ #ink {
color: green;
}
</style>
何らかの理由で、Rob のソリューションは私のセットアップでは機能しませんでした。WebStorm と LESS を使用しています。
ただし、次のことを使用して大きな効果を得ることができました。
::shadow {
//this changes the lines on paper-tabs and the radios on a paper-radio-buttons
#selectionBar, #onRadio {
background-color: green;
}
//this changes the "ink" on all ripple effects
#ink {
color: green;
}
}