# \`ionic serve\` changes my colors

**URL:** <https://forum.ionicframework.com/t/ionic-serve-changes-my-colors/97019>\
**Category:** ionic-v3\
**Created:** [July 5, 2017, 11:45am UTC](https://forum.ionicframework.com/t/ionic-serve-changes-my-colors/97019 "2017-07-05T11:45:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![7773783](https://avatars.discourse-cdn.com/v4/letter/7/5f9b8f/32.png) [@7773783](https://forum.ionicframework.com/u/7773783)\
**Post date:** [July 5, 2017, 11:45am UTC](https://forum.ionicframework.com/t/ionic-serve-changes-my-colors/97019/1 "2017-07-05T11:45:13Z")

</div>

sometimes (randomly) when making updates in code (html or ts) when ionic serve updates the page  
the colors changes and all button look different.

i tried stop ionic serve and run it again but…sometimes it works and sometimes not.

then i close my phpstorm and reopen it and then it all good until it happens again.

any answer?

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/a/e/aee850de2365cef88b599ebcf30843f30ca24fa6.png)

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [July 5, 2017, 3:38pm UTC](https://forum.ionicframework.com/t/ionic-serve-changes-my-colors/97019/2 "2017-07-05T15:38:25Z")

</div>

This looks like iOS design vs Android design to me for the buttons.  
(Although the changing background image color is strange…)

How are you displaying the app in your browser? Using devtools to emulate a device?

---

<div class="post-metadata">

**Author:** ![7773783](https://avatars.discourse-cdn.com/v4/letter/7/5f9b8f/32.png) [@7773783](https://forum.ionicframework.com/u/7773783)\
**Post date:** [July 6, 2017, 6:59am UTC](https://forum.ionicframework.com/t/ionic-serve-changes-my-colors/97019/3 "2017-07-06T06:59:23Z")

</div>

hi,  
tnx for the answer.

no, just using ionic serve.  
both with same device chesen - no changes.

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [July 6, 2017, 7:28am UTC](https://forum.ionicframework.com/t/ionic-serve-changes-my-colors/97019/4 "2017-07-06T07:28:11Z")

</div>

Still definitely UI components for different platforms. Try `ionic serve --lab` and show Android and iOS and compare to your screenshots - do they (the input stuff from the other page) match? Do you also get different background colors is you do that?

---

<div class="post-metadata">

**Author:** ![7773783](https://avatars.discourse-cdn.com/v4/letter/7/5f9b8f/32.png) [@7773783](https://forum.ionicframework.com/u/7773783)\
**Post date:** [July 6, 2017, 8:40am UTC](https://forum.ionicframework.com/t/ionic-serve-changes-my-colors/97019/5 "2017-07-06T08:40:49Z")

</div>

well…you are right. havn’t notices this small detail 🙂 sorry…

any idea why color changes?
