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
content::RenderFrameHost* current_rfh,
    content::RenderFrameHost* speculative_rfh,
    content::BrowserContext* browser_context,
    const GURL& url,
    bool has_response_started) const {
  if (url.SchemeIs(url::kJavaScriptScheme))
    
    return false;
  content::SiteInstance* current_instance = current_rfh->GetSiteInstance();
  content::SiteInstance* speculative_instance =
      speculative_rfh ? speculative_rfh->GetSiteInstance() : nullptr;
  int process_id = current_instance->GetProcess()->GetID();
  if (NavigationWasRedirectedCrossSite(browser_context, current_instance,
                                       speculative_instance, url,
                                       has_response_started)) {
    
    
    return false;
  } else if (IsRendererSandboxed(process_id)) {
    
    
    return false;
  } else if (!RendererUsesNativeWindowOpen(process_id)) {
    
    
    return true;
  } else {