Feature request! Can we get a section header for this? Without already knowing what at theme is, it’s not immediately apparent to users what these links are for. Granted, it doesn’t take but a click to figure it out, they may not be willing to experiment first. The section should have a (potentially a setting, for those who don’t want a title for that section.) This would also be important for accessibility purposes since there’s no other indication to a screen reader that there’s something different from the category list above.
Tricky, nothing else in the hamburger has a title, I guess, maybe, if we can link it somewhere?
Well, the Categories section is labeled. If it needs to be linked to somewhere, it would likely be the preferences page? /my/preferences/account/interface?
Yeah I guess we could link it to the place where you set defaults (provided you are logged on)
Only bit of uneasiness I have here is that the hamburger is already huge and this is giving it more vertical height.
Yeah, that’s one reason I was thinking there might want to be a component setting for this. That way, for those who don’t want massive hugeness can turn it off if they like.
Sure I am totally open to make a theme setting here.
@Heather_Dudley The section header is now merged, please update the Hamburger Theme Selector component to get the new setting!

Thank you so much! It looks good, except for one small problem. On mine, it’s got a stray bullet just above it:

There are no other list items on the menu, so I’m not quite sure where it came from. Stray asterisk, perhaps?
Mousing over the text shows the correct link, but clicking it reloads the page as though you clicked one of the themes instead of taking you to preferences.
Yeah @martin is investigating this rogue bullet item and should have it sorted soon.
@Heather_Dudley sorry about that not sure where our stray bullet point friend wandered in from. I’ve now merged in a fix for this!
有意思,这现在似乎不起作用了。我不知道它与什么冲突。
虽然我认为这是一个非常重要且基础的组件,但我认为它应该直接集成到 Discourse 系统本身中。
抱歉在周末打扰大家,但有人知道如何重新排序各自的主题吗?它们目前是按字母顺序排列的,但我希望将我的浅色主题排在深色主题之前,因为它是默认主题。我尝试过这种方法,但据我所知,由于元素显示为“block”而非“flex”,该方法并不适用。还有其他可以在这种场景下重排 CSS 元素的方法吗?顺便说一句,这个组件非常棒。
我通常避免提出这类建议,但既然我们(至少不容易)无法再编辑主题组件,我想提交一个想法。
我觉得用 * 来表示当前选中的主题有点太简单了,我更喜欢用 ✔。

你觉得这个想法怎么样?
@b481:主题是按字母顺序排列的,最简单的解决方案就是重命名你的主题。例如,可以将深色主题命名为“夜间主题”。
附议。另外,是否可以将当前激活的主题加粗显示?
我知道,但如果可能的话,我更希望能直接反转顺序。这不算什么大问题,只是个小挑剔。
CSS 编码还不太确定,我还在学习中。
不过,你可以使用覆盖(override)通过 CSS 创建自己的主题组件。我认为这需要在使用 Display CSS 属性时加上 !important。
出于好奇,这个主题组件是否也能显示颜色调色板?或许可以添加一个设置来启用或禁用该功能?
自上周更新该主题组件以来,使用我 Discourse 实例的成员一直无法更改主题。所有用户都被切换到了默认主题(本例中为深色主题)。更改主题时,星号会移动到对应的备选主题,但主题本身并未发生变化。请问有什么建议可以解决此问题?
您是否也将 Discourse 更新到了最新版本?
是的,我先执行了 Discourse 更新,目前我们正处于 2.7.0.beta6 版本。

