Change the reverse button color of the arrow in Ionic 3

How do I change the color of a button in ionic 3? (White to black). Screenshot using this button:

enter image description here

+3
css sass ionic2 ionic3


source to share


2 answers


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

:

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

      



This will use the dark color from your array $colors

( variables.scss

):

$colors: (
  //...
  dark:       #222
);

      

+6


source to share


You can just do it using css.

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

      



Note: md

for android. For ios, replace md

with ios

, for Windows, replace md

with wp

.

+2


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics