Component color change (cache or someting else)


#1

Hi, I am new developer on ionic framework

I try to change navbar color but it does not work

its my scss:

$colors: (
  navbar-color: #5c6bc0,
  primary:    #488aff,
  secondary:  #32db64,
  danger:     #f53d3d,
  light:      #f4f4f4,
  dark:       #222
);

And my html code:

  <ion-navbar color="navbar-color">
    <ion-title text-center>Çabuk Yazdır</ion-title>
  </ion-navbar>

But its show default color.

What I do for this ? this reason is cache? If reason is cache how I clear it ?


#2

I solve it. It call color variable from variables.scss