# 如何即时切换主题？

**URL:** <https://meta.discourse.org/t/how-to-change-theme-on-the-fly/108342>\
**Category:** Development\
**Created:** [2019 年2 月 4 日 20:51 UTC](https://meta.discourse.org/t/how-to-change-theme-on-the-fly/108342 "2019-02-04T20:51:57Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

作者： ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
发布日期： [2019 年2 月 4 日 22:43 UTC](https://meta.discourse.org/t/how-to-change-theme-on-the-fly/108342/2 "2019-02-04T22:43:41Z")

</div>

I went for a full refresh cause themes can ship JavaScript, the text size solution and theme solution work on that specific page cause next navigation will trigger a full refresh.

Technically I guess we could add a theme setting on hamburger theme selector to update on-the-fly and trigger a full refresh on next navigation. Since we are exercising our theme system at the moment I think adding a setting like this makes sense. @david can you add it?

---

_[View the full topic](https://meta.discourse.org/t/how-to-change-theme-on-the-fly/108342)._
