# 为什么汉堡菜单变得这么黑？！

**URL:** <https://meta.discourse.org/t/why-the-hamburger-menu-became-so-blackish/153455>\
**Category:** UX\
**Created:** [2020年六月1日 11:11 UTC](https://meta.discourse.org/t/why-the-hamburger-menu-became-so-blackish/153455 "2020-06-01T11:11:39Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://meta.discourse.org/u/EricGT)\
**Post date:** [2020年六月1日 15:18 UTC](https://meta.discourse.org/t/why-the-hamburger-menu-became-so-blackish/153455/6 "2020-06-01T15:18:01Z")

</div>

希望我之前的帖子没有冒犯到任何人，我绝无此意。

> [@j.jaffeux](#):
>
> 这是因为该组件硬编码了一些本不应硬编码的值，而应依赖我们现有的各种颜色变量，如 $primary、$secondary 等。

感谢您指出 $primary、$secondary 这些变量。作为一名程序员，我理解其重要性，但作为一个尚未创建过主题的人，我还不了解具体细节，不过我会牢记这一点。

我昨天在我们的 [站点](https://swi-prolog.discourse.group/t/new-theme-selector-let-me-know-if-it-is-causing-problems/2445) 上安装了 [discourse-theme-switcher](https://github.com/B-iggy/discourse-theme-switcher)。虽然我和一些用户都喜欢它，但我还不确定是否应该继续保留它，目前正在收集相关信息，以决定是否卸载它并尝试 [Hamburger Theme Selector](https://meta.discourse.org/t/hamburger-theme-selector/61210)。您的帖子为我提供了一个非常有价值的参考。谢谢！😀

---

_[View the full topic](https://meta.discourse.org/t/why-the-hamburger-menu-became-so-blackish/153455)._
