Change how colors are defined and used
This commit is contained in:
10
gui/utils/dark.py
Normal file
10
gui/utils/dark.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import wx
|
||||
|
||||
|
||||
def isDark():
|
||||
try:
|
||||
return wx.SystemSettings.GetAppearance().IsDark()
|
||||
except (KeyboardInterrupt, SystemExit):
|
||||
raise
|
||||
except:
|
||||
return False
|
||||
Reference in New Issue
Block a user