A gorgeous theme for Tkinter, based on Windows 11's UI
Project description
Sun Valley ttk theme
Make your Tkinter application look better than ever with just two lines of code!
Installation ![PyPi downloads](https://pypi-camo.freetls.fastly.net/d35eb104c9c011fd788faf859456a72b9620f4c7/68747470733a2f2f7374617469632e706570792e746563682f62616467652f73762d74746b)
The theme is easily installable as a Python package
pip install sv-ttk
Usage ![Documentation](https://pypi-camo.freetls.fastly.net/8afb288ae9945e4603ba85c68b383908d60f0e08/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d646f63756d656e746174696f6e2d253233633336386334)
Note:
The theme will only be applied to themable (
tkinter.ttk
) widgets, and not with the regular Tkinter widgets, they only benefit from the colorscheme.
For detailed documentation, visit the wiki page.
import tkinter
from tkinter import ttk
import sv_ttk
root = tkinter.Tk()
button = ttk.Button(root, text="Click me!")
button.pack()
# This is where the magic happens
sv_ttk.set_theme("dark")
root.mainloop()
Wanna see more?
Check out my other ttk themes!
- The Azure ttk theme
- The Forest ttk theme
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sv_ttk-2.6.0.tar.gz
(47.2 kB
view hashes)
Built Distribution
sv_ttk-2.6.0-py3-none-any.whl
(49.1 kB
view hashes)