It would be great to add macOS support to the [`systemPreferences.getColor` method](https://github.com/electron/electron/blob/master/docs/api/system-preferences.md#systempreferencesgetcolorcolor-windows) to allow electron apps to fetch the [system colors](https://developer.apple.com/design/human-interface-guidelines/macos/visual-design/color#system-colors) and [dynamic system colors](https://developer.apple.com/design/human-interface-guidelines/macos/visual-design/color#dynamic-system-colors). This would be a pretty big deal for apps that are trying to fit in with the OS, especially since the colors change depending on several factors and Apple strongly discourages hardcoding them:

>**Don't hard code system color values in your app.** The color values provided below are intended for reference during your app design process. The actual color values will fluctuate from release to release, based on a variety of environmental variables. Always use the API to apply system colors.

>**Don't try to replicate dynamic system colors.** Dynamic system colors—some of which may be patterns—fluctuate from release to release, based on a variety of environmental variables. Instead of trying to create custom colors that match the dynamic system colors, use the dynamic system colors.

I am very unfamiliar with how most of this stuff works, but based on the docs I linked it seems like this could be a relatively simple interface to NSColor...?
atom/browser/api/atom_api_system_preferences.h
const std::string& type);
  void RegisterDefaults(mate::Arguments* args);
  void SetUserDefault(const std::string& name,
                      const std::string& type,
                      mate::Arguments* args);
  void RemoveUserDefault(const std::string& name);
  bool IsSwipeTrackingFromScrollEventsEnabled();
  bool IsTrustedAccessibilityClient(bool prompt);
  
  
  std::string GetMediaAccessStatus(const std::string& media_type,
                                   mate::Arguments* args);
  v8::Local<v8::Promise> AskForMediaAccess(v8::Isolate* isolate,
                                           const std::string& media_type);
  
  
  v8::Local<v8::Value> GetEffectiveAppearance(v8::Isolate* isolate);
  v8::Local<v8::Value> GetAppLevelAppearance(v8::Isolate* isolate);
  void SetAppLevelAppearance(mate::Arguments* args);
#endif
  bool IsDarkMode();
  bool IsInvertedColorScheme();
  bool IsHighContrastColorScheme();
 protected:
  explicit SystemPreferences(v8::Isolate* isolate);
  ~SystemPreferences() override;
#if defined(OS_MACOSX)
  int DoSubscribeNotification(const std::string& name,
                              const NotificationCallback& callback,
                              NotificationCenterKind kind);