TKinterModernThemes icon indicating copy to clipboard operation
TKinterModernThemes copied to clipboard

Suggestion: More customisability

Open GloriousGlider8 opened this issue 1 year ago • 2 comments

Instead of being limited to 3 themes (or 6 for light & dark), a function could instead offer more customisability.

The function would work like this: TKMT.GenerateTheme(name, mode, foreground, background, accent) name: the name of the theme mode: light or dark (this affects other things such as the text color) foreground: foreground color (button background e.t.c, can be RGB, HEX whichever is easier to implement) background: background color (window background, can be RGB, HEX whichever is easier to implement) accent: accent color (selected checkbox color e.t.c, can be RGB, HEX whichever is easier to implement)

This would then generate a folder in the script's directory where there would be the tcl and resources files. This would be a great idea and would allow more color themes!

GloriousGlider8 avatar Jun 09 '24 17:06 GloriousGlider8

The themes in TKMT were created by https://github.com/rdbende and have many .png files that make up the elements. I don't current have a way to generate these automatically - but if that code were to be written I would be happy to add it.

RobertJN64 avatar Jun 09 '24 21:06 RobertJN64

I will try to make some code to do that and, if you want, submit a PR to add the code.

GloriousGlider8 avatar Jun 10 '24 15:06 GloriousGlider8