Safari Technology Preview now supports dark mode via `@media (prefers-color-scheme: dark)` in CSS media queries. 

Same should be supported in Electron apps to enable automatic light/dark mode switching.

shell/browser/atom_browser_client.cc
base::CommandLine* command_line,
    int process_id) {
  
  {
    base::FilePath child_path;
#if defined(OS_MACOSX)
    int flags = content::ChildProcessHost::CHILD_NORMAL;
    if (base::EndsWith(command_line->GetProgram().value(),
                       content::kMacHelperSuffix_renderer,
                       base::CompareCase::SENSITIVE)) {
      flags = content::ChildProcessHost::CHILD_RENDERER;
    }
    child_path = content::ChildProcessHost::GetChildPath(flags);
#else
    base::PathService::Get(content::CHILD_PROCESS_EXE, &child_path);
#endif
    base::ThreadRestrictions::ScopedAllowIO allow_io;
    CHECK(base::MakeAbsoluteFilePath(command_line->GetProgram()) == child_path);
  }
  std::string process_type =
      command_line->GetSwitchValueASCII(::switches::kProcessType);
  if (process_type != ::switches::kRendererProcess)
    return;
  
  static const char* const kCommonSwitchNames[] = {
      switches::kStandardSchemes,     switches::kEnableSandbox,
      switches::kSecureSchemes,       switches::kBypassCSPSchemes,