/ttk-Surface-Blue

a ttk theme made with inspiration from Azure ttk theme

Primary LanguageTclMIT LicenseMIT

Surface Blue, a theme for ttk

image

How to use it?

Python - tkinter:

# Import the tcl file
root.tk.call('source', 'Surface-blue.tcl')

# Set the theme with the theme_use method
ttk.Style().theme_use('surface-blue')

Tcl/tk:

# Import the tcl file
source "Surface-blue.tcl"

# Set theme using the theme use method
ttk::style theme use surface-blue

EXTRA ELEMENT:

  • Switch:
switch = ttk.Checkbutton(root, text='Switch', style='Switch', variable=var)

image: image



Credits:

  • me (for the whole theme)
  • rdbende (for the Azure-ttk-Theme on which this is theme is based on.)
  • Microsoft (for Windows and Metro UI.)
  • Advanced Installer (for the idea which made me make this theme.)