自动深色模式配色方案切换

Please set this default to on. There is no user that wants to use dark mode and find a light theme when opening discourse website. There really is no point in having this default off.

8 个赞

Yes @pmusaraj is there anything preventing this from working by default in a new Discourse install?

6 个赞

Yes, we can enable this by default for new installs. The default sketch logo we ship looks great on dark mode as it is. The main issue IMO is that we need to allow admins to manage their dark mode color scheme (or disable it) in the wizard. I believe we need to make some changes to this screen:

I can start working on this in the current release cycle.

12 个赞

This is now in core as of last week (pull request), new Discourse installations will have dark mode enabled by default.

9 个赞

您好,感谢为最新的 discourse 安装添加了出色的自动暗黑模式……向维护者致敬 :clap:t2:……

但是,我注意到在运行最新 iOS 15(我的 iPhone 12)的 Safari 移动浏览器中,刘海区域仍然是浅色/白色……(在 meta.discourse.org 上,选定的暗黑主题也覆盖了刘海,但我怀疑这与自动暗黑模式的实现方式不同,对吗?)

好消息是,它在 iOS 15 上的 Chrome 移动浏览器中完全有效……

Safari - 刘海区域仍然是浅色示例,位于 try.discourse.org

Chrome - 刘海区域是暗色的 :white_check_mark:

Safari - 在 meta.discourse.org 上选择“暗黑”模式时,刘海区域是暗色的:

抄送 @pmusaraj

谢谢!

5 个赞

2 篇帖子已拆分为新主题:是否有 CSS 方法可以在黑暗模式下修改特定项目?

10 个帖子已拆分为新主题:自动暗模式仅更改调色板,不更改主题

帖子已拆分为新主题:自动暗模式仅在基于 Chromium 的浏览器上运行