Windows200000/TwitchDropsMiner-updated

Better Looking Dark mode

Opened this issue · 1 comments

This looks more like Windows 11
image
image

This looks more like Windows 98
image
image

I think you get the idea

@Czekoloczek Well, feel free to give it a crack. You can define another style in this function:

def set_theme(root, manager, name):
style = ttk.Style(root)
if not hasattr(set_theme, "default_style"):
set_theme.default_style = style.theme_use() # "Themes" is more fitting for the recolour and "Style" for the button style.

If you find something, feel free to just add another elif and I will change the checkbox in settings to be a drop-down.

Keep in mind, that not all Tkinter themes are cross-platform. This list has a quick overview for that.

The default theme Tkinter uses on Windows, the one in your first picture, is called "vista". This theme is Windows-exclusive, as it isn't entirely defined in Tkinter, but rather uses some universal elements built into windows, such as the buttons, which as a consequence, cannot be recolored.