summaryrefslogtreecommitdiff
path: root/desktop-themes/HighContrastInverse
diff options
context:
space:
mode:
authorSamuel Thibault <[email protected]>2018-04-18 13:54:11 +0200
committerraveit65 <[email protected]>2018-04-19 22:58:34 +0200
commitcf0a970f26d30c5db7c0af25396eb6e2dc1924a0 (patch)
tree24905ea8dca4164847c2a40c200a7a4ac87907a3 /desktop-themes/HighContrastInverse
parent10886a79f01abf33f55de321b5ff96d9ada0bbd9 (diff)
downloadmate-themes-cf0a970f26d30c5db7c0af25396eb6e2dc1924a0.tar.bz2
mate-themes-cf0a970f26d30c5db7c0af25396eb6e2dc1924a0.tar.xz
Fix HighContrast themes visibility with metacity
When rendered with metacity (e.g. with metacity-theme-viewer), the back background parts of HighContrast and HighContrastInverse actually show up transparent. This is because the corresponding rectangles were missing the filled attribute. In the HighContrast case, the gtk_arrow is getting drawn black on black (and there is currently no way to change the color), so we can as well draw it by hand to be able to change the color. The close button also deserves bigger width to be more visible. Fixes #211
Diffstat (limited to 'desktop-themes/HighContrastInverse')
-rw-r--r--desktop-themes/HighContrastInverse/metacity-1/metacity-theme-1.xml8
1 files changed, 5 insertions, 3 deletions
diff --git a/desktop-themes/HighContrastInverse/metacity-1/metacity-theme-1.xml b/desktop-themes/HighContrastInverse/metacity-1/metacity-theme-1.xml
index 9129356a..d2fd4c33 100644
--- a/desktop-themes/HighContrastInverse/metacity-1/metacity-theme-1.xml
+++ b/desktop-themes/HighContrastInverse/metacity-1/metacity-theme-1.xml
@@ -135,11 +135,11 @@
<line color="gtk:fg[NORMAL]"
x1="ButtonIPad" y1="ButtonIPad"
x2="width - ButtonIPad - 1" y2="height - ButtonIPad - 1"
- width="1"/>
+ width="3"/>
<line color="gtk:fg[NORMAL]"
x1="ButtonIPad" y1="height - ButtonIPad - 1"
x2="width - ButtonIPad - 1" y2="ButtonIPad"
- width="1"/>
+ width="3"/>
</draw_ops>
<draw_ops name="close_button_pressed">
@@ -147,7 +147,9 @@
</draw_ops>
<draw_ops name="outer_bevel">
- <rectangle color="gtk:fg[NORMAL]"
+ <rectangle color="gtk:bg[NORMAL]" filled="true"
+ x="1" y="1" width="width-3" height="height-3"/>
+ <rectangle color="gtk:fg[NORMAL]" filled="false"
x="0" y="0" width="width-1" height="height-1"/>
<line color="gtk:light[NORMAL]"
x1="1" y1="1" x2="1" y2="height-2"/>