Force light rack colors on windows regardless of OS theme

This commit is contained in:
DarkPhoenix
2024-02-21 03:04:36 +06:00
parent cc146401b6
commit bb53e75bfe

View File

@@ -2,6 +2,8 @@ import wx
def isDark():
if 'wxMSW' in wx.PlatformInfo:
return False
try:
return wx.SystemSettings.GetAppearance().IsDark()
except (KeyboardInterrupt, SystemExit):