# 如果设计文件是一个主题还是多个主题，会有区别吗？

**URL:** https://meta.discourse.org/t/is-it-different-if-the-design-files-are-in-one-or-several-themes/64571
**Category:** Support
**Created:** [2017年六月15日 19:33 UTC](https://meta.discourse.org/t/is-it-different-if-the-design-files-are-in-one-or-several-themes/64571 "2017-06-15T19:33:49Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Pad\_Pors](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pad_pors/32/52016_2.png) [@Pad\_Pors](https://meta.discourse.org/u/Pad_Pors)
#### Post date: [2017年六月15日 19:33 UTC](https://meta.discourse.org/t/is-it-different-if-the-design-files-are-in-one-or-several-themes/64571/1 "2017-06-15T19:33:49Z")

</div>

perhaps a stupid simple question, which is not straightforward for me:

which one is better?

- adding the design of the site in **several theme sections in admin panel** and then add them to the default theme together.

- all the css & javascripts (for the design) & header/footer **in the same theme (perhaps a long code) in the admin panel**.

are they different? and do they affect the site function?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2017年六月16日 20:34 UTC](https://meta.discourse.org/t/is-it-different-if-the-design-files-are-in-one-or-several-themes/64571/2 "2017-06-16T20:34:23Z")

</div>

You split stuff up if:

- You want to make it easier for future editor to find the right component to edit. (one giant bundle makes stuff a bit harder to find)

- You want to reuse theme components between multiple top level themes (like dark and light using an analytics component or common footer or something)

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2024年六月8日 12:44 UTC](https://meta.discourse.org/t/is-it-different-if-the-design-files-are-in-one-or-several-themes/64571/3 "2024-06-08T12:44:33Z")

</div>

此主题已在 2549 天后自动关闭。不再允许回复。
