Skip to content

A gorgeous theme for Tkinter/ttk, based on the Sun Valley visual style ✨

License

Notifications You must be signed in to change notification settings

littlewhitecloud/Sun-Valley-ttk-theme

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

A gorgeous theme for Tkinter/ttk, based on the Sun Valley visual style ✨

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Tcl 87.8%
  • Python 9.0%
  • JavaScript 3.2%