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

bandoti/Sun-Valley-ttk-theme

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Tcl 87.9%
  • Python 8.9%
  • JavaScript 3.2%