Skip to content

Commit

Permalink
unified theme across win, linux, and mac
Browse files Browse the repository at this point in the history
  • Loading branch information
Iris-TheRainbow committed May 7, 2024
1 parent 4a39141 commit 041e264
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions REVHubInterface/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1421,13 +1421,12 @@ def initwindow():

xroot = tk.Tk()
# Try to load nicer-looking interface on Linux if possible. On Windows/macOS, the default Tk themes look reasonably-native.
if platform.system() != "Darwin" and platform.system() != "Windows":
try:
import sv_ttk
print('Loaded Tk theme: Sun Valley')
sv_ttk.set_theme("dark")
except:
pass
try:
import sv_ttk
print('Loaded Tk theme: Sun Valley')
sv_ttk.set_theme("dark")
except:
pass

xroot.title('REV Hub Interface - Community Edition - v1.3.1')
try:
Expand Down

0 comments on commit 041e264

Please sign in to comment.