# 如何在嵌入式Discourse中切换暗模式和亮白色模式

**URL:** https://meta.discourse.org/t/how-to-switch-between-dark-mode-and-bright-white-mode-in-embedded-discourse/249542
**Category:** Support
**Created:** [2022 年12 月 21 日 01:06 UTC](https://meta.discourse.org/t/how-to-switch-between-dark-mode-and-bright-white-mode-in-embedded-discourse/249542 "2022-12-21T01:06:22Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### 作者： ![satonotdead](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/satonotdead/32/447830_2.png) [@satonotdead](https://meta.discourse.org/u/satonotdead)
#### 发布日期： [2023 年2 月 3 日 18:54 UTC](https://meta.discourse.org/t/how-to-switch-between-dark-mode-and-bright-white-mode-in-embedded-discourse/249542/7 "2023-02-03T18:54:31Z")

</div>

有一个官方的方法，但仅适用于官方主题：[Styling of Embedded Discourse](https://meta.discourse.org/t/styling-of-embedded-discourse/31956)

这可能会有帮助：

> <https://github.com/discourse/discourse/blob/67e422c2d46d035a3ce96415b00aed295d837ee2/app/assets/stylesheets/embed.scss>

---

_[View the full topic](https://meta.discourse.org/t/how-to-switch-between-dark-mode-and-bright-white-mode-in-embedded-discourse/249542)._
