# Discourse 徽标在深色主题上很难看到

**URL:** <https://meta.discourse.org/t/discourse-logo-is-very-hard-to-see-on-dark-themes/199496>\
**Category:** UX\
**Created:** [2021年八月6日 22:15 UTC](https://meta.discourse.org/t/discourse-logo-is-very-hard-to-see-on-dark-themes/199496 "2021-08-06T22:15:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vampire](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vampire/32/230121_2.png) [@Vampire](https://meta.discourse.org/u/Vampire)\
**Post date:** [2021年八月6日 22:15 UTC](https://meta.discourse.org/t/discourse-logo-is-very-hard-to-see-on-dark-themes/199496/1 "2021-08-06T22:15:19Z")

</div>

如果使用深色主题查看 Discourse 标志，它几乎难以辨认。  
例如，如果您在深色主题下使用 GitHub，效果如下：

 ![grafik](https://global.discourse-cdn.com/meta/original/3X/1/0/10a8a2820ea8a324c7b19cbdec993fc13ef06df9.png)

---

<div class="post-metadata">

**Author:** ![jesus2099](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jesus2099/32/119720_2.png) [@jesus2099](https://meta.discourse.org/u/jesus2099)\
**Post date:** [2021年八月7日 15:08 UTC](https://meta.discourse.org/t/discourse-logo-is-very-hard-to-see-on-dark-themes/199496/2 "2021-08-07T15:08:17Z")

</div>

我在 Meta 上使用深色主题，看起来不错：

 ![Screenshot_2021-08-07-17-06-32-523_org.mozilla.firefox](https://global.discourse-cdn.com/meta/original/3X/8/0/8007d23a8e4a7a46734fd956300c7ed429bdfb0d.jpeg)

但我不认为你可以在 GitHub 上为日间/夜间模式分别设置不同的图片。

你考虑的是哪种修复方案？

---

<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年八月7日 15:19 UTC](https://meta.discourse.org/t/discourse-logo-is-very-hard-to-see-on-dark-themes/199496/3 "2021-08-07T15:19:19Z")

</div>

这是 GitHub 上的一个已知问题，希望他们很快能提供解决方案。

> **[Build software better, together](https://github.com/orgs/community/discussions/)**
>
> GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.

---

<div class="post-metadata">

**Author:** ![Vampire](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vampire/32/230121_2.png) [@Vampire](https://meta.discourse.org/u/Vampire)\
**Post date:** [2021年八月7日 18:40 UTC](https://meta.discourse.org/t/discourse-logo-is-very-hard-to-see-on-dark-themes/199496/4 "2021-08-07T18:40:27Z")

</div>

> [@jesus2099](#):
>
> 你指的是哪个修复？

是我吗？  
我并没有在想什么，只是在这里告知团队，以防他们还不知道，因为我没有找到相关的话题。

但一个解决方案是在徽标周围添加一个粗白边框，这样它在浅色主题下看起来和现在一样，同时在深色主题下也能正常显示，只要 GitHub 还不支持两种徽标版本。

---

<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年八月13日 18:25 UTC](https://meta.discourse.org/t/discourse-logo-is-very-hard-to-see-on-dark-themes/199496/9 "2021-08-13T18:25:38Z")

</div>

我进行了一次更新，添加了白色背景，这样至少标志在深色模式下也能显示。

我尝试过使用 SVG，因为它支持 color-scheme 媒体查询，但 GitHub 会移除内联 SVG（可能是出于安全考虑），而且其 CDN 也阻止了外部链接的 SVG 中的 CSS 生效。

 ![Screen Shot 2021-08-13 at 2.23.58 PM](https://global.discourse-cdn.com/meta/original/3X/1/6/16c43a247f92873b0510a5aaf863ade4c965a38b.png)
