Installation
The theme is easily installable as a Python package
pip install sv-ttk
Usage
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
png
images, so the window can be quite laggy when resizing, especially on Windows.
What's next?
Check out my other ttk themes!