# Change theme after installing the app on the device

**URL:** <https://forum.ionicframework.com/t/change-theme-after-installing-the-app-on-the-device/49896>\
**Category:** ionic-v3\
**Created:** [April 20, 2016, 5:54pm UTC](https://forum.ionicframework.com/t/change-theme-after-installing-the-app-on-the-device/49896 "2016-04-20T17:54:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harryinandroid](https://avatars.discourse-cdn.com/v4/letter/h/71e660/32.png) [@Harryinandroid](https://forum.ionicframework.com/u/Harryinandroid)\
**Post date:** [April 20, 2016, 5:54pm UTC](https://forum.ionicframework.com/t/change-theme-after-installing-the-app-on-the-device/49896/1 "2016-04-20T17:54:20Z")

</div>

Hi all, is there a way we can change the theme at runtime so that I can change colors according to the theme selected. Please let me know if this is possible.

Thanks

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [April 20, 2016, 6:23pm UTC](https://forum.ionicframework.com/t/change-theme-after-installing-the-app-on-the-device/49896/2 "2016-04-20T18:23:04Z")

</div>

Hmm, 🤔 that is a great question.

To be honest, I don’t think so, since all the themes are generated by sass at build time.

---

<div class="post-metadata">

**Author:** ![Harryinandroid](https://avatars.discourse-cdn.com/v4/letter/h/71e660/32.png) [@Harryinandroid](https://forum.ionicframework.com/u/Harryinandroid)\
**Post date:** [April 20, 2016, 6:37pm UTC](https://forum.ionicframework.com/t/change-theme-after-installing-the-app-on-the-device/49896/3 "2016-04-20T18:37:37Z")

</div>

Hmm, hope we get this in future 🙂

---

<div class="post-metadata">

**Author:** ![xiejiabao](https://avatars.discourse-cdn.com/v4/letter/x/ea5d25/32.png) [@xiejiabao](https://forum.ionicframework.com/u/xiejiabao)\
**Post date:** [March 22, 2017, 5:55am UTC](https://forum.ionicframework.com/t/change-theme-after-installing-the-app-on-the-device/49896/4 "2017-03-22T05:55:33Z")

</div>

How about this? Is it possible to apply in changing default theme and dark theme?

[dynamic change theme in runtime](https://webcake.co/theming-an-ionic-2-application/)

I believe it will very encourage the user who use ionic to change different themes in app.

> [@Ability to switch themes programatically in ionic2](https://forum.ionicframework.com/t/ability-to-switch-themes-programatically-in-ionic2/60657):
>
> As per the link [here](https://github.com/driftyco/ionic/tree/master/src/themes) we can use dark theme in ionic2 by importing the specific scss file . As far as I understand, this can only be done at build time. It would be nice to have an ability to switch themes programmatically . Is that possible now ?

> [@Toggle between dark theme and default them](https://forum.ionicframework.com/t/toggle-between-dark-theme-and-default-them/73277):
>
> Ionic 2 has the option to use a dark theme. However, it is not clear to me that there is a way to switch/toggle between the dark theme and the default theme as the app is running. One could I suppose attempt to set a class on the body tag, dynamically change the class, and have a bunch of css overrides. But that seems like fighting against the framework rather than working with it. Is this the only option?

> [@Can I change ios/android theme dynamically?](https://forum.ionicframework.com/t/can-i-change-ios-android-theme-dynamically/46238):
>
> Let say I have an iphone, the app will start with the ios theme by default. If I want to switch to the “md” theme, what would be the function to do it, if any? I did not find anything on “Config” Thanks

> [@What's the current state of the dark theme in Ionic 2?](https://forum.ionicframework.com/t/whats-the-current-state-of-the-dark-theme-in-ionic-2/50613/4):
>
> What if we want to allow a user to toggle between the dark and standard themes while running the app? Is resorting to custom css overrides the only way?
