Skip to main content

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!

Screenshot of Sun Valley ttk theme

Installation PyPi downloads

The theme is easily installable as a Python package

pip install sv-ttk

Usage Documentation

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!

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

Uploaded Source

Built Distribution

sv_ttk-2.6.0-py3-none-any.whl (49.1 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