Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

change back button arrow color in ionic 3

How to change back button color in ionic 3? (From white to black color). It's screenshot with this button:

enter image description here

like image 449
Yovhi Avatar asked Jun 12 '17 07:06

Yovhi


2 Answers

You can change it by just using css. Place the following style rule in the app.scss file:

ion-header ion-icon.back-button-icon.icon {
    color: map-get($colors, dark);
}

That would use the dark color from your $colors array (variables.scss file):

$colors: (
  //...
  dark:       #222
);
like image 77
sebaferreras Avatar answered Oct 17 '22 02:10

sebaferreras


You can just do it by using the css.

.back-button-icon-md {
  color: darkblue;
}

Note: md is for android . For ios replace md to ios, For windows replace md to wp.

like image 4
Ajit Kumar Avatar answered Oct 17 '22 02:10

Ajit Kumar