diff --git a/Azure_Theme_LICENSE b/Azure_Theme_LICENSE deleted file mode 100644 index 0212030..0000000 --- a/Azure_Theme_LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2021 rdbende - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/OutGaugeInterpreter.py b/OutGaugeInterpreter.py index 87698c7..f2bc6ac 100644 --- a/OutGaugeInterpreter.py +++ b/OutGaugeInterpreter.py @@ -68,9 +68,6 @@ rootFrameGui= tkinter.Tk() rootFrameGui.title("Car speed to arduino") rootFrameGui.geometry("400x200") -# theme: https://github.com/rdbende/Azure-ttk-theme -rootFrameGui.tk.call("source","azure.tcl") ##import theme -rootFrameGui.tk.call("set_theme","dark") ##set theme to dark firstFrameGui=tkinter.ttk.Frame(rootFrameGui,padding=10) firstFrameGui.pack() @@ -83,17 +80,22 @@ serialLable.pack(side="top") serialEntry=tkinter.Entry(serialFrameGui) serialEntry.insert(0,SERIAL_PORT) serialEntry.pack(side="left") +tkGametype = tkinter.StringVar() +tkGametype.set(GameType.BEAMNG.value) gameSelectFrame= tkinter.ttk.Frame(firstFrameGui,padding=10) gameSelectFrame.pack(side="right") gameSelectText= tkinter.StringVar() gameSelectText.set("Select Game:") -tkinter.Label(gameSelectFrame,gameSelectText) +gameSelectLable = tkinter.Label(gameSelectFrame,textvariable=gameSelectText) +gameSelectLable.pack(side="top") +tkinter.Label(gameSelectFrame,textvariable=gameSelectText) gameSelectLOptions= [GameType.BEAMNG,GameType.FORZA] ##gameSelectRadioButtons -tkinter.Radiobutton(gameSelectFrame,text="BeamNG",variable=gameType,value=GameType.BEAMNG).pack() -tkinter.Radiobutton(gameSelectFrame,text="Forza",variable=gameType,value=GameType.FORZA).pack() +tkinter.Radiobutton(gameSelectFrame,text="BeamNG",variable=tkGametype,value=GameType.BEAMNG.value,command=None).pack() +tkinter.Radiobutton(gameSelectFrame,text="Forza",variable=tkGametype,value=GameType.FORZA.value,command=None).pack() rootFrameGui.mainloop() +exit() #### exit for testing #select game while gameSelected == False: gameNo = input("1:BEAMNG\n2:FORZA\n\n7:Toggle CSV out ("+str(csvOut)+")\n9:SET SERIAL PORT ("+SERIAL_PORT+")\n") diff --git a/azure.tcl b/azure.tcl deleted file mode 100755 index 3e75502..0000000 --- a/azure.tcl +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright © 2021 rdbende - -source [file join [file dirname [info script]] theme light.tcl] -source [file join [file dirname [info script]] theme dark.tcl] - -option add *tearOff 0 - -proc set_theme {mode} { - if {$mode == "dark"} { - ttk::style theme use "azure-dark" - - array set colors { - -fg "#ffffff" - -bg "#333333" - -disabledfg "#ffffff" - -disabledbg "#737373" - -selectfg "#ffffff" - -selectbg "#007fff" - } - - ttk::style configure . \ - -background $colors(-bg) \ - -foreground $colors(-fg) \ - -troughcolor $colors(-bg) \ - -focuscolor $colors(-selectbg) \ - -selectbackground $colors(-selectbg) \ - -selectforeground $colors(-selectfg) \ - -insertcolor $colors(-fg) \ - -insertwidth 1 \ - -fieldbackground $colors(-selectbg) \ - -font {"Segoe Ui" 10} \ - -borderwidth 1 \ - -relief flat - - tk_setPalette background [ttk::style lookup . -background] \ - foreground [ttk::style lookup . -foreground] \ - highlightColor [ttk::style lookup . -focuscolor] \ - selectBackground [ttk::style lookup . -selectbackground] \ - selectForeground [ttk::style lookup . -selectforeground] \ - activeBackground [ttk::style lookup . -selectbackground] \ - activeForeground [ttk::style lookup . -selectforeground] - - ttk::style map . -foreground [list disabled $colors(-disabledfg)] - - option add *font [ttk::style lookup . -font] - option add *Menu.selectcolor $colors(-fg) - - } elseif {$mode == "light"} { - ttk::style theme use "azure-light" - - array set colors { - -fg "#000000" - -bg "#ffffff" - -disabledfg "#737373" - -disabledbg "#ffffff" - -selectfg "#ffffff" - -selectbg "#007fff" - } - - ttk::style configure . \ - -background $colors(-bg) \ - -foreground $colors(-fg) \ - -troughcolor $colors(-bg) \ - -focuscolor $colors(-selectbg) \ - -selectbackground $colors(-selectbg) \ - -selectforeground $colors(-selectfg) \ - -insertcolor $colors(-fg) \ - -insertwidth 1 \ - -fieldbackground $colors(-selectbg) \ - -font {"Segoe Ui" 10} \ - -borderwidth 1 \ - -relief flat - - tk_setPalette background [ttk::style lookup . -background] \ - foreground [ttk::style lookup . -foreground] \ - highlightColor [ttk::style lookup . -focuscolor] \ - selectBackground [ttk::style lookup . -selectbackground] \ - selectForeground [ttk::style lookup . -selectforeground] \ - activeBackground [ttk::style lookup . -selectbackground] \ - activeForeground [ttk::style lookup . -selectforeground] - - ttk::style map . -foreground [list disabled $colors(-disabledfg)] - - option add *font [ttk::style lookup . -font] - option add *Menu.selectcolor $colors(-fg) - } -} diff --git a/theme/dark.tcl b/theme/dark.tcl deleted file mode 100644 index 333e53d..0000000 --- a/theme/dark.tcl +++ /dev/null @@ -1,539 +0,0 @@ -# Copyright (c) 2021 rdbende - -# The Azure theme is a beautiful modern ttk theme inspired by Microsoft's fluent design. - -package require Tk 8.6 - -namespace eval ttk::theme::azure-dark { - variable version 2.0 - package provide ttk::theme::azure-dark $version - - ttk::style theme create azure-dark -parent clam -settings { - proc load_images {imgdir} { - variable I - foreach file [glob -directory $imgdir *.png] { - set img [file tail [file rootname $file]] - set I($img) [image create photo -file $file -format png] - } - } - - load_images [file join [file dirname [info script]] dark] - - array set colors { - -fg "#ffffff" - -bg "#333333" - -disabledfg "#aaaaaa" - -disabledbg "#737373" - -selectfg "#ffffff" - -selectbg "#007fff" - } - - ttk::style layout TButton { - Button.button -children { - Button.padding -children { - Button.label -side left -expand true - } - } - } - - ttk::style layout Toolbutton { - Toolbutton.button -children { - Toolbutton.padding -children { - Toolbutton.label -side left -expand true - } - } - } - - ttk::style layout TMenubutton { - Menubutton.button -children { - Menubutton.padding -children { - Menubutton.indicator -side right - Menubutton.label -side right -expand true - } - } - } - - ttk::style layout TOptionMenu { - OptionMenu.button -children { - OptionMenu.padding -children { - OptionMenu.indicator -side right - OptionMenu.label -side right -expand true - } - } - } - - ttk::style layout Accent.TButton { - AccentButton.button -children { - AccentButton.padding -children { - AccentButton.label -side left -expand true - } - } - } - - ttk::style layout TCheckbutton { - Checkbutton.button -children { - Checkbutton.padding -children { - Checkbutton.indicator -side left - Checkbutton.label -side right -expand true - } - } - } - - ttk::style layout Switch.TCheckbutton { - Switch.button -children { - Switch.padding -children { - Switch.indicator -side left - Switch.label -side right -expand true - } - } - } - - ttk::style layout Toggle.TButton { - ToggleButton.button -children { - ToggleButton.padding -children { - ToggleButton.label -side left -expand true - } - } - } - - ttk::style layout TRadiobutton { - Radiobutton.button -children { - Radiobutton.padding -children { - Radiobutton.indicator -side left - Radiobutton.label -side right -expand true - } - } - } - - ttk::style layout Vertical.TScrollbar { - Vertical.Scrollbar.trough -sticky ns -children { - Vertical.Scrollbar.thumb -expand true - } - } - - ttk::style layout Horizontal.TScrollbar { - Horizontal.Scrollbar.trough -sticky ew -children { - Horizontal.Scrollbar.thumb -expand true - } - } - - ttk::style layout TCombobox { - Combobox.field -sticky nswe -children { - Combobox.padding -expand true -sticky nswe -children { - Combobox.textarea -sticky nswe - } - } - Combobox.button -side right -sticky ns -children { - Combobox.arrow -sticky nsew - } - } - - ttk::style layout TSpinbox { - Spinbox.field -sticky nsew -children { - Spinbox.padding -expand true -sticky nswe -children { - Spinbox.textarea -sticky nswe - } - - } - Spinbox.button -side right -sticky ns -children { - null -side right -children { - Spinbox.uparrow -side top - Spinbox.downarrow -side bottom - } - } - } - - ttk::style layout Horizontal.TSeparator { - Horizontal.separator -sticky nswe - } - - ttk::style layout Vertical.TSeparator { - Vertical.separator -sticky nswe - } - - ttk::style layout Horizontal.Tick.TScale { - Horizontal.TickScale.trough -sticky ew -children { - Horizontal.TickScale.slider -sticky w - } - } - - ttk::style layout Vertical.Tick.TScale { - Vertical.TickScale.trough -sticky ns -children { - Vertical.TickScale.slider -sticky n - } - } - - ttk::style layout Card.TFrame { - Card.field { - Card.padding -expand 1 - } - } - - ttk::style layout TLabelframe { - Labelframe.border { - Labelframe.padding -expand 1 -children { - Labelframe.label -side right - } - } - } - - ttk::style layout TNotebook.Tab { - Notebook.tab -children { - Notebook.padding -side top -children { - Notebook.label -side top -sticky {} - } - } - } - - ttk::style layout Treeview.Item { - Treeitem.padding -sticky nswe -children { - Treeitem.indicator -side left -sticky {} - Treeitem.image -side left -sticky {} - Treeitem.text -side left -sticky {} - } - } - - - # Elements - - # Button - ttk::style configure TButton -padding {8 4 8 4} -width -10 -anchor center - - ttk::style element create Button.button image \ - [list $I(rect-basic) \ - {selected disabled} $I(rect-basic) \ - disabled $I(rect-basic) \ - pressed $I(rect-basic) \ - selected $I(rect-basic) \ - active $I(button-hover) \ - focus $I(button-hover) \ - ] -border 4 -sticky ewns - - # Toolbutton - ttk::style configure Toolbutton -padding {8 4 8 4} -width -10 -anchor center - - ttk::style element create Toolbutton.button image \ - [list $I(empty) \ - {selected disabled} $I(empty) \ - disabled $I(empty) \ - pressed $I(rect-basic) \ - selected $I(rect-basic) \ - active $I(rect-basic) \ - ] -border 4 -sticky ewns - - # Menubutton - ttk::style configure TMenubutton -padding {8 4 4 4} - - ttk::style element create Menubutton.button \ - image [list $I(rect-basic) \ - disabled $I(rect-basic) \ - pressed $I(rect-basic) \ - active $I(button-hover) \ - ] -border 4 -sticky ewns - - ttk::style element create Menubutton.indicator \ - image [list $I(down) \ - active $I(down) \ - pressed $I(down) \ - disabled $I(down) \ - ] -width 15 -sticky e - - # OptionMenu - ttk::style configure TOptionMenu -padding {8 4 4 4} - - ttk::style element create OptionMenu.button \ - image [list $I(rect-basic) \ - disabled $I(rect-basic) \ - pressed $I(rect-basic) \ - active $I(button-hover) \ - ] -border 4 -sticky ewns - - ttk::style element create OptionMenu.indicator \ - image [list $I(down) \ - active $I(down) \ - pressed $I(down) \ - disabled $I(down) \ - ] -width 15 -sticky e - - # AccentButton - ttk::style configure Accent.TButton -padding {8 4 8 4} -width -10 -anchor center - - ttk::style element create AccentButton.button image \ - [list $I(rect-accent) \ - {selected disabled} $I(rect-accent-hover) \ - disabled $I(rect-accent-hover) \ - pressed $I(rect-accent) \ - selected $I(rect-accent) \ - active $I(rect-accent-hover) \ - focus $I(rect-accent-hover) \ - ] -border 4 -sticky ewns - - # Checkbutton - ttk::style configure TCheckbutton -padding 4 - - ttk::style element create Checkbutton.indicator image \ - [list $I(box-basic) \ - {alternate disabled} $I(check-tri-basic) \ - {selected disabled} $I(check-basic) \ - disabled $I(box-basic) \ - {pressed alternate} $I(check-tri-hover) \ - {active alternate} $I(check-tri-hover) \ - alternate $I(check-tri-accent) \ - {pressed selected} $I(check-hover) \ - {active selected} $I(check-hover) \ - selected $I(check-accent) \ - {pressed !selected} $I(rect-hover) \ - active $I(box-hover) \ - ] -width 26 -sticky w - - # Switch - ttk::style element create Switch.indicator image \ - [list $I(off-basic) \ - {selected disabled} $I(on-basic) \ - disabled $I(off-basic) \ - {pressed selected} $I(on-accent) \ - {active selected} $I(on-accent) \ - selected $I(on-accent) \ - {pressed !selected} $I(off-basic) \ - active $I(off-basic) \ - ] -width 46 -sticky w - - # ToggleButton - ttk::style configure Toggle.TButton -padding {8 4 8 4} -width -10 -anchor center - - ttk::style element create ToggleButton.button image \ - [list $I(rect-basic) \ - {selected disabled} $I(rect-accent-hover) \ - disabled $I(rect-basic) \ - {pressed selected} $I(rect-basic) \ - {active selected} $I(rect-accent) \ - selected $I(rect-accent) \ - {pressed !selected} $I(rect-accent) \ - active $I(rect-basic) \ - ] -border 4 -sticky ewns - - # Radiobutton - ttk::style configure TRadiobutton -padding 4 - - ttk::style element create Radiobutton.indicator image \ - [list $I(outline-basic) \ - {alternate disabled} $I(radio-tri-basic) \ - {selected disabled} $I(radio-basic) \ - disabled $I(outline-basic) \ - {pressed alternate} $I(radio-tri-hover) \ - {active alternate} $I(radio-tri-hover) \ - alternate $I(radio-tri-accent) \ - {pressed selected} $I(radio-hover) \ - {active selected} $I(radio-hover) \ - selected $I(radio-accent) \ - {pressed !selected} $I(circle-hover) \ - active $I(outline-hover) \ - ] -width 26 -sticky w - - # Scrollbar - ttk::style element create Horizontal.Scrollbar.trough image $I(hor-basic) \ - -sticky ew - - ttk::style element create Horizontal.Scrollbar.thumb \ - image [list $I(hor-accent) \ - disabled $I(hor-basic) \ - pressed $I(hor-hover) \ - active $I(hor-hover) \ - ] -sticky ew - - ttk::style element create Vertical.Scrollbar.trough image $I(vert-basic) \ - -sticky ns - - ttk::style element create Vertical.Scrollbar.thumb \ - image [list $I(vert-accent) \ - disabled $I(vert-basic) \ - pressed $I(vert-hover) \ - active $I(vert-hover) \ - ] -sticky ns - - # Scale - ttk::style element create Horizontal.Scale.trough image $I(scale-hor) \ - -border 5 -padding 0 - - ttk::style element create Horizontal.Scale.slider \ - image [list $I(circle-accent) \ - disabled $I(circle-basic) \ - pressed $I(circle-hover) \ - active $I(circle-hover) \ - ] -sticky {} - - ttk::style element create Vertical.Scale.trough image $I(scale-vert) \ - -border 5 -padding 0 - - ttk::style element create Vertical.Scale.slider \ - image [list $I(circle-accent) \ - disabled $I(circle-basic) \ - pressed $I(circle-hover) \ - active $I(circle-hover) \ - ] -sticky {} - - # Tickscale - ttk::style element create Horizontal.TickScale.trough image $I(scale-hor) \ - -border 5 -padding 0 - - ttk::style element create Horizontal.TickScale.slider \ - image [list $I(tick-hor-accent) \ - disabled $I(tick-hor-basic) \ - pressed $I(tick-hor-hover) \ - active $I(tick-hor-hover) \ - ] -sticky {} - - ttk::style element create Vertical.TickScale.trough image $I(scale-vert) \ - -border 5 -padding 0 - - ttk::style element create Vertical.TickScale.slider \ - image [list $I(tick-vert-accent) \ - disabled $I(tick-vert-basic) \ - pressed $I(tick-vert-hover) \ - active $I(tick-vert-hover) \ - ] -sticky {} - - # Progressbar - ttk::style element create Horizontal.Progressbar.trough image $I(hor-basic) \ - -sticky ew - - ttk::style element create Horizontal.Progressbar.pbar image $I(hor-accent) \ - -sticky ew - - ttk::style element create Vertical.Progressbar.trough image $I(vert-basic) \ - -sticky ns - - ttk::style element create Vertical.Progressbar.pbar image $I(vert-accent) \ - -sticky ns - - # Entry - ttk::style element create Entry.field \ - image [list $I(box-basic) \ - {focus hover} $I(box-accent) \ - invalid $I(box-invalid) \ - disabled $I(box-basic) \ - focus $I(box-accent) \ - hover $I(box-hover) \ - ] -border 5 -padding {8} -sticky news - - # Combobox - ttk::style map TCombobox -selectbackground [list \ - {!focus} $colors(-selectbg) \ - {readonly hover} $colors(-selectbg) \ - {readonly focus} $colors(-selectbg) \ - ] - - ttk::style map TCombobox -selectforeground [list \ - {!focus} $colors(-selectfg) \ - {readonly hover} $colors(-selectfg) \ - {readonly focus} $colors(-selectfg) \ - ] - - ttk::style element create Combobox.field \ - image [list $I(box-basic) \ - {readonly disabled} $I(rect-basic) \ - {readonly pressed} $I(rect-basic) \ - {readonly focus hover} $I(button-hover) \ - {readonly focus} $I(button-hover) \ - {readonly hover} $I(button-hover) \ - {focus hover} $I(box-accent) \ - readonly $I(rect-basic) \ - invalid $I(box-invalid) \ - disabled $I(box-basic) \ - focus $I(box-accent) \ - hover $I(box-hover) \ - ] -border 5 -padding {8} - - ttk::style element create Combobox.button \ - image [list $I(combo-button-basic) \ - {!readonly focus} $I(combo-button-focus) \ - {readonly focus} $I(combo-button-hover) \ - {readonly hover} $I(combo-button-hover) - ] -border 5 -padding {2 6 6 6} - - ttk::style element create Combobox.arrow image $I(down) \ - -width 15 -sticky e - - # Spinbox - ttk::style element create Spinbox.field \ - image [list $I(box-basic) \ - invalid $I(box-invalid) \ - disabled $I(box-basic) \ - focus $I(box-accent) \ - hover $I(box-hover) \ - ] -border 5 -padding {8} -sticky news - - ttk::style element create Spinbox.uparrow \ - image [list $I(up) \ - disabled $I(up) \ - pressed $I(up-accent) \ - active $I(up-accent) \ - ] -border 4 -width 15 -sticky e - - ttk::style element create Spinbox.downarrow \ - image [list $I(down) \ - disabled $I(down) \ - pressed $I(down-accent) \ - active $I(down-accent) \ - ] -border 4 -width 15 -sticky e - - ttk::style element create Spinbox.button \ - image [list $I(combo-button-basic) \ - {!readonly focus} $I(combo-button-focus) \ - {readonly focus} $I(combo-button-hover) \ - {readonly hover} $I(combo-button-hover) - ] -border 5 -padding {2 6 6 6} - - # Sizegrip - ttk::style element create Sizegrip.sizegrip image $I(size) \ - -sticky ewns - - # Separator - ttk::style element create Horizontal.separator image $I(separator) - - ttk::style element create Vertical.separator image $I(separator) - - # Card - ttk::style element create Card.field image $I(card) \ - -border 10 -padding 4 -sticky news - - # Labelframe - ttk::style element create Labelframe.border image $I(card) \ - -border 5 -padding 4 -sticky news - - # Notebook - ttk::style element create Notebook.client \ - image $I(notebook) -border 5 - - ttk::style element create Notebook.tab \ - image [list $I(tab-disabled) \ - selected $I(tab-basic) \ - active $I(tab-hover) \ - ] -border 5 -padding {14 4} - - # Treeview - ttk::style element create Treeview.field image $I(card) \ - -border 5 - - ttk::style element create Treeheading.cell \ - image [list $I(tree-basic) \ - pressed $I(tree-pressed) - ] -border 5 -padding 4 -sticky ewns - - ttk::style element create Treeitem.indicator \ - image [list $I(right) \ - user2 $I(empty) \ - user1 $I(down) \ - ] -width 26 -sticky {} - - ttk::style configure Treeview -background $colors(-bg) - ttk::style configure Treeview.Item -padding {2 0 0 0} - ttk::style map Treeview \ - -background [list selected $colors(-selectbg)] \ - -foreground [list selected $colors(-selectfg)] - - # Panedwindow - # Insane hack to remove clam's ugly sash - ttk::style configure Sash -gripcount 0 - } -} diff --git a/theme/dark/box-accent.png b/theme/dark/box-accent.png deleted file mode 100644 index d0e186b..0000000 Binary files a/theme/dark/box-accent.png and /dev/null differ diff --git a/theme/dark/box-basic.png b/theme/dark/box-basic.png deleted file mode 100644 index 0b28fed..0000000 Binary files a/theme/dark/box-basic.png and /dev/null differ diff --git a/theme/dark/box-hover.png b/theme/dark/box-hover.png deleted file mode 100644 index 3ca7c19..0000000 Binary files a/theme/dark/box-hover.png and /dev/null differ diff --git a/theme/dark/box-invalid.png b/theme/dark/box-invalid.png deleted file mode 100644 index f180e94..0000000 Binary files a/theme/dark/box-invalid.png and /dev/null differ diff --git a/theme/dark/button-hover.png b/theme/dark/button-hover.png deleted file mode 100644 index 300eb09..0000000 Binary files a/theme/dark/button-hover.png and /dev/null differ diff --git a/theme/dark/card.png b/theme/dark/card.png deleted file mode 100644 index 3978e9f..0000000 Binary files a/theme/dark/card.png and /dev/null differ diff --git a/theme/dark/check-accent.png b/theme/dark/check-accent.png deleted file mode 100644 index 9854ec3..0000000 Binary files a/theme/dark/check-accent.png and /dev/null differ diff --git a/theme/dark/check-basic.png b/theme/dark/check-basic.png deleted file mode 100644 index 529718e..0000000 Binary files a/theme/dark/check-basic.png and /dev/null differ diff --git a/theme/dark/check-hover.png b/theme/dark/check-hover.png deleted file mode 100644 index c96c80c..0000000 Binary files a/theme/dark/check-hover.png and /dev/null differ diff --git a/theme/dark/check-tri-accent.png b/theme/dark/check-tri-accent.png deleted file mode 100644 index c0539f9..0000000 Binary files a/theme/dark/check-tri-accent.png and /dev/null differ diff --git a/theme/dark/check-tri-basic.png b/theme/dark/check-tri-basic.png deleted file mode 100644 index d0188f5..0000000 Binary files a/theme/dark/check-tri-basic.png and /dev/null differ diff --git a/theme/dark/check-tri-hover.png b/theme/dark/check-tri-hover.png deleted file mode 100644 index ae3e19f..0000000 Binary files a/theme/dark/check-tri-hover.png and /dev/null differ diff --git a/theme/dark/circle-accent.png b/theme/dark/circle-accent.png deleted file mode 100644 index e9a5ee5..0000000 Binary files a/theme/dark/circle-accent.png and /dev/null differ diff --git a/theme/dark/circle-basic.png b/theme/dark/circle-basic.png deleted file mode 100644 index 85f2bac..0000000 Binary files a/theme/dark/circle-basic.png and /dev/null differ diff --git a/theme/dark/circle-hover.png b/theme/dark/circle-hover.png deleted file mode 100644 index b439cd6..0000000 Binary files a/theme/dark/circle-hover.png and /dev/null differ diff --git a/theme/dark/combo-button-basic.png b/theme/dark/combo-button-basic.png deleted file mode 100644 index 4aef1b2..0000000 Binary files a/theme/dark/combo-button-basic.png and /dev/null differ diff --git a/theme/dark/combo-button-focus.png b/theme/dark/combo-button-focus.png deleted file mode 100644 index 5b1e0ff..0000000 Binary files a/theme/dark/combo-button-focus.png and /dev/null differ diff --git a/theme/dark/combo-button-hover.png b/theme/dark/combo-button-hover.png deleted file mode 100644 index 493cf52..0000000 Binary files a/theme/dark/combo-button-hover.png and /dev/null differ diff --git a/theme/dark/down-accent.png b/theme/dark/down-accent.png deleted file mode 100644 index 5bb987d..0000000 Binary files a/theme/dark/down-accent.png and /dev/null differ diff --git a/theme/dark/down.png b/theme/dark/down.png deleted file mode 100644 index d83f92d..0000000 Binary files a/theme/dark/down.png and /dev/null differ diff --git a/theme/dark/empty.png b/theme/dark/empty.png deleted file mode 100644 index 202e3de..0000000 Binary files a/theme/dark/empty.png and /dev/null differ diff --git a/theme/dark/hor-accent.png b/theme/dark/hor-accent.png deleted file mode 100644 index e59a1c6..0000000 Binary files a/theme/dark/hor-accent.png and /dev/null differ diff --git a/theme/dark/hor-basic.png b/theme/dark/hor-basic.png deleted file mode 100644 index bbc2e50..0000000 Binary files a/theme/dark/hor-basic.png and /dev/null differ diff --git a/theme/dark/hor-hover.png b/theme/dark/hor-hover.png deleted file mode 100644 index 56216f4..0000000 Binary files a/theme/dark/hor-hover.png and /dev/null differ diff --git a/theme/dark/notebook.png b/theme/dark/notebook.png deleted file mode 100644 index 5b937c1..0000000 Binary files a/theme/dark/notebook.png and /dev/null differ diff --git a/theme/dark/off-basic.png b/theme/dark/off-basic.png deleted file mode 100644 index 2ca539a..0000000 Binary files a/theme/dark/off-basic.png and /dev/null differ diff --git a/theme/dark/on-accent.png b/theme/dark/on-accent.png deleted file mode 100644 index 4a33465..0000000 Binary files a/theme/dark/on-accent.png and /dev/null differ diff --git a/theme/dark/on-basic.png b/theme/dark/on-basic.png deleted file mode 100644 index 9dce6a5..0000000 Binary files a/theme/dark/on-basic.png and /dev/null differ diff --git a/theme/dark/outline-basic.png b/theme/dark/outline-basic.png deleted file mode 100644 index 2f76a1b..0000000 Binary files a/theme/dark/outline-basic.png and /dev/null differ diff --git a/theme/dark/outline-hover.png b/theme/dark/outline-hover.png deleted file mode 100644 index 7ce5290..0000000 Binary files a/theme/dark/outline-hover.png and /dev/null differ diff --git a/theme/dark/radio-accent.png b/theme/dark/radio-accent.png deleted file mode 100644 index c34e4a8..0000000 Binary files a/theme/dark/radio-accent.png and /dev/null differ diff --git a/theme/dark/radio-basic.png b/theme/dark/radio-basic.png deleted file mode 100644 index f9b55a6..0000000 Binary files a/theme/dark/radio-basic.png and /dev/null differ diff --git a/theme/dark/radio-hover.png b/theme/dark/radio-hover.png deleted file mode 100644 index 4f3eab8..0000000 Binary files a/theme/dark/radio-hover.png and /dev/null differ diff --git a/theme/dark/radio-tri-accent.png b/theme/dark/radio-tri-accent.png deleted file mode 100644 index 8084141..0000000 Binary files a/theme/dark/radio-tri-accent.png and /dev/null differ diff --git a/theme/dark/radio-tri-basic.png b/theme/dark/radio-tri-basic.png deleted file mode 100644 index def9e27..0000000 Binary files a/theme/dark/radio-tri-basic.png and /dev/null differ diff --git a/theme/dark/radio-tri-hover.png b/theme/dark/radio-tri-hover.png deleted file mode 100644 index 86f1b59..0000000 Binary files a/theme/dark/radio-tri-hover.png and /dev/null differ diff --git a/theme/dark/rect-accent-hover.png b/theme/dark/rect-accent-hover.png deleted file mode 100644 index bb49129..0000000 Binary files a/theme/dark/rect-accent-hover.png and /dev/null differ diff --git a/theme/dark/rect-accent.png b/theme/dark/rect-accent.png deleted file mode 100644 index 5e7c72c..0000000 Binary files a/theme/dark/rect-accent.png and /dev/null differ diff --git a/theme/dark/rect-basic.png b/theme/dark/rect-basic.png deleted file mode 100644 index 8ab4d10..0000000 Binary files a/theme/dark/rect-basic.png and /dev/null differ diff --git a/theme/dark/rect-hover.png b/theme/dark/rect-hover.png deleted file mode 100644 index b9e4c35..0000000 Binary files a/theme/dark/rect-hover.png and /dev/null differ diff --git a/theme/dark/right.png b/theme/dark/right.png deleted file mode 100644 index bc840c2..0000000 Binary files a/theme/dark/right.png and /dev/null differ diff --git a/theme/dark/scale-hor.png b/theme/dark/scale-hor.png deleted file mode 100644 index 570530e..0000000 Binary files a/theme/dark/scale-hor.png and /dev/null differ diff --git a/theme/dark/scale-vert.png b/theme/dark/scale-vert.png deleted file mode 100644 index c6fcf6f..0000000 Binary files a/theme/dark/scale-vert.png and /dev/null differ diff --git a/theme/dark/separator.png b/theme/dark/separator.png deleted file mode 100644 index 411c970..0000000 Binary files a/theme/dark/separator.png and /dev/null differ diff --git a/theme/dark/size.png b/theme/dark/size.png deleted file mode 100644 index 51c682e..0000000 Binary files a/theme/dark/size.png and /dev/null differ diff --git a/theme/dark/tab-basic.png b/theme/dark/tab-basic.png deleted file mode 100644 index 6db676b..0000000 Binary files a/theme/dark/tab-basic.png and /dev/null differ diff --git a/theme/dark/tab-disabled.png b/theme/dark/tab-disabled.png deleted file mode 100644 index 736c438..0000000 Binary files a/theme/dark/tab-disabled.png and /dev/null differ diff --git a/theme/dark/tab-hover.png b/theme/dark/tab-hover.png deleted file mode 100644 index 213e82b..0000000 Binary files a/theme/dark/tab-hover.png and /dev/null differ diff --git a/theme/dark/tick-hor-accent.png b/theme/dark/tick-hor-accent.png deleted file mode 100644 index b7c28dd..0000000 Binary files a/theme/dark/tick-hor-accent.png and /dev/null differ diff --git a/theme/dark/tick-hor-basic.png b/theme/dark/tick-hor-basic.png deleted file mode 100644 index ee4b441..0000000 Binary files a/theme/dark/tick-hor-basic.png and /dev/null differ diff --git a/theme/dark/tick-hor-hover.png b/theme/dark/tick-hor-hover.png deleted file mode 100644 index bc859f4..0000000 Binary files a/theme/dark/tick-hor-hover.png and /dev/null differ diff --git a/theme/dark/tick-vert-accent.png b/theme/dark/tick-vert-accent.png deleted file mode 100644 index da4f481..0000000 Binary files a/theme/dark/tick-vert-accent.png and /dev/null differ diff --git a/theme/dark/tick-vert-basic.png b/theme/dark/tick-vert-basic.png deleted file mode 100644 index 9e0a5ee..0000000 Binary files a/theme/dark/tick-vert-basic.png and /dev/null differ diff --git a/theme/dark/tick-vert-hover.png b/theme/dark/tick-vert-hover.png deleted file mode 100644 index e9ff3a3..0000000 Binary files a/theme/dark/tick-vert-hover.png and /dev/null differ diff --git a/theme/dark/tree-basic.png b/theme/dark/tree-basic.png deleted file mode 100644 index c71808d..0000000 Binary files a/theme/dark/tree-basic.png and /dev/null differ diff --git a/theme/dark/tree-pressed.png b/theme/dark/tree-pressed.png deleted file mode 100644 index 96d3a53..0000000 Binary files a/theme/dark/tree-pressed.png and /dev/null differ diff --git a/theme/dark/up-accent.png b/theme/dark/up-accent.png deleted file mode 100644 index 54a20f8..0000000 Binary files a/theme/dark/up-accent.png and /dev/null differ diff --git a/theme/dark/up.png b/theme/dark/up.png deleted file mode 100644 index 069d440..0000000 Binary files a/theme/dark/up.png and /dev/null differ diff --git a/theme/dark/vert-accent.png b/theme/dark/vert-accent.png deleted file mode 100644 index 1c228fd..0000000 Binary files a/theme/dark/vert-accent.png and /dev/null differ diff --git a/theme/dark/vert-basic.png b/theme/dark/vert-basic.png deleted file mode 100644 index 4f6c46e..0000000 Binary files a/theme/dark/vert-basic.png and /dev/null differ diff --git a/theme/dark/vert-hover.png b/theme/dark/vert-hover.png deleted file mode 100644 index 142ccce..0000000 Binary files a/theme/dark/vert-hover.png and /dev/null differ diff --git a/theme/light.tcl b/theme/light.tcl deleted file mode 100644 index 29bdb03..0000000 --- a/theme/light.tcl +++ /dev/null @@ -1,539 +0,0 @@ -# Copyright (c) 2021 rdbende - -# The Azure theme is a beautiful modern ttk theme inspired by Microsoft's fluent design. - -package require Tk 8.6 - -namespace eval ttk::theme::azure-light { - variable version 2.0 - package provide ttk::theme::azure-light $version - - ttk::style theme create azure-light -parent clam -settings { - proc load_images {imgdir} { - variable I - foreach file [glob -directory $imgdir *.png] { - set img [file tail [file rootname $file]] - set I($img) [image create photo -file $file -format png] - } - } - - load_images [file join [file dirname [info script]] light] - - array set colors { - -fg "#000000" - -bg "#ffffff" - -disabledfg "#737373" - -disabledbg "#ffffff" - -selectfg "#ffffff" - -selectbg "#007fff" - } - - ttk::style layout TButton { - Button.button -children { - Button.padding -children { - Button.label -side left -expand true - } - } - } - - ttk::style layout Toolbutton { - Toolbutton.button -children { - Toolbutton.padding -children { - Toolbutton.label -side left -expand true - } - } - } - - ttk::style layout TMenubutton { - Menubutton.button -children { - Menubutton.padding -children { - Menubutton.indicator -side right - Menubutton.label -side right -expand true - } - } - } - - ttk::style layout TOptionMenu { - OptionMenu.button -children { - OptionMenu.padding -children { - OptionMenu.indicator -side right - OptionMenu.label -side right -expand true - } - } - } - - ttk::style layout Accent.TButton { - AccentButton.button -children { - AccentButton.padding -children { - AccentButton.label -side left -expand true - } - } - } - - ttk::style layout TCheckbutton { - Checkbutton.button -children { - Checkbutton.padding -children { - Checkbutton.indicator -side left - Checkbutton.label -side right -expand true - } - } - } - - ttk::style layout Switch.TCheckbutton { - Switch.button -children { - Switch.padding -children { - Switch.indicator -side left - Switch.label -side right -expand true - } - } - } - - ttk::style layout Toggle.TButton { - ToggleButton.button -children { - ToggleButton.padding -children { - ToggleButton.label -side left -expand true - } - } - } - - ttk::style layout TRadiobutton { - Radiobutton.button -children { - Radiobutton.padding -children { - Radiobutton.indicator -side left - Radiobutton.label -side right -expand true - } - } - } - - ttk::style layout Vertical.TScrollbar { - Vertical.Scrollbar.trough -sticky ns -children { - Vertical.Scrollbar.thumb -expand true - } - } - - ttk::style layout Horizontal.TScrollbar { - Horizontal.Scrollbar.trough -sticky ew -children { - Horizontal.Scrollbar.thumb -expand true - } - } - - ttk::style layout TCombobox { - Combobox.field -sticky nswe -children { - Combobox.padding -expand true -sticky nswe -children { - Combobox.textarea -sticky nswe - } - } - Combobox.button -side right -sticky ns -children { - Combobox.arrow -sticky nsew - } - } - - ttk::style layout TSpinbox { - Spinbox.field -sticky nsew -children { - Spinbox.padding -expand true -sticky nswe -children { - Spinbox.textarea -sticky nswe - } - - } - Spinbox.button -side right -sticky ns -children { - null -side right -children { - Spinbox.uparrow -side top - Spinbox.downarrow -side bottom - } - } - } - - ttk::style layout Horizontal.TSeparator { - Horizontal.separator -sticky nswe - } - - ttk::style layout Vertical.TSeparator { - Vertical.separator -sticky nswe - } - - ttk::style layout Horizontal.Tick.TScale { - Horizontal.TickScale.trough -sticky ew -children { - Horizontal.TickScale.slider -sticky w - } - } - - ttk::style layout Vertical.Tick.TScale { - Vertical.TickScale.trough -sticky ns -children { - Vertical.TickScale.slider -sticky n - } - } - - ttk::style layout Card.TFrame { - Card.field { - Card.padding -expand 1 - } - } - - ttk::style layout TLabelframe { - Labelframe.border { - Labelframe.padding -expand 1 -children { - Labelframe.label -side right - } - } - } - - ttk::style layout TNotebook.Tab { - Notebook.tab -children { - Notebook.padding -side top -children { - Notebook.label -side top -sticky {} - } - } - } - - ttk::style layout Treeview.Item { - Treeitem.padding -sticky nswe -children { - Treeitem.indicator -side left -sticky {} - Treeitem.image -side left -sticky {} - Treeitem.text -side left -sticky {} - } - } - - - # Elements - - # Button - ttk::style configure TButton -padding {8 4 8 4} -width -10 -anchor center - - ttk::style element create Button.button image \ - [list $I(rect-basic) \ - {selected disabled} $I(rect-basic) \ - disabled $I(rect-basic) \ - selected $I(rect-basic) \ - pressed $I(rect-basic) \ - active $I(button-hover) \ - focus $I(button-hover) \ - ] -border 4 -sticky ewns - - # Toolbutton - ttk::style configure Toolbutton -padding {8 4 8 4} -width -10 -anchor center - - ttk::style element create Toolbutton.button image \ - [list $I(empty) \ - {selected disabled} $I(empty) \ - disabled $I(empty) \ - selected $I(rect-basic) \ - pressed $I(rect-basic) \ - active $I(rect-basic) \ - ] -border 4 -sticky ewns - - # Menubutton - ttk::style configure TMenubutton -padding {8 4 4 4} - - ttk::style element create Menubutton.button \ - image [list $I(rect-basic) \ - disabled $I(rect-basic) \ - pressed $I(rect-basic) \ - active $I(button-hover) \ - ] -border 4 -sticky ewns - - ttk::style element create Menubutton.indicator \ - image [list $I(down) \ - active $I(down) \ - pressed $I(down) \ - disabled $I(down) \ - ] -width 15 -sticky e - - # OptionMenu - ttk::style configure TOptionMenu -padding {8 4 4 4} - - ttk::style element create OptionMenu.button \ - image [list $I(rect-basic) \ - disabled $I(rect-basic) \ - pressed $I(rect-basic) \ - active $I(button-hover) \ - ] -border 4 -sticky ewns - - ttk::style element create OptionMenu.indicator \ - image [list $I(down) \ - active $I(down) \ - pressed $I(down) \ - disabled $I(down) \ - ] -width 15 -sticky e - - # AccentButton - ttk::style configure Accent.TButton -padding {8 4 8 4} -width -10 -anchor center - - ttk::style element create AccentButton.button image \ - [list $I(rect-accent) \ - {selected disabled} $I(rect-accent-hover) \ - disabled $I(rect-accent-hover) \ - selected $I(rect-accent) \ - pressed $I(rect-accent) \ - active $I(rect-accent-hover) \ - focus $I(rect-accent-hover) \ - ] -border 4 -sticky ewns - - # Checkbutton - ttk::style configure TCheckbutton -padding 4 - - ttk::style element create Checkbutton.indicator image \ - [list $I(box-basic) \ - {alternate disabled} $I(check-tri-basic) \ - {selected disabled} $I(check-basic) \ - disabled $I(box-basic) \ - {pressed alternate} $I(check-tri-hover) \ - {active alternate} $I(check-tri-hover) \ - alternate $I(check-tri-accent) \ - {pressed selected} $I(check-hover) \ - {active selected} $I(check-hover) \ - selected $I(check-accent) \ - {pressed !selected} $I(rect-hover) \ - active $I(box-hover) \ - ] -width 26 -sticky w - - # Switch - ttk::style element create Switch.indicator image \ - [list $I(off-basic) \ - {selected disabled} $I(on-basic) \ - disabled $I(off-basic) \ - {pressed selected} $I(on-hover) \ - {active selected} $I(on-hover) \ - selected $I(on-accent) \ - {pressed !selected} $I(off-hover) \ - active $I(off-hover) \ - ] -width 46 -sticky w - - # ToggleButton - ttk::style configure Toggle.TButton -padding {8 4 8 4} -width -10 -anchor center - - ttk::style element create ToggleButton.button image \ - [list $I(rect-basic) \ - {selected disabled} $I(rect-accent-hover) \ - disabled $I(rect-basic) \ - {pressed selected} $I(rect-basic) \ - {active selected} $I(rect-accent) \ - selected $I(rect-accent) \ - {pressed !selected} $I(rect-accent) \ - active $I(rect-basic) \ - ] -border 4 -sticky ewns - - # Radiobutton - ttk::style configure TRadiobutton -padding 4 - - ttk::style element create Radiobutton.indicator image \ - [list $I(outline-basic) \ - {alternate disabled} $I(radio-tri-basic) \ - {selected disabled} $I(radio-basic) \ - disabled $I(outline-basic) \ - {pressed alternate} $I(radio-tri-hover) \ - {active alternate} $I(radio-tri-hover) \ - alternate $I(radio-tri-accent) \ - {pressed selected} $I(radio-hover) \ - {active selected} $I(radio-hover) \ - selected $I(radio-accent) \ - {pressed !selected} $I(circle-hover) \ - active $I(outline-hover) \ - ] -width 26 -sticky w - - # Scrollbar - ttk::style element create Horizontal.Scrollbar.trough image $I(hor-basic) \ - -sticky ew - - ttk::style element create Horizontal.Scrollbar.thumb \ - image [list $I(hor-accent) \ - disabled $I(hor-basic) \ - pressed $I(hor-hover) \ - active $I(hor-hover) \ - ] -sticky ew - - ttk::style element create Vertical.Scrollbar.trough image $I(vert-basic) \ - -sticky ns - - ttk::style element create Vertical.Scrollbar.thumb \ - image [list $I(vert-accent) \ - disabled $I(vert-basic) \ - pressed $I(vert-hover) \ - active $I(vert-hover) \ - ] -sticky ns - - # Scale - ttk::style element create Horizontal.Scale.trough image $I(scale-hor) \ - -border 5 -padding 0 - - ttk::style element create Horizontal.Scale.slider \ - image [list $I(circle-accent) \ - disabled $I(circle-basic) \ - pressed $I(circle-hover) \ - active $I(circle-hover) \ - ] -sticky {} - - ttk::style element create Vertical.Scale.trough image $I(scale-vert) \ - -border 5 -padding 0 - - ttk::style element create Vertical.Scale.slider \ - image [list $I(circle-accent) \ - disabled $I(circle-basic) \ - pressed $I(circle-hover) \ - active $I(circle-hover) \ - ] -sticky {} - - # Tickscale - ttk::style element create Horizontal.TickScale.trough image $I(scale-hor) \ - -border 5 -padding 0 - - ttk::style element create Horizontal.TickScale.slider \ - image [list $I(tick-hor-accent) \ - disabled $I(tick-hor-basic) \ - pressed $I(tick-hor-hover) \ - active $I(tick-hor-hover) \ - ] -sticky {} - - ttk::style element create Vertical.TickScale.trough image $I(scale-vert) \ - -border 5 -padding 0 - - ttk::style element create Vertical.TickScale.slider \ - image [list $I(tick-vert-accent) \ - disabled $I(tick-vert-basic) \ - pressed $I(tick-vert-hover) \ - active $I(tick-vert-hover) \ - ] -sticky {} - - # Progressbar - ttk::style element create Horizontal.Progressbar.trough image $I(hor-basic) \ - -sticky ew - - ttk::style element create Horizontal.Progressbar.pbar image $I(hor-accent) \ - -sticky ew - - ttk::style element create Vertical.Progressbar.trough image $I(vert-basic) \ - -sticky ns - - ttk::style element create Vertical.Progressbar.pbar image $I(vert-accent) \ - -sticky ns - - # Entry - ttk::style element create Entry.field \ - image [list $I(box-basic) \ - {focus hover} $I(box-accent) \ - invalid $I(box-invalid) \ - disabled $I(box-basic) \ - focus $I(box-accent) \ - hover $I(box-hover) \ - ] -border 5 -padding {8} -sticky news - - # Combobox - ttk::style map TCombobox -selectbackground [list \ - {!focus} $colors(-selectbg) \ - {readonly hover} $colors(-selectbg) \ - {readonly focus} $colors(-selectbg) \ - ] - - ttk::style map TCombobox -selectforeground [list \ - {!focus} $colors(-selectfg) \ - {readonly hover} $colors(-selectfg) \ - {readonly focus} $colors(-selectfg) \ - ] - - ttk::style element create Combobox.field \ - image [list $I(box-basic) \ - {readonly disabled} $I(rect-basic) \ - {readonly pressed} $I(rect-basic) \ - {readonly focus hover} $I(button-hover) \ - {readonly focus} $I(button-hover) \ - {readonly hover} $I(button-hover) \ - {focus hover} $I(box-accent) \ - readonly $I(rect-basic) \ - invalid $I(box-invalid) \ - disabled $I(box-basic) \ - focus $I(box-accent) \ - hover $I(box-hover) \ - ] -border 5 -padding {8} - - ttk::style element create Combobox.button \ - image [list $I(combo-button-basic) \ - {!readonly focus} $I(combo-button-focus) \ - {readonly focus} $I(combo-button-hover) \ - {readonly hover} $I(combo-button-hover) - ] -border 5 -padding {2 6 6 6} - - ttk::style element create Combobox.arrow image $I(down) \ - -width 15 -sticky e - - # Spinbox - ttk::style element create Spinbox.field \ - image [list $I(box-basic) \ - invalid $I(box-invalid) \ - disabled $I(box-basic) \ - focus $I(box-accent) \ - hover $I(box-hover) \ - ] -border 5 -padding {8} -sticky news - - ttk::style element create Spinbox.uparrow \ - image [list $I(up) \ - disabled $I(up) \ - pressed $I(up-accent) \ - active $I(up-accent) \ - ] -border 4 -width 15 -sticky e - - ttk::style element create Spinbox.downarrow \ - image [list $I(down) \ - disabled $I(down) \ - pressed $I(down-accent) \ - active $I(down-accent) \ - ] -border 4 -width 15 -sticky e - - ttk::style element create Spinbox.button \ - image [list $I(combo-button-basic) \ - {!readonly focus} $I(combo-button-focus) \ - {readonly focus} $I(combo-button-hover) \ - {readonly hover} $I(combo-button-hover) - ] -border 5 -padding {2 6 6 6} - - # Sizegrip - ttk::style element create Sizegrip.sizegrip image $I(size) \ - -sticky ewns - - # Separator - ttk::style element create Horizontal.separator image $I(separator) - - ttk::style element create Vertical.separator image $I(separator) - - # Card - ttk::style element create Card.field image $I(card) \ - -border 10 -padding 4 -sticky news - - # Labelframe - ttk::style element create Labelframe.border image $I(card) \ - -border 5 -padding 4 -sticky news - - # Notebook - ttk::style element create Notebook.client \ - image $I(notebook) -border 5 - - ttk::style element create Notebook.tab \ - image [list $I(tab-disabled) \ - selected $I(tab-basic) \ - active $I(tab-hover) \ - ] -border 5 -padding {14 4} - - # Treeview - ttk::style element create Treeview.field image $I(card) \ - -border 5 - - ttk::style element create Treeheading.cell \ - image [list $I(tree-basic) \ - pressed $I(tree-pressed) - ] -border 5 -padding 4 -sticky ewns - - ttk::style element create Treeitem.indicator \ - image [list $I(right) \ - user2 $I(empty) \ - user1 $I(down) \ - ] -width 26 -sticky {} - - ttk::style configure Treeview -background $colors(-bg) - ttk::style configure Treeview.Item -padding {2 0 0 0} - ttk::style map Treeview \ - -background [list selected #ccc] \ - -foreground [list selected $colors(-fg)] - - # Panedwindow - # Insane hack to remove clam's ugly sash - ttk::style configure Sash -gripcount 0 - } -} diff --git a/theme/light/box-accent.png b/theme/light/box-accent.png deleted file mode 100644 index 89f1faf..0000000 Binary files a/theme/light/box-accent.png and /dev/null differ diff --git a/theme/light/box-basic.png b/theme/light/box-basic.png deleted file mode 100644 index 090a00b..0000000 Binary files a/theme/light/box-basic.png and /dev/null differ diff --git a/theme/light/box-hover.png b/theme/light/box-hover.png deleted file mode 100644 index e691da4..0000000 Binary files a/theme/light/box-hover.png and /dev/null differ diff --git a/theme/light/box-invalid.png b/theme/light/box-invalid.png deleted file mode 100644 index 1f16f5c..0000000 Binary files a/theme/light/box-invalid.png and /dev/null differ diff --git a/theme/light/button-hover.png b/theme/light/button-hover.png deleted file mode 100644 index 13366eb..0000000 Binary files a/theme/light/button-hover.png and /dev/null differ diff --git a/theme/light/card.png b/theme/light/card.png deleted file mode 100644 index 09152f5..0000000 Binary files a/theme/light/card.png and /dev/null differ diff --git a/theme/light/check-accent.png b/theme/light/check-accent.png deleted file mode 100644 index 4aea79b..0000000 Binary files a/theme/light/check-accent.png and /dev/null differ diff --git a/theme/light/check-basic.png b/theme/light/check-basic.png deleted file mode 100644 index 0c00612..0000000 Binary files a/theme/light/check-basic.png and /dev/null differ diff --git a/theme/light/check-hover.png b/theme/light/check-hover.png deleted file mode 100644 index 3811696..0000000 Binary files a/theme/light/check-hover.png and /dev/null differ diff --git a/theme/light/check-tri-accent.png b/theme/light/check-tri-accent.png deleted file mode 100644 index d6baad5..0000000 Binary files a/theme/light/check-tri-accent.png and /dev/null differ diff --git a/theme/light/check-tri-basic.png b/theme/light/check-tri-basic.png deleted file mode 100644 index e92bea5..0000000 Binary files a/theme/light/check-tri-basic.png and /dev/null differ diff --git a/theme/light/check-tri-hover.png b/theme/light/check-tri-hover.png deleted file mode 100644 index d611d76..0000000 Binary files a/theme/light/check-tri-hover.png and /dev/null differ diff --git a/theme/light/circle-accent.png b/theme/light/circle-accent.png deleted file mode 100644 index ea76e7a..0000000 Binary files a/theme/light/circle-accent.png and /dev/null differ diff --git a/theme/light/circle-basic.png b/theme/light/circle-basic.png deleted file mode 100644 index b16202e..0000000 Binary files a/theme/light/circle-basic.png and /dev/null differ diff --git a/theme/light/circle-hover.png b/theme/light/circle-hover.png deleted file mode 100644 index 6ea1803..0000000 Binary files a/theme/light/circle-hover.png and /dev/null differ diff --git a/theme/light/combo-button-basic.png b/theme/light/combo-button-basic.png deleted file mode 100644 index b7daa04..0000000 Binary files a/theme/light/combo-button-basic.png and /dev/null differ diff --git a/theme/light/combo-button-focus.png b/theme/light/combo-button-focus.png deleted file mode 100644 index 59c7db4..0000000 Binary files a/theme/light/combo-button-focus.png and /dev/null differ diff --git a/theme/light/combo-button-hover.png b/theme/light/combo-button-hover.png deleted file mode 100644 index 1d06c57..0000000 Binary files a/theme/light/combo-button-hover.png and /dev/null differ diff --git a/theme/light/down-accent.png b/theme/light/down-accent.png deleted file mode 100644 index 5bb987d..0000000 Binary files a/theme/light/down-accent.png and /dev/null differ diff --git a/theme/light/down.png b/theme/light/down.png deleted file mode 100644 index 1fd7e4f..0000000 Binary files a/theme/light/down.png and /dev/null differ diff --git a/theme/light/empty.png b/theme/light/empty.png deleted file mode 100644 index 202e3de..0000000 Binary files a/theme/light/empty.png and /dev/null differ diff --git a/theme/light/hor-accent.png b/theme/light/hor-accent.png deleted file mode 100644 index 145b10e..0000000 Binary files a/theme/light/hor-accent.png and /dev/null differ diff --git a/theme/light/hor-basic.png b/theme/light/hor-basic.png deleted file mode 100644 index eb18d1e..0000000 Binary files a/theme/light/hor-basic.png and /dev/null differ diff --git a/theme/light/hor-hover.png b/theme/light/hor-hover.png deleted file mode 100644 index 4d6c0f1..0000000 Binary files a/theme/light/hor-hover.png and /dev/null differ diff --git a/theme/light/notebook.png b/theme/light/notebook.png deleted file mode 100644 index 430d9f2..0000000 Binary files a/theme/light/notebook.png and /dev/null differ diff --git a/theme/light/off-basic.png b/theme/light/off-basic.png deleted file mode 100644 index cf383f0..0000000 Binary files a/theme/light/off-basic.png and /dev/null differ diff --git a/theme/light/off-hover.png b/theme/light/off-hover.png deleted file mode 100644 index 893b39c..0000000 Binary files a/theme/light/off-hover.png and /dev/null differ diff --git a/theme/light/on-accent.png b/theme/light/on-accent.png deleted file mode 100644 index f5a86c9..0000000 Binary files a/theme/light/on-accent.png and /dev/null differ diff --git a/theme/light/on-basic.png b/theme/light/on-basic.png deleted file mode 100644 index 23ec72f..0000000 Binary files a/theme/light/on-basic.png and /dev/null differ diff --git a/theme/light/on-hover.png b/theme/light/on-hover.png deleted file mode 100644 index d55f7ae..0000000 Binary files a/theme/light/on-hover.png and /dev/null differ diff --git a/theme/light/outline-basic.png b/theme/light/outline-basic.png deleted file mode 100644 index 2e79874..0000000 Binary files a/theme/light/outline-basic.png and /dev/null differ diff --git a/theme/light/outline-hover.png b/theme/light/outline-hover.png deleted file mode 100644 index 502915d..0000000 Binary files a/theme/light/outline-hover.png and /dev/null differ diff --git a/theme/light/radio-accent.png b/theme/light/radio-accent.png deleted file mode 100644 index 1f7329d..0000000 Binary files a/theme/light/radio-accent.png and /dev/null differ diff --git a/theme/light/radio-basic.png b/theme/light/radio-basic.png deleted file mode 100644 index 793531e..0000000 Binary files a/theme/light/radio-basic.png and /dev/null differ diff --git a/theme/light/radio-hover.png b/theme/light/radio-hover.png deleted file mode 100644 index d6faa74..0000000 Binary files a/theme/light/radio-hover.png and /dev/null differ diff --git a/theme/light/radio-tri-accent.png b/theme/light/radio-tri-accent.png deleted file mode 100644 index 86dd4cb..0000000 Binary files a/theme/light/radio-tri-accent.png and /dev/null differ diff --git a/theme/light/radio-tri-basic.png b/theme/light/radio-tri-basic.png deleted file mode 100644 index da85d03..0000000 Binary files a/theme/light/radio-tri-basic.png and /dev/null differ diff --git a/theme/light/radio-tri-hover.png b/theme/light/radio-tri-hover.png deleted file mode 100644 index ded14a6..0000000 Binary files a/theme/light/radio-tri-hover.png and /dev/null differ diff --git a/theme/light/rect-accent-hover.png b/theme/light/rect-accent-hover.png deleted file mode 100644 index 5daa96a..0000000 Binary files a/theme/light/rect-accent-hover.png and /dev/null differ diff --git a/theme/light/rect-accent.png b/theme/light/rect-accent.png deleted file mode 100644 index 2d08674..0000000 Binary files a/theme/light/rect-accent.png and /dev/null differ diff --git a/theme/light/rect-basic.png b/theme/light/rect-basic.png deleted file mode 100644 index 239ca31..0000000 Binary files a/theme/light/rect-basic.png and /dev/null differ diff --git a/theme/light/rect-hover.png b/theme/light/rect-hover.png deleted file mode 100644 index 9252c4f..0000000 Binary files a/theme/light/rect-hover.png and /dev/null differ diff --git a/theme/light/right.png b/theme/light/right.png deleted file mode 100644 index 8122cc9..0000000 Binary files a/theme/light/right.png and /dev/null differ diff --git a/theme/light/scale-hor.png b/theme/light/scale-hor.png deleted file mode 100644 index d11f508..0000000 Binary files a/theme/light/scale-hor.png and /dev/null differ diff --git a/theme/light/scale-vert.png b/theme/light/scale-vert.png deleted file mode 100644 index f78595d..0000000 Binary files a/theme/light/scale-vert.png and /dev/null differ diff --git a/theme/light/separator.png b/theme/light/separator.png deleted file mode 100644 index 7bffc9a..0000000 Binary files a/theme/light/separator.png and /dev/null differ diff --git a/theme/light/size.png b/theme/light/size.png deleted file mode 100644 index bde3ade..0000000 Binary files a/theme/light/size.png and /dev/null differ diff --git a/theme/light/tab-basic.png b/theme/light/tab-basic.png deleted file mode 100644 index 365fdff..0000000 Binary files a/theme/light/tab-basic.png and /dev/null differ diff --git a/theme/light/tab-disabled.png b/theme/light/tab-disabled.png deleted file mode 100644 index eeee518..0000000 Binary files a/theme/light/tab-disabled.png and /dev/null differ diff --git a/theme/light/tab-hover.png b/theme/light/tab-hover.png deleted file mode 100644 index 5003806..0000000 Binary files a/theme/light/tab-hover.png and /dev/null differ diff --git a/theme/light/tick-hor-accent.png b/theme/light/tick-hor-accent.png deleted file mode 100644 index 6940b1c..0000000 Binary files a/theme/light/tick-hor-accent.png and /dev/null differ diff --git a/theme/light/tick-hor-basic.png b/theme/light/tick-hor-basic.png deleted file mode 100644 index ba727d7..0000000 Binary files a/theme/light/tick-hor-basic.png and /dev/null differ diff --git a/theme/light/tick-hor-hover.png b/theme/light/tick-hor-hover.png deleted file mode 100644 index cb66b59..0000000 Binary files a/theme/light/tick-hor-hover.png and /dev/null differ diff --git a/theme/light/tick-vert-accent.png b/theme/light/tick-vert-accent.png deleted file mode 100644 index dfdb89c..0000000 Binary files a/theme/light/tick-vert-accent.png and /dev/null differ diff --git a/theme/light/tick-vert-basic.png b/theme/light/tick-vert-basic.png deleted file mode 100644 index a58440d..0000000 Binary files a/theme/light/tick-vert-basic.png and /dev/null differ diff --git a/theme/light/tick-vert-hover.png b/theme/light/tick-vert-hover.png deleted file mode 100644 index 18cbec5..0000000 Binary files a/theme/light/tick-vert-hover.png and /dev/null differ diff --git a/theme/light/tree-basic.png b/theme/light/tree-basic.png deleted file mode 100644 index 755062b..0000000 Binary files a/theme/light/tree-basic.png and /dev/null differ diff --git a/theme/light/tree-pressed.png b/theme/light/tree-pressed.png deleted file mode 100644 index ee28416..0000000 Binary files a/theme/light/tree-pressed.png and /dev/null differ diff --git a/theme/light/up-accent.png b/theme/light/up-accent.png deleted file mode 100644 index 54a20f8..0000000 Binary files a/theme/light/up-accent.png and /dev/null differ diff --git a/theme/light/up.png b/theme/light/up.png deleted file mode 100644 index 16568f2..0000000 Binary files a/theme/light/up.png and /dev/null differ diff --git a/theme/light/vert-accent.png b/theme/light/vert-accent.png deleted file mode 100644 index 7f87bdc..0000000 Binary files a/theme/light/vert-accent.png and /dev/null differ diff --git a/theme/light/vert-basic.png b/theme/light/vert-basic.png deleted file mode 100644 index d5f61ec..0000000 Binary files a/theme/light/vert-basic.png and /dev/null differ diff --git a/theme/light/vert-hover.png b/theme/light/vert-hover.png deleted file mode 100644 index bfdc9d0..0000000 Binary files a/theme/light/vert-hover.png and /dev/null differ