A gorgeous theme for Tkinter, based on Windows 11's UI
Project description
Installation 
The theme is easily installable as a Python package
pip install sv-ttk
Usage
❕Note:
The theme will only work with themable (tkinter.ttk) widgets, and not with plain Tkinter widgets, these will only get the colorscheme.
Please don't open issues about the theme not working with plain Tkinter widgets.
For detailed documentation, see 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()
Known bugs and limitations
- Tkinter (Tk) isn't really good at displaying
pngimages, so the window can be quite laggy when resizing, especially on Windows.
What's next?
Check out my other ttk themes!
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sv_ttk-2.5.3.tar.gz.
File metadata
- Download URL: sv_ttk-2.5.3.tar.gz
- Upload date:
- Size: 47.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9b9a5d14f4cbdd4e0bda2e1a84445b0aa852b99f74aafce9386459e385717b3
|
|
| MD5 |
7cc7e8838693daeb302e32839472ee59
|
|
| BLAKE2b-256 |
fd3c2fa5cdb132973660eb43482b7f381b2562fdf773250f32563cc7e725a7f8
|
File details
Details for the file sv_ttk-2.5.3-py3-none-any.whl.
File metadata
- Download URL: sv_ttk-2.5.3-py3-none-any.whl
- Upload date:
- Size: 49.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d13bf6a7b49316431eefcf83f30d0daf312c00553c4e0b6f91acffd7b2aaa1d3
|
|
| MD5 |
cb8a1a9d08aaf8e65b1ca78c35ee61dc
|
|
| BLAKE2b-256 |
eb122d3edf601342e6a1168eea5d650924f44b8c8f62c030b86131ba4ce885fc
|