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.4.tar.gz (47.4 kB view details)

Uploaded Source

Built Distribution

sv_ttk-2.5.4-py3-none-any.whl (49.2 kB view details)

Uploaded Python 3

File details

Details for the file sv_ttk-2.5.4.tar.gz.

File metadata

  • Download URL: sv_ttk-2.5.4.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

Hashes for sv_ttk-2.5.4.tar.gz
Algorithm Hash digest
SHA256 8d764d78f84383bb6fa37e5e1dbb282dd295ccbf68ab35280b3398014eb882cf
MD5 f4132bfff73d9bdc82dc53af6bbf9153
BLAKE2b-256 16af9766948e653f58a0e0ec019d9cce3545fb1238f4fe449493172d37c5c1cf

See more details on using hashes here.

File details

Details for the file sv_ttk-2.5.4-py3-none-any.whl.

File metadata

  • Download URL: sv_ttk-2.5.4-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

Hashes for sv_ttk-2.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2ddf5b26a7a2a5d730e4efe5b81a9925748a0dcd3b1725c8d457950aedf885ea
MD5 e7588d42a9783b5b0d9414bf3da08857
BLAKE2b-256 d75a0a3dbbdb3eabb9bf8ff3b3750038fccf6ba201fb329dca97533c539cc04d

See more details on using hashes here.

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