diff options
author | culler <culler> | 2019-03-10 16:04:20 (GMT) |
---|---|---|
committer | culler <culler> | 2019-03-10 16:04:20 (GMT) |
commit | 576148dc6a8447e707fbf78f83980a626b02d96b (patch) | |
tree | 3be2255566e758f0b91ceb237ed4707015625dc7 /library/ttk | |
parent | 0d7ad4aa9a15ecef728ce891f752dbb786cf469d (diff) | |
download | tk-576148dc6a8447e707fbf78f83980a626b02d96b.zip tk-576148dc6a8447e707fbf78f83980a626b02d96b.tar.gz tk-576148dc6a8447e707fbf78f83980a626b02d96b.tar.bz2 |
Add a drawing procedure for a ttk Separator in Dark Mode. Fixed the foreground
color for the TreeView in Dark Mode.
Diffstat (limited to 'library/ttk')
-rw-r--r-- | library/ttk/aquaTheme.tcl | 36 |
1 files changed, 21 insertions, 15 deletions
diff --git a/library/ttk/aquaTheme.tcl b/library/ttk/aquaTheme.tcl index 92cc0d1..6117b94 100644 --- a/library/ttk/aquaTheme.tcl +++ b/library/ttk/aquaTheme.tcl @@ -15,12 +15,15 @@ namespace eval ttk::theme::aqua { -insertwidth 1 ttk::style map . \ - -foreground {disabled systemTtkForeground - background systemTtkForeground} \ - -selectbackground {background systemHighlight - !focus systemHighlightSecondary} \ - -selectforeground {background systemTtkForeground - !focus systemDialogActiveText} + -foreground { + disabled systemTtkForeground + background systemTtkForeground} \ + -selectbackground { + background systemHighlight + !focus systemHighlightSecondary} \ + -selectforeground { + background systemTtkForeground + !focus systemDialogActiveText} # Buttons ttk::style configure TButton -anchor center -width -6 @@ -36,10 +39,11 @@ namespace eval ttk::theme::aqua { ttk::style configure TNotebook -padding {18 8 18 17} ttk::style configure TNotebook.Tab -padding {12 3 12 2} ttk::style configure TNotebook.Tab -foreground white - ttk::style map TNotebook.Tab -foreground { - {background !disabled} black - disabled darkgray - !selected black} + ttk::style map TNotebook.Tab \ + -foreground { + {background !disabled} black + disabled darkgray + !selected black} # Combobox: ttk::style configure TCombobox -postoffset {5 -2 -10 0} @@ -48,11 +52,13 @@ namespace eval ttk::theme::aqua { ttk::style configure Heading -font TkHeadingFont ttk::style configure Treeview -rowheight 18 -background White ttk::style map Treeview \ - -background [list disabled systemDialogBackgroundInactive \ - {selected background} systemHighlightSecondary \ - selected systemHighlight] \ - -foreground [list disabled black \ - selected black] + -background { + disabled systemDialogBackgroundInactive + {selected background} systemHighlightSecondary + selected systemHighlight} \ + -foreground { + disabled black + !disabled black} # Enable animation for ttk::progressbar widget: ttk::style configure TProgressbar -period 100 -maxphase 255 |