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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: sv_ttk-2.5.2.tar.gz
  • Upload date:
  • Size: 23.5 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.2.tar.gz
Algorithm Hash digest
SHA256 8d5756ba53238016c83cce3b915f7a6a394b63ca39aca228122ddb4a24928d6e
MD5 be083e0480edb528fe6f58dc917b6d4b
BLAKE2b-256 7710c48e98bb963d3e3727bb5705e1f322fb5ff0283ceae59ff2b2b470ac45e1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sv_ttk-2.5.2-py3-none-any.whl
  • Upload date:
  • Size: 25.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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dfef240947d4d6445d0ca1f02836c34373698aea96182f91ec3210e80b193c90
MD5 db4fc01452174383fa823779b96107cb
BLAKE2b-256 56269c1e02dc57da5a5ce1f041245133c06fc75f90b61ba750a2d32f76cd5f4d

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