Change color of Ionic 4 Back Button


I’m looking at the documentation for the back button ( and trying to change the color of it using

ion-back-button {
  --color: #fff;

and it doesn’t have any effect. I am new to css variables so I’m not sure how to troubleshoot. What am I doing incorrectly?


I did it like this:

ion-buttons {
color: #ffffff;

try mentioning the color you want.
i don’t think this is right way to code.