@here Keep in mind that the #4 post is not up to date anymore.
I’m using now a complete new method for the Theme Switcher. It’s nicely put in the Discourse Header now ![]()
(hopefully it has no issues with other Discourse Header components)
@here Keep in mind that the #4 post is not up to date anymore.
I’m using now a complete new method for the Theme Switcher. It’s nicely put in the Discourse Header now ![]()
(hopefully it has no issues with other Discourse Header components)
Could you share that switch as a seperate theme component? I’m looking for this feature for months.
I added to our forum. Thank you so much 
There is something wrong in the header when you open the hamburger menu:
A part of the menu moves to the top right and partially covers the buttons on the header
However great rework!
Back from vacation. Sorry for the delay!
I fixed it now
(legacy from my own sub theme header component)
Thanks for the report!
感谢提供这个主题。我喜欢你在同一个样式表中同时包含深色和浅色颜色的设计,我还没见过其他主题这样做。
不过,目前有很多硬编码的颜色,我想知道你是否计划使用颜色变量和函数来使它们可自定义?
有些颜色在深色和浅色模式下并未变化,导致对比度较低,例如标签。如果我们能够覆盖 UI 中的所有颜色并使其可自定义,那将非常理想。
此外,如果某些用户选择不同的配色方案,调整不需要的颜色变化也会更加容易。
我正在 Alien Night 的一个分支版本上进行开发,已将所有的硬编码颜色替换为变量,以便更好地组织,并可能从 color_schemes 中派生。
如果你觉得这有帮助,我可以在此处发布颜色列表,或者在您的仓库中提交 issue 或 PR。
谢谢。
出于好奇,我看到一个很长的列表,其中许多项目的颜色通过 dark 类进行了更改。你是逐个找到需要更改颜色的元素,还是采用了其他策略?
感谢你的反馈——非常感激!
是的,目前这些参数是凭“眼力和感觉”硬编码的 ![]()
最近比较忙,暂时无法着手开发可自定义的设置。我希望你能提交一个 Pull Request,或者用你喜欢的任何方式将其集成进来,这样大家都能从中受益。
欢迎加入论坛,感谢您对 @AtakanYildirim1 的反馈。
不过我不太清楚您的具体需求是什么。是希望将答案放在单独的容器中吗?
啊,我明白了。您想要一种类似“Google Material Design”的方框风格。
我会尝试一下,完成后告诉您。目前正忙于圣诞相关的工作。
感谢您的建议!
哇,这个主题真不错!
如果您能这样做,我将不胜感激。允许此话题 @B-iggy
太棒了!!!非常喜欢这个
我该如何默认开启浅色模式 @B-iggy
我也正想问这个。
嗯,既然这个主题的目的是打造深色模式,我一开始并没考虑提供默认浅色模式的选项
不过,也许我可以为此添加一个主题设置,尽管这对我来说有点奇怪。