There are currently two callsites for this function, and both set this flag in the same way. So just set it in the function so callers don't have to care about it.
ColorScheme.dark_scheme is a boolean, True if the user set the appeareance to Dark in the general settings.