# 我能否使用我创建的主题而不允许他人使用？

**URL:** <https://meta.discourse.org/t/can-i-use-a-theme-i-created-without-allowing-it-to-be-used-by-others/176459>\
**Category:** Support\
**Created:** [2021年一月18日 15:48 UTC](https://meta.discourse.org/t/can-i-use-a-theme-i-created-without-allowing-it-to-be-used-by-others/176459 "2021-01-18T15:48:23Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)\
**Post date:** [2021年一月19日 20:14 UTC](https://meta.discourse.org/t/can-i-use-a-theme-i-created-without-allowing-it-to-be-used-by-others/176459/6 "2021-01-19T20:14:47Z")

</div>

> [@TheTechRobo](#):
>
> a) 我的主题中不使用任何 CSS，仅使用配色方案。

您可以使用 CSS 覆盖配色方案（详情参见：[https://meta.discourse.org/t/updating-themes-and-plugins-to-support-automatic-dark-mode/161595）。否则，您需要构建一个自定义插件，以便为管理员设置不同的主题，因为](https://meta.discourse.org/t/updating-themes-and-plugins-to-support-automatic-dark-mode/161595%EF%BC%89%E3%80%82%E5%90%A6%E5%88%99%EF%BC%8C%E6%82%A8%E9%9C%80%E8%A6%81%E6%9E%84%E5%BB%BA%E4%B8%80%E4%B8%AA%E8%87%AA%E5%AE%9A%E4%B9%89%E6%8F%92%E4%BB%B6%EF%BC%8C%E4%BB%A5%E4%BE%BF%E4%B8%BA%E7%AE%A1%E7%90%86%E5%91%98%E8%AE%BE%E7%BD%AE%E4%B8%8D%E5%90%8C%E7%9A%84%E4%B8%BB%E9%A2%98%EF%BC%8C%E5%9B%A0%E4%B8%BA) Discourse 本身尚无此功能。

> [@TheTechRobo](#):
>
> b) 这仍然需要将主题列为可用。

建议的做法是将管理员 CSS 放在您的默认主题中；除非有人深入查看您的 CSS 代码，否则只有您能看到并使用它。

另一种完全可行的方案是使用浏览器插件（如 [Stylish](https://chrome.google.com/webstore/detail/stylish-custom-themes-for/fjnbnpbmkenffdnngjfgmeleoegfcffe?hl=en)）在本地设置自定义 CSS。

---

_[View the full topic](https://meta.discourse.org/t/can-i-use-a-theme-i-created-without-allowing-it-to-be-used-by-others/176459)._
