Ionic 4 - custom theme - primary color is not working


#1

I used color generator ,just like it is mentionned in the documentation, to update the default ionic theme. But when I tested my App, It did not work. I am always getting the old default value (#3880ff as a primary color).
However, it worked when testing it on a browser with ionic serve.

For example, I am trying to change the toolbar color :

This is what I get on chrome :

browser

And this what I get on Android emulator/device :

3

What did I missed ? Thank you !


#2

Make sure the Android build has the actual compiled SCSS used to generate the APK, it appears your styles for the Android app are not updated to changes you did.
Regards.


#3

Hi, thank you for replying.I did rechecked but it is updated.
In fact, I deleted the Android plateform and did rebuild after changing the variables.scss