# 选择正确的浅色/深色图标作为 favicon

**URL:** <https://meta.discourse.org/t/choose-the-correct-light-dark-icons-as-the-favicon/310463>\
**Category:** Support\
**Created:** [2024年六月4日 04:21 UTC](https://meta.discourse.org/t/choose-the-correct-light-dark-icons-as-the-favicon/310463 "2024-06-04T04:21:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xuhdev](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xuhdev/32/382503_2.png) [@xuhdev](https://meta.discourse.org/u/xuhdev)\
**Post date:** [2024年六月4日 04:21 UTC](https://meta.discourse.org/t/choose-the-correct-light-dark-icons-as-the-favicon/310463/1 "2024-06-04T04:21:57Z")

</div>

在设置中，我们可以为浅色和深色主题选择不同的图标——这很棒！

但是，我发现网站图标（favicon）总是跟随论坛的主题，而不是浏览器。浏览器完全有可能使用深色主题（深色标签页），但用户选择了浅色主题。在这种情况下，深色主题的徽标仍应作为网站图标使用。

您怎么看？

一个真实的例子是 [github.com](http://github.com)。我发现他们的网站图标总是跟随浏览器主题，而他们页面上的图标则跟随网站主题。
