Skip to content

Commit

Permalink
Force light rack colors on windows regardless of OS theme
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkFenX committed Feb 20, 2024
1 parent cc14640 commit bb53e75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gui/utils/dark.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@


def isDark():
if 'wxMSW' in wx.PlatformInfo:
return False
try:
return wx.SystemSettings.GetAppearance().IsDark()
except (KeyboardInterrupt, SystemExit):
Expand Down

0 comments on commit bb53e75

Please sign in to comment.