Improved gtk2 with button colors respecting the theme's

This commit is contained in:
Eudaimon 2022-05-21 17:13:04 +02:00
parent 837eb5922f
commit 08ff2eee15
3 changed files with 18 additions and 9 deletions

View File

@ -11,6 +11,8 @@ gtk-color-scheme = "tooltip_bg_color:#6789b4"
gtk-color-scheme = "tooltip_fg_color:#002269"
gtk-color-scheme = "disabled_bg_color:#938989"
gtk-color-scheme = "disabled_fg_color:#552222"
gtk-color-scheme = "button_bg_color:#bcbeb9"
gtk-color-scheme = "button_fg_color:#241f31"
gtk-color-scheme = "button_checked_bg_color:#b0dd7e"
gtk-color-scheme = "button_checked_fg_color:#000000"
@ -85,7 +87,7 @@ base[INSENSITIVE] = @disabled_bg_color
base[ACTIVE] = shade (0.9, @selected_bg_color)
engine "clearlooks" {
colorize_scrollbar = TRUE
colorize_scrollbar = FALSE
reliefstyle = 1
menubarstyle = 2
toolbarstyle = 1
@ -182,8 +184,9 @@ style "button" {
xthickness = 3
ythickness = 3
bg[NORMAL] = shade (1.04, @bg_color)
bg[PRELIGHT] = shade (1.06, @bg_color)
bg[NORMAL] = @button_bg_color
fg[NORMAL] = @button_fg_color
bg[PRELIGHT] = shade (1.06, @button_bg_color)
bg[ACTIVE] = @button_checked_bg_color
fg[ACTIVE] = @button_checked_fg_color
}

View File

@ -11,6 +11,8 @@ gtk-color-scheme = "tooltip_bg_color:${vhint_bg}"
gtk-color-scheme = "tooltip_fg_color:${vhint_fg}"
gtk-color-scheme = "disabled_bg_color:${vdisabled_bg}"
gtk-color-scheme = "disabled_fg_color:${vdisabled_fg}"
gtk-color-scheme = "button_bg_color:${vbutton_bg}"
gtk-color-scheme = "button_fg_color:${vbutton_fg}"
gtk-color-scheme = "button_checked_bg_color:${vbutton_checked_bg}"
gtk-color-scheme = "button_checked_fg_color:${vbutton_checked_fg}"
@ -85,7 +87,7 @@ style "default" {
base[ACTIVE] = shade (0.9, @selected_bg_color)
engine "clearlooks" {
colorize_scrollbar = TRUE
colorize_scrollbar = FALSE
reliefstyle = 1
menubarstyle = 2
toolbarstyle = 1
@ -182,8 +184,9 @@ style "button" {
xthickness = 3
ythickness = 3
bg[NORMAL] = shade (1.04, @bg_color)
bg[PRELIGHT] = shade (1.06, @bg_color)
bg[NORMAL] = @button_bg_color
fg[NORMAL] = @button_fg_color
bg[PRELIGHT] = shade (1.06, @button_bg_color)
bg[ACTIVE] = @button_checked_bg_color
fg[ACTIVE] = @button_checked_fg_color
}

View File

@ -11,6 +11,8 @@ gtk-color-scheme = "tooltip_bg_color:#6789b4"
gtk-color-scheme = "tooltip_fg_color:#002269"
gtk-color-scheme = "disabled_bg_color:#938989"
gtk-color-scheme = "disabled_fg_color:#552222"
gtk-color-scheme = "button_bg_color:#bcbeb9"
gtk-color-scheme = "button_fg_color:#241f31"
gtk-color-scheme = "button_checked_bg_color:#b0dd7e"
gtk-color-scheme = "button_checked_fg_color:#000000"
@ -85,7 +87,7 @@ base[INSENSITIVE] = @disabled_bg_color
base[ACTIVE] = shade (0.9, @selected_bg_color)
engine "clearlooks" {
colorize_scrollbar = TRUE
colorize_scrollbar = FALSE
reliefstyle = 1
menubarstyle = 2
toolbarstyle = 1
@ -182,8 +184,9 @@ style "button" {
xthickness = 3
ythickness = 3
bg[NORMAL] = shade (1.04, @bg_color)
bg[PRELIGHT] = shade (1.06, @bg_color)
bg[NORMAL] = @button_bg_color
fg[NORMAL] = @button_fg_color
bg[PRELIGHT] = shade (1.06, @button_bg_color)
bg[ACTIVE] = @button_checked_bg_color
fg[ACTIVE] = @button_checked_fg_color
}