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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sv_ttk-2.4.4.tar.gz
Algorithm Hash digest
SHA256 a5f88a86dc10a7d4b63afa66ccfb04317986a029617773c75d3fd816760239b5
MD5 d4cd02820790647abbef933cd913f71a
BLAKE2b-256 eda2da976a521b3c722bc8975e15d95499a7fec4c3286f9c7bc0e8cdfc5b33dc

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for sv_ttk-2.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b0183b2567e4d52c40cf093e26c515e0c971f160b538e076507b268eecb65bdb
MD5 48ff8fc25723b096a156f5b36a39d93f
BLAKE2b-256 1d4b340415360fc9d59df5e8e66a96b44b6189ae9cc4860687c144dcea40eee9

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