# 是否可以更改所有成员的深色模式偏好设置？

**URL:** <https://meta.discourse.org/t/is-it-possible-to-change-dark-mode-preference-for-all-members/286069>\
**Category:** Support\
**Tags:** dark-theme, sidebar-theme-toggle\
**Created:** [2023年十一月20日 12:11 UTC](https://meta.discourse.org/t/is-it-possible-to-change-dark-mode-preference-for-all-members/286069 "2023-11-20T12:11:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![haydenjames](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/haydenjames/32/255678_2.png) [@haydenjames](https://meta.discourse.org/u/haydenjames)\
**Post date:** [2023年十一月20日 12:11 UTC](https://meta.discourse.org/t/is-it-possible-to-change-dark-mode-preference-for-all-members/286069/1 "2023-11-20T12:11:30Z")

</div>

我通过添加此插件解决了此问题：

> **[GitHub - discourse/discourse-sidebar-theme-toggle](https://github.com/discourse/discourse-sidebar-theme-toggle)**
>
> Contribute to discourse/discourse-sidebar-theme-toggle development by creating an account on GitHub.

 ![image](https://global.discourse-cdn.com/meta/original/4X/b/4/1/b4196c7ea1bd89acc15c6cb0ea4c19ac7ca6d84b.png)

这是 [meta.discourse.org](http://meta.discourse.org) 上使用的插件吗？

---

<div class="post-metadata">

**Author:** ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)\
**Post date:** [2023年十一月25日 12:18 UTC](https://meta.discourse.org/t/is-it-possible-to-change-dark-mode-preference-for-all-members/286069/2 "2023-11-25T12:18:47Z")

</div>

我可以在元（meta）的侧边栏中看到主题切换器，所以可以假设答案是肯定的。

![image](https://global.discourse-cdn.com/meta/original/4X/5/d/1/5d1a83c63726dce9d62ee6dc4978c5ff20a8952d.png)

> [@Sidebar Theme Toggle](https://meta.discourse.org/t/sidebar-theme-toggle/242802):
>
> discourse2Summary Sidebar Theme Toggle adds a theme selector in the sidebar menu’s footer provided there is more than 1 user selectable theme. This selector works with both logged-on users and anonymous users. Be sure to add this to all your user-selectable themes for easy toggling.hammer_and_wrenchRepository Link [https://github.com/discourse/discourse-sidebar-theme-toggle](https://github.com/discourse/discourse-sidebar-theme-toggle)open_bookNew to Discourse Themes? [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) Install this them…

---

<div class="post-metadata">

**Author:** ![haydenjames](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/haydenjames/32/255678_2.png) [@haydenjames](https://meta.discourse.org/u/haydenjames)\
**Post date:** [2023年十一月25日 12:39 UTC](https://meta.discourse.org/t/is-it-possible-to-change-dark-mode-preference-for-all-members/286069/3 "2023-11-25T12:39:52Z")

</div>

是的，我已经编辑了帖子，为通过 Google 或论坛搜索找到此问题的人提供了解决方案。不过还是谢谢你。

编辑：  
我通过添加此插件解决了这个问题：[GitHub - discourse/discourse-sidebar-theme-toggle](https://github.com/discourse/discourse-sidebar-theme-toggle)

### [GitHub - discourse/discourse-sidebar-theme-toggle](https://github.com/discourse/discourse-sidebar-theme-toggle)

通过在 GitHub 上创建帐户，为 discourse/discourse-sidebar-theme-toggle 的开发做出贡献。

 ![image](https://global.discourse-cdn.com/meta/original/4X/b/4/1/b4196c7ea1bd89acc15c6cb0ea4c19ac7ca6d84b.png)

这是 [meta.discourse.org](http://meta.discourse.org/) 上使用的插件吗？

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [2023年十二月25日 12:40 UTC](https://meta.discourse.org/t/is-it-possible-to-change-dark-mode-preference-for-all-members/286069/4 "2023-12-25T12:40:25Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
