summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2023-07-10 14:32:30 (GMT)
committerKevin Walzer <kw@codebykevin.com>2023-07-10 14:32:30 (GMT)
commit37bb1ca906e8d0e3bccadcc5aa71067ae6aa7633 (patch)
treec54d1100c400f4931391318bc1d326cc6402bad4 /library
parentfc0a544cf351a412a8e260897df072c6a903f050 (diff)
downloadtk-37bb1ca906e8d0e3bccadcc5aa71067ae6aa7633.zip
tk-37bb1ca906e8d0e3bccadcc5aa71067ae6aa7633.tar.gz
tk-37bb1ca906e8d0e3bccadcc5aa71067ae6aa7633.tar.bz2
Update to striped background on Aqua with semantic colors - patch from Christopher Chavez
Diffstat (limited to 'library')
-rw-r--r--library/ttk/aquaTheme.tcl8
1 files changed, 2 insertions, 6 deletions
diff --git a/library/ttk/aquaTheme.tcl b/library/ttk/aquaTheme.tcl
index 5674d39..06b8769 100644
--- a/library/ttk/aquaTheme.tcl
+++ b/library/ttk/aquaTheme.tcl
@@ -151,8 +151,8 @@ namespace eval ttk::theme::aqua {
-foreground systemTextColor \
-background systemWindowBackgroundColor
ttk::style configure Treeview -rowheight 18 \
- -background systemTextBackgroundColor \
- -stripedbackground #F5F5F6 \
+ -background systemControlBackgroundColor \
+ -stripedbackground systemControlAlternatingRowColor \
-foreground systemTextColor \
-fieldbackground systemTextBackgroundColor
ttk::style map Treeview \
@@ -160,10 +160,6 @@ namespace eval ttk::theme::aqua {
selected systemSelectedTextBackgroundColor
}
- #improved appearance for stripebackground
- bind all <<DarkAqua>> {+ ttk::style configure Treeview -stripedbackground black}
- bind all <<LightAqua>> {+ ttk::style configure Treeview -stripedbackground #F5F5F6}
-
# Enable animation for ttk::progressbar widget:
ttk::style configure TProgressbar -period 100 -maxphase 120