Skip to main content

A gorgeous theme for Tkinter, based on Windows 11's UI

Project description

Cover image

Installation image

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 png images, so the window can be quite laggy when resizing, especially on Windows.

What's next?

Check out my other ttk themes!

Project details


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.5.2.tar.gz (23.5 kB view hashes)

Uploaded Source

Built Distribution

sv_ttk-2.5.2-py3-none-any.whl (25.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page