rdbende / Sun-Valley-ttk-theme

A gorgeous theme for Tkinter/ttk, based on the Sun Valley visual style ✨
https://pypi.org/project/sv-ttk
MIT License
1.87k stars 110 forks source link

Allow to set accent color #12

Open sumeshir26 opened 2 years ago

sumeshir26 commented 2 years ago

Hi, I would reallay like you added a feature where you could set the accent color of the theme.

rdbende commented 2 years ago

Me too.

vednig commented 2 years ago

Unzip the contents of light.zip into your my-themes\Sun-Valley\theme\

Open accent-color.py and edit values set_color - (to your color choice) and theme_path - (to path to your light directory) Then run python accent-color.py And lo, image

Ivoz commented 2 years ago

Unzip the contents of light.zip into your my-themes\Sun-Valley\theme\

Open accent-color.py and edit values set_color - (to your color choice) and theme_path - (to path to your light directory) Then run python accent-color.py And lo,

Maybe you could submit a pull request for your additional file?

vednig commented 2 years ago

Could do something like

exec python accent-color.py -c"#ColorCodeHere"

inside TCL file supplying whatever color is provided while calling set_theme

Valer100 commented 1 month ago

I've made a Python package that can do this for you. It works with the latest version of the theme. More details here: https://github.com/Valer100/Sun-Valley-Theme-Colorizer