File tree 2 files changed +13
-2
lines changed
2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ package require Tk 8.6.0
8
8
9
9
namespace eval ttk::theme::Breeze {
10
10
11
- variable version 0.5
11
+ variable version 0.6
12
12
package provide ttk::theme::Breeze $version
13
13
14
14
variable colors
@@ -319,5 +319,16 @@ namespace eval ttk::theme::Breeze {
319
319
# Treeview
320
320
ttk::style configure Treeview -background white
321
321
ttk::style configure Treeview.Item -padding {2 0 0 0}
322
+
323
+ # Some defaults for non ttk-widgets so that they fit
324
+ # to the Breeze theme, too
325
+ tk_setPalette background [ttk::style lookup . -background] \
326
+ foreground [ttk::style lookup . -foreground] \
327
+ highlightColor [ttk::style lookup . -focuscolor] \
328
+ selectBackground [ttk::style lookup . -selectbackground] \
329
+ selectForeground [ttk::style lookup . -selectforeground] \
330
+ activeBackground [ttk::style lookup . -selectbackground] \
331
+ activeForeground [ttk::style lookup . -selectforeground]
332
+ option add *font [ttk::style lookup . -font]
322
333
}
323
334
}
Original file line number Diff line number Diff line change 9
9
if {![file isdirectory [file join $dir Breeze]]} { return }
10
10
if {![package vsatisfies [package provide Tcl] 8.6]} { return }
11
11
12
- package ifneeded ttk::theme::Breeze 0.5 \
12
+ package ifneeded ttk::theme::Breeze 0.6 \
13
13
[list source [file join $dir breeze.tcl]]
14
14
You can’t perform that action at this time.
0 commit comments