Automatic Dark Mode color scheme switching

This feature is so useful, thank you for including in core.

I’ve done up a gif to demonstrate it on Windows. Discourse switches instantly, faster than the OS itself :+1:

Additional details here on my instance if keen.

6 Likes

:clap: Now I can read twice as much. :laughing:

6 Likes

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.

6 Likes

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

5 Likes

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.

9 Likes

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

4 Likes

That’s great news! Thank you so much! You’re awesome!

2 Likes

this only seems to be working with logged-in users for me

logged out users should be defaulted on light mode when system is on light mode but instead are defaulted on dark mode and doesn’t switch to light mode when toggled on/off

1 Like