diff options
author | Horst3180 | 2015-07-09 19:34:30 +0200 |
---|---|---|
committer | Horst3180 | 2015-07-09 19:34:30 +0200 |
commit | a79b1cee8a23fdc63b28265919e429919870bf4f (patch) | |
tree | 8adc71527559815b6d8dcdd91561af8021084669 /common/metacity-1/metacity-theme-2.xml | |
parent | b45fb56bf7c8550f68f310413511afbcff729344 (diff) | |
download | solarc-theme-a79b1cee8a23fdc63b28265919e429919870bf4f.tar.gz solarc-theme-a79b1cee8a23fdc63b28265919e429919870bf4f.tar.xz solarc-theme-a79b1cee8a23fdc63b28265919e429919870bf4f.zip |
metacity tweaks
Diffstat (limited to 'common/metacity-1/metacity-theme-2.xml')
-rw-r--r-- | common/metacity-1/metacity-theme-2.xml | 108 |
1 files changed, 81 insertions, 27 deletions
diff --git a/common/metacity-1/metacity-theme-2.xml b/common/metacity-1/metacity-theme-2.xml index ba83938..79fee42 100644 --- a/common/metacity-1/metacity-theme-2.xml +++ b/common/metacity-1/metacity-theme-2.xml @@ -18,6 +18,33 @@ <constant name="C_wm_highlight" value="#eeeff1" /> +<!-- window button colors --> + +<!-- close --> +<constant name="C_button_close_bg_focused" value="#f37076" /> +<constant name="C_button_close_bg_hover" value="#f79da1" /> +<constant name="C_button_close_bg_active" value="#ef4048" /> + +<constant name="C_icon_close_bg_focused" value="#ffffff" /> +<constant name="C_icon_close_bg_hover" value="#ffffff" /> +<constant name="C_icon_close_bg_active" value="#ffffff" /> + +<!-- minimize, maximize --> +<constant name="C_button_bg_focused" value="#ffffff" /> +<constant name="C_button_bg_unfocused" value="#ffffff" /> +<constant name="C_button_bg_hover" value="#fdfdfd" /> +<constant name="C_button_bg_active" value="#5294E2" /> + +<constant name="C_button_border_focused" value="#d8dae0" /> +<constant name="C_button_border_unfocused" value="#dddee2" /> +<constant name="C_button_border_hover" value="#5294E2" /> +<constant name="C_button_border_active" value="#5294E2" /> + +<constant name="C_icon_bg_focused" value="#8d93a4" /> +<constant name="C_icon_bg_unfocused" value="#b8bcc7" /> +<constant name="C_icon_bg_hover" value="#70788d" /> +<constant name="C_icon_bg_active" value="#ffffff" /> + <!-- geometries --> <frame_geometry name="normal" title_scale="medium" rounded_top_left="1" rounded_top_right="1"> @@ -90,116 +117,143 @@ <draw_ops name="entire_background_focused"> <rectangle color="C_wm_bg_focused" x="0" y="0" width="width" height="height" filled="true" /> - <rectangle color="C_wm_highlight" x="0" y="0" width="width" height="1" filled="true" /> </draw_ops> <draw_ops name="entire_background_unfocused"> <rectangle color="C_wm_bg_unfocused" x="0" y="0" width="width" height="height" filled="true" /> - <rectangle color="C_wm_highlight" x="0" y="0" width="width" height="1" filled="true" /> </draw_ops> <draw_ops name="titlebar_focused"> - <include name="entire_background_focused" /> + <rectangle color="C_wm_bg_focused" x="0" y="0" width="width" height="height" filled="true" /> + <rectangle color="C_wm_highlight" x="0" y="0" width="width" height="1" filled="true" /> </draw_ops> <draw_ops name="titlebar_unfocused"> - <include name="entire_background_unfocused" /> + <rectangle color="C_wm_bg_unfocused" x="0" y="0" width="width" height="height" filled="true" /> + <rectangle color="C_wm_highlight" x="0" y="0" width="width" height="1" filled="true" /> </draw_ops> <draw_ops name="titlebar_max"> - <include name="entire_background_focused" /> + </draw_ops> <draw_ops name="titlebar_small_focused"> - <include name="entire_background_focused" /> + </draw_ops> <draw_ops name="titlebar_small_unfocused"> - <include name="entire_background_unfocused" /> + </draw_ops> <draw_ops name="border_focused"> - <include name="entire_background_focused" /> + <rectangle color="C_wm_bg_focused" x="0" y="0" width="width" height="height" filled="false" /> </draw_ops> <draw_ops name="border_unfocused"> - <include name="entire_background_unfocused" /> + <rectangle color="C_wm_bg_unfocused" x="0" y="0" width="width" height="height" filled="false" /> </draw_ops> <!--close--> <draw_ops name="close_focused"> - <image filename="close.svg" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="button-bg.svg" colorize="C_button_close_bg_focused" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="close-icon.svg" colorize="C_icon_close_bg_focused" x="width/2-8" y="height/2-8" width="16" height="16"/> </draw_ops> <draw_ops name="close_focused_pressed"> - <image filename="close_pressed.svg" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="button-bg.svg" colorize="C_button_close_bg_active" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="close-icon.svg" colorize="C_icon_close_bg_active" x="width/2-8" y="height/2-8" width="16" height="16"/> </draw_ops> <draw_ops name="close_focused_prelight"> - <image filename="close_prelight.svg" x="width/2-8" y="height/2-8" width="16" height="16" /> + <image filename="button-bg.svg" colorize="C_button_close_bg_hover" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="close-icon.svg" colorize="C_icon_close_bg_hover" x="width/2-8" y="height/2-8" width="16" height="16"/> </draw_ops> <draw_ops name="close_unfocused"> - <image filename="close_unfocused.svg" x="width/2-8" y="height/2-8" width="16" height="16" /> + <image filename="button-bg.svg" colorize="C_button_bg_unfocused" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="button-border.svg" colorize="C_button_border_unfocused" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="close-icon.svg" colorize="C_icon_bg_unfocused" x="width/2-8" y="height/2-8" width="16" height="16"/> </draw_ops> <draw_ops name="close_unfocused_prelight"> - <image filename="close_prelight.svg" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="button-bg.svg" colorize="C_button_close_bg_hover" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="close-icon.svg" colorize="C_icon_close_bg_hover" x="width/2-8" y="height/2-8" width="16" height="16"/> </draw_ops> <draw_ops name="close_unfocused_pressed"> - <image filename="close_pressed.svg" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="button-bg.svg" colorize="C_button_close_bg_focused" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="close-icon.svg" colorize="C_icon_close_bg_focused" x="width/2-8" y="height/2-8" width="16" height="16"/> </draw_ops> <!--maximize--> <draw_ops name="maximize_focused"> - <image filename="max.svg" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="button-bg.svg" colorize="C_button_bg_focused" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="button-border.svg" colorize="C_button_border_focused" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="max-icon.svg" colorize="C_icon_bg_focused" x="width/2-8" y="height/2-8" width="16" height="16"/> </draw_ops> <draw_ops name="maximize_focused_pressed"> - <image filename="max_pressed.svg" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="button-bg.svg" colorize="C_button_bg_active" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="max-icon.svg" colorize="C_icon_bg_active" x="width/2-8" y="height/2-8" width="16" height="16"/> </draw_ops> <draw_ops name="maximize_focused_prelight"> - <image filename="max_prelight.svg" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="button-bg.svg" colorize="C_button_bg_hover" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="button-border.svg" colorize="C_button_border_hover" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="max-icon.svg" colorize="C_icon_bg_hover" x="width/2-8" y="height/2-8" width="16" height="16"/> </draw_ops> <draw_ops name="maximize_unfocused"> - <image filename="max_unfocused.svg" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="button-bg.svg" colorize="C_button_bg_unfocused" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="button-border.svg" colorize="C_button_border_unfocused" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="max-icon.svg" colorize="C_icon_bg_unfocused" x="width/2-8" y="height/2-8" width="16" height="16"/> </draw_ops> <draw_ops name="maximize_unfocused_prelight"> - <image filename="max_prelight.svg" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="button-bg.svg" colorize="C_button_bg_hover" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="button-border.svg" colorize="C_button_border_hover" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="max-icon.svg" colorize="C_icon_bg_hover" x="width/2-8" y="height/2-8" width="16" height="16"/> </draw_ops> <draw_ops name="maximize_unfocused_pressed"> - <image filename="max_pressed.svg" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="button-bg.svg" colorize="C_button_bg_active" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="max-icon.svg" colorize="C_icon_bg_active" x="width/2-8" y="height/2-8" width="16" height="16"/> </draw_ops> <!--minimize--> <draw_ops name="minimize_focused"> - <image filename="min.svg" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="button-bg.svg" colorize="C_button_bg_focused" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="button-border.svg" colorize="C_button_border_focused" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="min-icon.svg" colorize="C_icon_bg_focused" x="width/2-8" y="height/2-8" width="16" height="16"/> </draw_ops> <draw_ops name="minimize_focused_pressed"> - <image filename="min_pressed.svg" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="button-bg.svg" colorize="C_button_bg_active" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="min-icon.svg" colorize="C_icon_bg_active" x="width/2-8" y="height/2-8" width="16" height="16"/> </draw_ops> <draw_ops name="minimize_focused_prelight"> - <image filename="min_prelight.svg" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="button-bg.svg" colorize="C_button_bg_hover" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="button-border.svg" colorize="C_button_border_hover" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="min-icon.svg" colorize="C_icon_bg_hover" x="width/2-8" y="height/2-8" width="16" height="16"/> </draw_ops> <draw_ops name="minimize_unfocused"> - <image filename="min_unfocused.svg" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="button-bg.svg" colorize="C_button_bg_unfocused" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="button-border.svg" colorize="C_button_border_unfocused" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="min-icon.svg" colorize="C_icon_bg_unfocused" x="width/2-8" y="height/2-8" width="16" height="16"/> </draw_ops> <draw_ops name="minimize_unfocused_prelight"> - <image filename="min_prelight.svg" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="button-bg.svg" colorize="C_button_bg_hover" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="button-border.svg" colorize="C_button_border_hover" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="min-icon.svg" colorize="C_icon_bg_hover" x="width/2-8" y="height/2-8" width="16" height="16"/> </draw_ops> <draw_ops name="minimize_unfocused_pressed"> - <image filename="min_pressed.svg" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="button-bg.svg" colorize="C_button_bg_active" x="width/2-8" y="height/2-8" width="16" height="16"/> + <image filename="min-icon.svg" colorize="C_icon_bg_active" x="width/2-8" y="height/2-8" width="16" height="16"/> </draw_ops> |