The title of this pull request changed from “FEATURE: Add support for auto dark mode styling” to "FEATURE: automatic dark mode
I am going to trust the search/replace process here because there are 142 files changed and that’s impossible to do by eye. It does look very clean and elegant though!
When pulling this locally I see
ActionController::RoutingError (No route matches [GET] "/stylesheets/color_definitions_my%20dark&20scheme_7f691385c8d34e95bd5c737d05672f71da4fcdfb.css")
Possibly because my color scheme name has a space in it?
Yes, because of the space. I’ll fix.
With a new site I’m getting
Couldn't find Theme with 'id'=-1
Theme.find(SiteSetting.default_theme_id).color_scheme || ColorScheme.base
Thanks @nlalonde, should be fixed in FIX: Load base color scheme when default theme is not set · discourse/discourse@266c0c5 · GitHub.