• 追加された行はこの色です。
  • 削除された行はこの色です。
  • wxPython/Appearance へ行く。

- How to react to dark mode change?
--  https://discuss.wxpython.org/t/how-to-react-to-dark-mode-change/35905

 self.Bind(wx.EVT_SYS_COLOUR_CHANGED, self.OnColourChanged)
 
 def OnColourChanged(self, event):
     sys_appearance = wx.SystemSettings.GetAppearance()
     dark = sys_appearance.IsDark()
     print("dark = %s" % dark)