This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch main
in repository eclair.
View the commit online.
commit 65a47d9e72f3a407e707c8e0e1b8fc234990b601
Author: Alastair Poole <[email protected]>
AuthorDate: Tue Nov 24 07:17:36 2026 +0000
data/themes: invert icon state colors.
---
data/themes/common/body.edc | 2 +-
data/themes/common/menu-programs.edc | 2 ++
data/themes/default/images/button_close.svg | 2 +-
.../images/{button_close.svg => button_close_over.svg} | 0
data/themes/default/images/button_expand.svg | 2 +-
data/themes/default/images/button_expand_over.svg | 2 +-
data/themes/default/images/button_menu.svg | 2 +-
data/themes/default/images/button_menu_on.svg | 2 +-
data/themes/default/images/button_minimize.svg | 2 +-
data/themes/default/images/button_minimize_over.svg | 2 +-
data/themes/default/images/images.edc | 1 +
data/themes/default/images/meson.build | 1 +
data/themes/default/programs/body.edc | 14 --------------
data/themes/folio/images/button_close.svg | 2 +-
.../images/{button_close.svg => button_close_over.svg} | 0
data/themes/folio/images/button_expand.svg | 2 +-
data/themes/folio/images/button_expand_over.svg | 2 +-
data/themes/folio/images/button_menu.svg | 2 +-
data/themes/folio/images/button_menu_on.svg | 2 +-
data/themes/folio/images/button_minimize.svg | 2 +-
data/themes/folio/images/button_minimize_over.svg | 2 +-
data/themes/folio/images/images.edc | 1 +
data/themes/folio/images/meson.build | 1 +
data/themes/folio/parts/body.edc | 2 +-
data/themes/frequency/images/button_close.svg | 2 +-
.../images/{button_close.svg => button_close_over.svg} | 0
data/themes/frequency/images/button_expand.svg | 2 +-
data/themes/frequency/images/button_expand_over.svg | 2 +-
data/themes/frequency/images/button_menu.svg | 2 +-
data/themes/frequency/images/button_menu_on.svg | 2 +-
data/themes/frequency/images/button_minimize.svg | 2 +-
data/themes/frequency/images/button_minimize_over.svg | 2 +-
data/themes/frequency/images/images.edc | 1 +
data/themes/frequency/images/meson.build | 1 +
data/themes/frequency/parts/body.edc | 2 +-
data/themes/gant/images/button_close.svg | 2 +-
.../images/{button_close.svg => button_close_over.svg} | 0
data/themes/gant/images/button_expand.svg | 2 +-
data/themes/gant/images/button_expand_over.svg | 2 +-
data/themes/gant/images/button_menu.svg | 2 +-
data/themes/gant/images/button_menu_on.svg | 2 +-
data/themes/gant/images/button_minimize.svg | 2 +-
data/themes/gant/images/button_minimize_over.svg | 2 +-
data/themes/gant/images/images.edc | 1 +
data/themes/gant/images/meson.build | 1 +
data/themes/gant/programs/body.edc | 14 --------------
data/themes/midnight/images/button_close.svg | 2 +-
.../images/{button_close.svg => button_close_over.svg} | 0
data/themes/midnight/images/button_expand.svg | 2 +-
data/themes/midnight/images/button_expand_over.svg | 2 +-
data/themes/midnight/images/button_menu.svg | 2 +-
data/themes/midnight/images/button_menu_on.svg | 2 +-
data/themes/midnight/images/button_minimize.svg | 2 +-
data/themes/midnight/images/button_minimize_over.svg | 2 +-
data/themes/midnight/meson.build | 1 +
data/themes/nocturne/images/button_close.svg | 2 +-
.../images/{button_close.svg => button_close_over.svg} | 0
data/themes/nocturne/images/button_expand.svg | 2 +-
data/themes/nocturne/images/button_expand_over.svg | 2 +-
data/themes/nocturne/images/button_menu.svg | 2 +-
data/themes/nocturne/images/button_menu_on.svg | 2 +-
data/themes/nocturne/images/button_minimize.svg | 2 +-
data/themes/nocturne/images/button_minimize_over.svg | 2 +-
data/themes/nocturne/images/images.edc | 1 +
data/themes/nocturne/images/meson.build | 1 +
data/themes/nocturne/parts/body.edc | 2 +-
data/themes/undertow/images/button_close.svg | 2 +-
.../images/{button_close.svg => button_close_over.svg} | 0
data/themes/undertow/images/button_expand.svg | 2 +-
data/themes/undertow/images/button_expand_over.svg | 2 +-
data/themes/undertow/images/button_menu.svg | 2 +-
data/themes/undertow/images/button_menu_on.svg | 2 +-
data/themes/undertow/images/button_minimize.svg | 2 +-
data/themes/undertow/images/button_minimize_over.svg | 2 +-
data/themes/undertow/images/images.edc | 1 +
data/themes/undertow/images/meson.build | 1 +
data/themes/undertow/parts/body.edc | 2 +-
data/themes/voltage/images/button_close.svg | 2 +-
.../images/{button_close.svg => button_close_over.svg} | 0
data/themes/voltage/images/button_expand.svg | 2 +-
data/themes/voltage/images/button_expand_over.svg | 2 +-
data/themes/voltage/images/button_menu.svg | 2 +-
data/themes/voltage/images/button_menu_on.svg | 2 +-
data/themes/voltage/images/button_minimize.svg | 2 +-
data/themes/voltage/images/button_minimize_over.svg | 2 +-
data/themes/voltage/images/images.edc | 1 +
data/themes/voltage/images/meson.build | 1 +
data/themes/voltage/parts/body.edc | 2 +-
src/bin/theme-dialogs.py | 2 +-
src/bin/theme-vectors.py | 5 +----
src/tests/vector-controls.c | 2 +-
91 files changed, 82 insertions(+), 96 deletions(-)
diff --git a/data/themes/common/body.edc b/data/themes/common/body.edc
index ddeb34f..83226f8 100644
--- a/data/themes/common/body.edc
+++ b/data/themes/common/body.edc
@@ -39,4 +39,4 @@ part { \
}
WINDOW_BUTTON("button_minimize", 222, "button_minimize_over.svg")
WINDOW_BUTTON("button_expand", 246, "button_expand_over.svg")
-WINDOW_BUTTON("button_close", 270, "button_close.svg")
+WINDOW_BUTTON("button_close", 270, "button_close_over.svg")
diff --git a/data/themes/common/menu-programs.edc b/data/themes/common/menu-programs.edc
index 7b628af..44f5d34 100644
--- a/data/themes/common/menu-programs.edc
+++ b/data/themes/common/menu-programs.edc
@@ -9,3 +9,5 @@ program { signal: "mouse,out"; source: "button_minimize"; action: STATE_SET "def
program { signal: "mouse,in"; source: "button_expand"; action: STATE_SET "over" 0.0; target: "button_expand"; }
program { signal: "mouse,out"; source: "button_expand"; action: STATE_SET "default" 0.0; target: "button_expand"; }
program { signal: "mouse,clicked,1"; source: "button_expand"; action: SIGNAL_EMIT "eclair_main_expand" ""; }
+program { signal: "mouse,in"; source: "button_close"; action: STATE_SET "over" 0.0; target: "button_close"; }
+program { signal: "mouse,out"; source: "button_close"; action: STATE_SET "default" 0.0; target: "button_close"; }
diff --git a/data/themes/default/images/button_close.svg b/data/themes/default/images/button_close.svg
index cd2c201..2c3780c 100644
--- a/data/themes/default/images/button_close.svg
+++ b/data/themes/default/images/button_close.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 6 14 14M14 6 6 14" fill="none" stroke="#67665f" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 6 14 14M14 6 6 14" fill="none" stroke="#b68b38" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/default/images/button_close.svg b/data/themes/default/images/button_close_over.svg
similarity index 100%
copy from data/themes/default/images/button_close.svg
copy to data/themes/default/images/button_close_over.svg
diff --git a/data/themes/default/images/button_expand.svg b/data/themes/default/images/button_expand.svg
index 3c52376..cc1ad15 100644
--- a/data/themes/default/images/button_expand.svg
+++ b/data/themes/default/images/button_expand.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#67665f" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#b68b38" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/default/images/button_expand_over.svg b/data/themes/default/images/button_expand_over.svg
index cc1ad15..3c52376 100644
--- a/data/themes/default/images/button_expand_over.svg
+++ b/data/themes/default/images/button_expand_over.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#b68b38" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#67665f" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/default/images/button_menu.svg b/data/themes/default/images/button_menu.svg
index c09be6a..69cb2b0 100644
--- a/data/themes/default/images/button_menu.svg
+++ b/data/themes/default/images/button_menu.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#67665f" stroke-width="1.2" stroke-linecap="round"/></svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#b68b38" stroke-width="1.2" stroke-linecap="round"/></svg>
diff --git a/data/themes/default/images/button_menu_on.svg b/data/themes/default/images/button_menu_on.svg
index 69cb2b0..c09be6a 100644
--- a/data/themes/default/images/button_menu_on.svg
+++ b/data/themes/default/images/button_menu_on.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#b68b38" stroke-width="1.2" stroke-linecap="round"/></svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#67665f" stroke-width="1.2" stroke-linecap="round"/></svg>
diff --git a/data/themes/default/images/button_minimize.svg b/data/themes/default/images/button_minimize.svg
index 96506bb..cf357d2 100644
--- a/data/themes/default/images/button_minimize.svg
+++ b/data/themes/default/images/button_minimize.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 12h8" fill="none" stroke="#67665f" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 12h8" fill="none" stroke="#b68b38" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/default/images/button_minimize_over.svg b/data/themes/default/images/button_minimize_over.svg
index cf357d2..96506bb 100644
--- a/data/themes/default/images/button_minimize_over.svg
+++ b/data/themes/default/images/button_minimize_over.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 12h8" fill="none" stroke="#b68b38" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 12h8" fill="none" stroke="#67665f" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/default/images/images.edc b/data/themes/default/images/images.edc
index 5dd05f7..09d5880 100644
--- a/data/themes/default/images/images.edc
+++ b/data/themes/default/images/images.edc
@@ -6,6 +6,7 @@ images {
image: "shadow_drawer.png" COMP;
vector: "body.svg";
vector: "button_close.svg";
+ vector: "button_close_over.svg";
vector: "button_expand.svg";
vector: "button_expand_over.svg";
vector: "button_menu.svg";
diff --git a/data/themes/default/images/meson.build b/data/themes/default/images/meson.build
index 3337c90..cda7387 100644
--- a/data/themes/default/images/meson.build
+++ b/data/themes/default/images/meson.build
@@ -2,6 +2,7 @@
theme_vectors = files(
'body.svg',
'button_close.svg',
+ 'button_close_over.svg',
'button_expand.svg',
'button_expand_over.svg',
'button_menu.svg',
diff --git a/data/themes/default/programs/body.edc b/data/themes/default/programs/body.edc
index f6ec0d2..e969b37 100644
--- a/data/themes/default/programs/body.edc
+++ b/data/themes/default/programs/body.edc
@@ -4,20 +4,6 @@ program {
source: "button_minimize";
action: SIGNAL_EMIT "eclair_main_minimize" "";
}
-program {
- name: "button_close_down";
- signal: "mouse,down,1";
- source: "button_close";
- action: STATE_SET "down" 0.0;
- target: "button_close";
-}
-program {
- name: "button_close_up";
- signal: "mouse,up,1";
- source: "button_close";
- action: STATE_SET "default" 0.0;
- target: "button_close";
-}
program {
name: "button_close_clicked";
signal: "mouse,clicked,1";
diff --git a/data/themes/folio/images/button_close.svg b/data/themes/folio/images/button_close.svg
index 8ac4a80..28205b8 100644
--- a/data/themes/folio/images/button_close.svg
+++ b/data/themes/folio/images/button_close.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 6 14 14M14 6 6 14" fill="none" stroke="#4f4337" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 6 14 14M14 6 6 14" fill="none" stroke="#b56549" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/folio/images/button_close.svg b/data/themes/folio/images/button_close_over.svg
similarity index 100%
copy from data/themes/folio/images/button_close.svg
copy to data/themes/folio/images/button_close_over.svg
diff --git a/data/themes/folio/images/button_expand.svg b/data/themes/folio/images/button_expand.svg
index 4162311..efe9be4 100644
--- a/data/themes/folio/images/button_expand.svg
+++ b/data/themes/folio/images/button_expand.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#4f4337" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#b56549" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/folio/images/button_expand_over.svg b/data/themes/folio/images/button_expand_over.svg
index efe9be4..4162311 100644
--- a/data/themes/folio/images/button_expand_over.svg
+++ b/data/themes/folio/images/button_expand_over.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#b56549" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#4f4337" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/folio/images/button_menu.svg b/data/themes/folio/images/button_menu.svg
index 30d6ddf..885b01f 100644
--- a/data/themes/folio/images/button_menu.svg
+++ b/data/themes/folio/images/button_menu.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#4f4337" stroke-width="1.2" stroke-linecap="round"/></svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#b56549" stroke-width="1.2" stroke-linecap="round"/></svg>
diff --git a/data/themes/folio/images/button_menu_on.svg b/data/themes/folio/images/button_menu_on.svg
index 885b01f..30d6ddf 100644
--- a/data/themes/folio/images/button_menu_on.svg
+++ b/data/themes/folio/images/button_menu_on.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#b56549" stroke-width="1.2" stroke-linecap="round"/></svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#4f4337" stroke-width="1.2" stroke-linecap="round"/></svg>
diff --git a/data/themes/folio/images/button_minimize.svg b/data/themes/folio/images/button_minimize.svg
index 1b8bc3c..a782050 100644
--- a/data/themes/folio/images/button_minimize.svg
+++ b/data/themes/folio/images/button_minimize.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 12h8" fill="none" stroke="#4f4337" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 12h8" fill="none" stroke="#b56549" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/folio/images/button_minimize_over.svg b/data/themes/folio/images/button_minimize_over.svg
index a782050..1b8bc3c 100644
--- a/data/themes/folio/images/button_minimize_over.svg
+++ b/data/themes/folio/images/button_minimize_over.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 12h8" fill="none" stroke="#b56549" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 12h8" fill="none" stroke="#4f4337" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/folio/images/images.edc b/data/themes/folio/images/images.edc
index 47e1141..641c92f 100644
--- a/data/themes/folio/images/images.edc
+++ b/data/themes/folio/images/images.edc
@@ -6,6 +6,7 @@ images {
image: "shadow_drawer.png" COMP;
vector: "body.svg";
vector: "button_close.svg";
+ vector: "button_close_over.svg";
vector: "button_expand.svg";
vector: "button_expand_over.svg";
vector: "button_menu.svg";
diff --git a/data/themes/folio/images/meson.build b/data/themes/folio/images/meson.build
index a3381b8..73d7b01 100644
--- a/data/themes/folio/images/meson.build
+++ b/data/themes/folio/images/meson.build
@@ -2,6 +2,7 @@
theme_vectors = files(
'body.svg',
'button_close.svg',
+ 'button_close_over.svg',
'button_expand.svg',
'button_expand_over.svg',
'button_menu.svg',
diff --git a/data/themes/folio/parts/body.edc b/data/themes/folio/parts/body.edc
index 46c139b..a0764cb 100644
--- a/data/themes/folio/parts/body.edc
+++ b/data/themes/folio/parts/body.edc
@@ -39,7 +39,7 @@ part { \
}
WINDOW_BUTTON("button_minimize", 222, "button_minimize_over.svg")
WINDOW_BUTTON("button_expand", 246, "button_expand_over.svg")
-WINDOW_BUTTON("button_close", 270, "button_close.svg")
+WINDOW_BUTTON("button_close", 270, "button_close_over.svg")
part {
name: "brand"; type: TEXT; scale: 1; mouse_events: 0;
diff --git a/data/themes/frequency/images/button_close.svg b/data/themes/frequency/images/button_close.svg
index 55f2a72..f6fa05e 100644
--- a/data/themes/frequency/images/button_close.svg
+++ b/data/themes/frequency/images/button_close.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 6 14 14M14 6 6 14" fill="none" stroke="#ebcc9b" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 6 14 14M14 6 6 14" fill="none" stroke="#dba352" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/frequency/images/button_close.svg b/data/themes/frequency/images/button_close_over.svg
similarity index 100%
copy from data/themes/frequency/images/button_close.svg
copy to data/themes/frequency/images/button_close_over.svg
diff --git a/data/themes/frequency/images/button_expand.svg b/data/themes/frequency/images/button_expand.svg
index a153146..8416961 100644
--- a/data/themes/frequency/images/button_expand.svg
+++ b/data/themes/frequency/images/button_expand.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#ebcc9b" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#dba352" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/frequency/images/button_expand_over.svg b/data/themes/frequency/images/button_expand_over.svg
index 8416961..a153146 100644
--- a/data/themes/frequency/images/button_expand_over.svg
+++ b/data/themes/frequency/images/button_expand_over.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#dba352" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#ebcc9b" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/frequency/images/button_menu.svg b/data/themes/frequency/images/button_menu.svg
index 8ce864d..cdb5acc 100644
--- a/data/themes/frequency/images/button_menu.svg
+++ b/data/themes/frequency/images/button_menu.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#ebcc9b" stroke-width="1.2" stroke-linecap="round"/></svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#dba352" stroke-width="1.2" stroke-linecap="round"/></svg>
diff --git a/data/themes/frequency/images/button_menu_on.svg b/data/themes/frequency/images/button_menu_on.svg
index cdb5acc..8ce864d 100644
--- a/data/themes/frequency/images/button_menu_on.svg
+++ b/data/themes/frequency/images/button_menu_on.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#dba352" stroke-width="1.2" stroke-linecap="round"/></svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#ebcc9b" stroke-width="1.2" stroke-linecap="round"/></svg>
diff --git a/data/themes/frequency/images/button_minimize.svg b/data/themes/frequency/images/button_minimize.svg
index 4b6f08c..3094424 100644
--- a/data/themes/frequency/images/button_minimize.svg
+++ b/data/themes/frequency/images/button_minimize.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 12h8" fill="none" stroke="#ebcc9b" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 12h8" fill="none" stroke="#dba352" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/frequency/images/button_minimize_over.svg b/data/themes/frequency/images/button_minimize_over.svg
index 3094424..4b6f08c 100644
--- a/data/themes/frequency/images/button_minimize_over.svg
+++ b/data/themes/frequency/images/button_minimize_over.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 12h8" fill="none" stroke="#dba352" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 12h8" fill="none" stroke="#ebcc9b" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/frequency/images/images.edc b/data/themes/frequency/images/images.edc
index ac809b2..300f088 100644
--- a/data/themes/frequency/images/images.edc
+++ b/data/themes/frequency/images/images.edc
@@ -6,6 +6,7 @@ images {
image: "shadow_drawer.png" COMP;
vector: "body.svg";
vector: "button_close.svg";
+ vector: "button_close_over.svg";
vector: "button_expand.svg";
vector: "button_expand_over.svg";
vector: "button_menu.svg";
diff --git a/data/themes/frequency/images/meson.build b/data/themes/frequency/images/meson.build
index 663c69c..50ba2a0 100644
--- a/data/themes/frequency/images/meson.build
+++ b/data/themes/frequency/images/meson.build
@@ -2,6 +2,7 @@
theme_vectors = files(
'body.svg',
'button_close.svg',
+ 'button_close_over.svg',
'button_expand.svg',
'button_expand_over.svg',
'button_menu.svg',
diff --git a/data/themes/frequency/parts/body.edc b/data/themes/frequency/parts/body.edc
index 875cddc..dfa0ada 100644
--- a/data/themes/frequency/parts/body.edc
+++ b/data/themes/frequency/parts/body.edc
@@ -39,7 +39,7 @@ part { \
}
WINDOW_BUTTON("button_minimize", 302, "button_minimize_over.svg")
WINDOW_BUTTON("button_expand", 326, "button_expand_over.svg")
-WINDOW_BUTTON("button_close", 350, "button_close.svg")
+WINDOW_BUTTON("button_close", 350, "button_close_over.svg")
part {
name: "status_light"; type: VECTOR; scale: 1; mouse_events: 0;
diff --git a/data/themes/gant/images/button_close.svg b/data/themes/gant/images/button_close.svg
index 078f388..bd4e014 100644
--- a/data/themes/gant/images/button_close.svg
+++ b/data/themes/gant/images/button_close.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 6 14 14M14 6 6 14" fill="none" stroke="#d4e5ef" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 6 14 14M14 6 6 14" fill="none" stroke="#b8dcef" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/gant/images/button_close.svg b/data/themes/gant/images/button_close_over.svg
similarity index 100%
copy from data/themes/gant/images/button_close.svg
copy to data/themes/gant/images/button_close_over.svg
diff --git a/data/themes/gant/images/button_expand.svg b/data/themes/gant/images/button_expand.svg
index eaafe12..5975bfb 100644
--- a/data/themes/gant/images/button_expand.svg
+++ b/data/themes/gant/images/button_expand.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#d4e5ef" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#b8dcef" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/gant/images/button_expand_over.svg b/data/themes/gant/images/button_expand_over.svg
index 5975bfb..eaafe12 100644
--- a/data/themes/gant/images/button_expand_over.svg
+++ b/data/themes/gant/images/button_expand_over.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#b8dcef" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#d4e5ef" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/gant/images/button_menu.svg b/data/themes/gant/images/button_menu.svg
index 8b5c44d..85fd6d3 100644
--- a/data/themes/gant/images/button_menu.svg
+++ b/data/themes/gant/images/button_menu.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#d4e5ef" stroke-width="1.2" stroke-linecap="round"/></svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#b8dcef" stroke-width="1.2" stroke-linecap="round"/></svg>
diff --git a/data/themes/gant/images/button_menu_on.svg b/data/themes/gant/images/button_menu_on.svg
index 85fd6d3..8b5c44d 100644
--- a/data/themes/gant/images/button_menu_on.svg
+++ b/data/themes/gant/images/button_menu_on.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#b8dcef" stroke-width="1.2" stroke-linecap="round"/></svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#d4e5ef" stroke-width="1.2" stroke-linecap="round"/></svg>
diff --git a/data/themes/gant/images/button_minimize.svg b/data/themes/gant/images/button_minimize.svg
index 3cdd49b..e34a9f8 100644
--- a/data/themes/gant/images/button_minimize.svg
+++ b/data/themes/gant/images/button_minimize.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 12h8" fill="none" stroke="#d4e5ef" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 12h8" fill="none" stroke="#b8dcef" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/gant/images/button_minimize_over.svg b/data/themes/gant/images/button_minimize_over.svg
index e34a9f8..3cdd49b 100644
--- a/data/themes/gant/images/button_minimize_over.svg
+++ b/data/themes/gant/images/button_minimize_over.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 12h8" fill="none" stroke="#b8dcef" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 12h8" fill="none" stroke="#d4e5ef" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/gant/images/images.edc b/data/themes/gant/images/images.edc
index 5dd05f7..09d5880 100644
--- a/data/themes/gant/images/images.edc
+++ b/data/themes/gant/images/images.edc
@@ -6,6 +6,7 @@ images {
image: "shadow_drawer.png" COMP;
vector: "body.svg";
vector: "button_close.svg";
+ vector: "button_close_over.svg";
vector: "button_expand.svg";
vector: "button_expand_over.svg";
vector: "button_menu.svg";
diff --git a/data/themes/gant/images/meson.build b/data/themes/gant/images/meson.build
index 3337c90..cda7387 100644
--- a/data/themes/gant/images/meson.build
+++ b/data/themes/gant/images/meson.build
@@ -2,6 +2,7 @@
theme_vectors = files(
'body.svg',
'button_close.svg',
+ 'button_close_over.svg',
'button_expand.svg',
'button_expand_over.svg',
'button_menu.svg',
diff --git a/data/themes/gant/programs/body.edc b/data/themes/gant/programs/body.edc
index f6ec0d2..e969b37 100644
--- a/data/themes/gant/programs/body.edc
+++ b/data/themes/gant/programs/body.edc
@@ -4,20 +4,6 @@ program {
source: "button_minimize";
action: SIGNAL_EMIT "eclair_main_minimize" "";
}
-program {
- name: "button_close_down";
- signal: "mouse,down,1";
- source: "button_close";
- action: STATE_SET "down" 0.0;
- target: "button_close";
-}
-program {
- name: "button_close_up";
- signal: "mouse,up,1";
- source: "button_close";
- action: STATE_SET "default" 0.0;
- target: "button_close";
-}
program {
name: "button_close_clicked";
signal: "mouse,clicked,1";
diff --git a/data/themes/midnight/images/button_close.svg b/data/themes/midnight/images/button_close.svg
index dd88860..88b5439 100644
--- a/data/themes/midnight/images/button_close.svg
+++ b/data/themes/midnight/images/button_close.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 6 14 14M14 6 6 14" fill="none" stroke="#e0e9f8" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 6 14 14M14 6 6 14" fill="none" stroke="#7bb1ff" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/midnight/images/button_close.svg b/data/themes/midnight/images/button_close_over.svg
similarity index 100%
copy from data/themes/midnight/images/button_close.svg
copy to data/themes/midnight/images/button_close_over.svg
diff --git a/data/themes/midnight/images/button_expand.svg b/data/themes/midnight/images/button_expand.svg
index db1a2bd..52fdc67 100644
--- a/data/themes/midnight/images/button_expand.svg
+++ b/data/themes/midnight/images/button_expand.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#e0e9f8" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#7bb1ff" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/midnight/images/button_expand_over.svg b/data/themes/midnight/images/button_expand_over.svg
index 52fdc67..db1a2bd 100644
--- a/data/themes/midnight/images/button_expand_over.svg
+++ b/data/themes/midnight/images/button_expand_over.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#7bb1ff" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#e0e9f8" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/midnight/images/button_menu.svg b/data/themes/midnight/images/button_menu.svg
index e532b67..30a11c1 100644
--- a/data/themes/midnight/images/button_menu.svg
+++ b/data/themes/midnight/images/button_menu.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#e0e9f8" stroke-width="1.2" stroke-linecap="round"/></svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#7bb1ff" stroke-width="1.2" stroke-linecap="round"/></svg>
diff --git a/data/themes/midnight/images/button_menu_on.svg b/data/themes/midnight/images/button_menu_on.svg
index 30a11c1..e532b67 100644
--- a/data/themes/midnight/images/button_menu_on.svg
+++ b/data/themes/midnight/images/button_menu_on.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#7bb1ff" stroke-width="1.2" stroke-linecap="round"/></svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#e0e9f8" stroke-width="1.2" stroke-linecap="round"/></svg>
diff --git a/data/themes/midnight/images/button_minimize.svg b/data/themes/midnight/images/button_minimize.svg
index d32713f..0f1d898 100644
--- a/data/themes/midnight/images/button_minimize.svg
+++ b/data/themes/midnight/images/button_minimize.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 12h8" fill="none" stroke="#e0e9f8" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 12h8" fill="none" stroke="#7bb1ff" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/midnight/images/button_minimize_over.svg b/data/themes/midnight/images/button_minimize_over.svg
index 0f1d898..d32713f 100644
--- a/data/themes/midnight/images/button_minimize_over.svg
+++ b/data/themes/midnight/images/button_minimize_over.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 12h8" fill="none" stroke="#7bb1ff" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 12h8" fill="none" stroke="#e0e9f8" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/midnight/meson.build b/data/themes/midnight/meson.build
index 05fd216..96d514c 100644
--- a/data/themes/midnight/meson.build
+++ b/data/themes/midnight/meson.build
@@ -1,6 +1,7 @@
midnight_vectors = files(
'images/body.svg',
'images/button_close.svg',
+ 'images/button_close_over.svg',
'images/button_expand.svg',
'images/button_expand_over.svg',
'images/button_menu.svg',
diff --git a/data/themes/nocturne/images/button_close.svg b/data/themes/nocturne/images/button_close.svg
index 4be975a..642c158 100644
--- a/data/themes/nocturne/images/button_close.svg
+++ b/data/themes/nocturne/images/button_close.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 6 14 14M14 6 6 14" fill="none" stroke="#d7ddef" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 6 14 14M14 6 6 14" fill="none" stroke="#85d9c4" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/nocturne/images/button_close.svg b/data/themes/nocturne/images/button_close_over.svg
similarity index 100%
copy from data/themes/nocturne/images/button_close.svg
copy to data/themes/nocturne/images/button_close_over.svg
diff --git a/data/themes/nocturne/images/button_expand.svg b/data/themes/nocturne/images/button_expand.svg
index 8162bd1..a498b00 100644
--- a/data/themes/nocturne/images/button_expand.svg
+++ b/data/themes/nocturne/images/button_expand.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#d7ddef" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#85d9c4" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/nocturne/images/button_expand_over.svg b/data/themes/nocturne/images/button_expand_over.svg
index a498b00..8162bd1 100644
--- a/data/themes/nocturne/images/button_expand_over.svg
+++ b/data/themes/nocturne/images/button_expand_over.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#85d9c4" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#d7ddef" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/nocturne/images/button_menu.svg b/data/themes/nocturne/images/button_menu.svg
index 919d799..553487f 100644
--- a/data/themes/nocturne/images/button_menu.svg
+++ b/data/themes/nocturne/images/button_menu.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#d7ddef" stroke-width="1.2" stroke-linecap="round"/></svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#85d9c4" stroke-width="1.2" stroke-linecap="round"/></svg>
diff --git a/data/themes/nocturne/images/button_menu_on.svg b/data/themes/nocturne/images/button_menu_on.svg
index 553487f..919d799 100644
--- a/data/themes/nocturne/images/button_menu_on.svg
+++ b/data/themes/nocturne/images/button_menu_on.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#85d9c4" stroke-width="1.2" stroke-linecap="round"/></svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#d7ddef" stroke-width="1.2" stroke-linecap="round"/></svg>
diff --git a/data/themes/nocturne/images/button_minimize.svg b/data/themes/nocturne/images/button_minimize.svg
index ea0e94f..24d333a 100644
--- a/data/themes/nocturne/images/button_minimize.svg
+++ b/data/themes/nocturne/images/button_minimize.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 12h8" fill="none" stroke="#d7ddef" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 12h8" fill="none" stroke="#85d9c4" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/nocturne/images/button_minimize_over.svg b/data/themes/nocturne/images/button_minimize_over.svg
index 24d333a..ea0e94f 100644
--- a/data/themes/nocturne/images/button_minimize_over.svg
+++ b/data/themes/nocturne/images/button_minimize_over.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 12h8" fill="none" stroke="#85d9c4" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 12h8" fill="none" stroke="#d7ddef" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/nocturne/images/images.edc b/data/themes/nocturne/images/images.edc
index 3ddce1e..d4c8cc0 100644
--- a/data/themes/nocturne/images/images.edc
+++ b/data/themes/nocturne/images/images.edc
@@ -6,6 +6,7 @@ images {
image: "shadow_drawer.png" COMP;
vector: "body.svg";
vector: "button_close.svg";
+ vector: "button_close_over.svg";
vector: "button_expand.svg";
vector: "button_expand_over.svg";
vector: "button_menu.svg";
diff --git a/data/themes/nocturne/images/meson.build b/data/themes/nocturne/images/meson.build
index 029d3f4..85a713a 100644
--- a/data/themes/nocturne/images/meson.build
+++ b/data/themes/nocturne/images/meson.build
@@ -2,6 +2,7 @@
theme_vectors = files(
'body.svg',
'button_close.svg',
+ 'button_close_over.svg',
'button_expand.svg',
'button_expand_over.svg',
'button_menu.svg',
diff --git a/data/themes/nocturne/parts/body.edc b/data/themes/nocturne/parts/body.edc
index ccef0e0..03ca0df 100644
--- a/data/themes/nocturne/parts/body.edc
+++ b/data/themes/nocturne/parts/body.edc
@@ -39,7 +39,7 @@ part { \
}
WINDOW_BUTTON("button_minimize", 222, "button_minimize_over.svg")
WINDOW_BUTTON("button_expand", 246, "button_expand_over.svg")
-WINDOW_BUTTON("button_close", 270, "button_close.svg")
+WINDOW_BUTTON("button_close", 270, "button_close_over.svg")
part {
name: "status_light"; type: VECTOR; scale: 1; mouse_events: 0;
diff --git a/data/themes/undertow/images/button_close.svg b/data/themes/undertow/images/button_close.svg
index a37146a..e742887 100644
--- a/data/themes/undertow/images/button_close.svg
+++ b/data/themes/undertow/images/button_close.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 6 14 14M14 6 6 14" fill="none" stroke="#b6e2d8" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 6 14 14M14 6 6 14" fill="none" stroke="#71d9b8" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/undertow/images/button_close.svg b/data/themes/undertow/images/button_close_over.svg
similarity index 100%
copy from data/themes/undertow/images/button_close.svg
copy to data/themes/undertow/images/button_close_over.svg
diff --git a/data/themes/undertow/images/button_expand.svg b/data/themes/undertow/images/button_expand.svg
index 587d284..5e97ae9 100644
--- a/data/themes/undertow/images/button_expand.svg
+++ b/data/themes/undertow/images/button_expand.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#b6e2d8" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#71d9b8" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/undertow/images/button_expand_over.svg b/data/themes/undertow/images/button_expand_over.svg
index 5e97ae9..587d284 100644
--- a/data/themes/undertow/images/button_expand_over.svg
+++ b/data/themes/undertow/images/button_expand_over.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#71d9b8" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#b6e2d8" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/undertow/images/button_menu.svg b/data/themes/undertow/images/button_menu.svg
index 75c1a9c..6d45ef1 100644
--- a/data/themes/undertow/images/button_menu.svg
+++ b/data/themes/undertow/images/button_menu.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#b6e2d8" stroke-width="1.2" stroke-linecap="round"/></svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#71d9b8" stroke-width="1.2" stroke-linecap="round"/></svg>
diff --git a/data/themes/undertow/images/button_menu_on.svg b/data/themes/undertow/images/button_menu_on.svg
index 6d45ef1..75c1a9c 100644
--- a/data/themes/undertow/images/button_menu_on.svg
+++ b/data/themes/undertow/images/button_menu_on.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#71d9b8" stroke-width="1.2" stroke-linecap="round"/></svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#b6e2d8" stroke-width="1.2" stroke-linecap="round"/></svg>
diff --git a/data/themes/undertow/images/button_minimize.svg b/data/themes/undertow/images/button_minimize.svg
index 0025e39..a03a481 100644
--- a/data/themes/undertow/images/button_minimize.svg
+++ b/data/themes/undertow/images/button_minimize.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 12h8" fill="none" stroke="#b6e2d8" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 12h8" fill="none" stroke="#71d9b8" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/undertow/images/button_minimize_over.svg b/data/themes/undertow/images/button_minimize_over.svg
index a03a481..0025e39 100644
--- a/data/themes/undertow/images/button_minimize_over.svg
+++ b/data/themes/undertow/images/button_minimize_over.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 12h8" fill="none" stroke="#71d9b8" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 12h8" fill="none" stroke="#b6e2d8" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/undertow/images/images.edc b/data/themes/undertow/images/images.edc
index 183cfb3..e575ace 100644
--- a/data/themes/undertow/images/images.edc
+++ b/data/themes/undertow/images/images.edc
@@ -6,6 +6,7 @@ images {
image: "shadow_drawer.png" COMP;
vector: "body.svg";
vector: "button_close.svg";
+ vector: "button_close_over.svg";
vector: "button_expand.svg";
vector: "button_expand_over.svg";
vector: "button_menu.svg";
diff --git a/data/themes/undertow/images/meson.build b/data/themes/undertow/images/meson.build
index dc14496..0fb5d58 100644
--- a/data/themes/undertow/images/meson.build
+++ b/data/themes/undertow/images/meson.build
@@ -2,6 +2,7 @@
theme_vectors = files(
'body.svg',
'button_close.svg',
+ 'button_close_over.svg',
'button_expand.svg',
'button_expand_over.svg',
'button_menu.svg',
diff --git a/data/themes/undertow/parts/body.edc b/data/themes/undertow/parts/body.edc
index d78acea..57cfaa2 100644
--- a/data/themes/undertow/parts/body.edc
+++ b/data/themes/undertow/parts/body.edc
@@ -39,7 +39,7 @@ part { \
}
WINDOW_BUTTON("button_minimize", 262, "button_minimize_over.svg")
WINDOW_BUTTON("button_expand", 286, "button_expand_over.svg")
-WINDOW_BUTTON("button_close", 310, "button_close.svg")
+WINDOW_BUTTON("button_close", 310, "button_close_over.svg")
/* A sonar echo expands through drawing geometry, without SVG object maps. */
part {
diff --git a/data/themes/voltage/images/button_close.svg b/data/themes/voltage/images/button_close.svg
index b3e3d57..e5fb5b2 100644
--- a/data/themes/voltage/images/button_close.svg
+++ b/data/themes/voltage/images/button_close.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 6 14 14M14 6 6 14" fill="none" stroke="#d0f2ef" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 6 14 14M14 6 6 14" fill="none" stroke="#dcff53" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/voltage/images/button_close.svg b/data/themes/voltage/images/button_close_over.svg
similarity index 100%
copy from data/themes/voltage/images/button_close.svg
copy to data/themes/voltage/images/button_close_over.svg
diff --git a/data/themes/voltage/images/button_expand.svg b/data/themes/voltage/images/button_expand.svg
index 35dc8c0..471ff5f 100644
--- a/data/themes/voltage/images/button_expand.svg
+++ b/data/themes/voltage/images/button_expand.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#d0f2ef" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#dcff53" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/voltage/images/button_expand_over.svg b/data/themes/voltage/images/button_expand_over.svg
index 471ff5f..35dc8c0 100644
--- a/data/themes/voltage/images/button_expand_over.svg
+++ b/data/themes/voltage/images/button_expand_over.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#dcff53" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3" fill="none" stroke="#d0f2ef" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/voltage/images/button_menu.svg b/data/themes/voltage/images/button_menu.svg
index 5d03a96..100e4db 100644
--- a/data/themes/voltage/images/button_menu.svg
+++ b/data/themes/voltage/images/button_menu.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#d0f2ef" stroke-width="1.2" stroke-linecap="round"/></svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#dcff53" stroke-width="1.2" stroke-linecap="round"/></svg>
diff --git a/data/themes/voltage/images/button_menu_on.svg b/data/themes/voltage/images/button_menu_on.svg
index 100e4db..5d03a96 100644
--- a/data/themes/voltage/images/button_menu_on.svg
+++ b/data/themes/voltage/images/button_menu_on.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#dcff53" stroke-width="1.2" stroke-linecap="round"/></svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none"><path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="#d0f2ef" stroke-width="1.2" stroke-linecap="round"/></svg>
diff --git a/data/themes/voltage/images/button_minimize.svg b/data/themes/voltage/images/button_minimize.svg
index b7d8544..7fcf307 100644
--- a/data/themes/voltage/images/button_minimize.svg
+++ b/data/themes/voltage/images/button_minimize.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 12h8" fill="none" stroke="#d0f2ef" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 12h8" fill="none" stroke="#dcff53" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/voltage/images/button_minimize_over.svg b/data/themes/voltage/images/button_minimize_over.svg
index 7fcf307..b7d8544 100644
--- a/data/themes/voltage/images/button_minimize_over.svg
+++ b/data/themes/voltage/images/button_minimize_over.svg
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" preserveAspectRatio="none">
<defs></defs>
-<path d="M6 12h8" fill="none" stroke="#dcff53" stroke-width="1.4" stroke-linecap="round"/>
+<path d="M6 12h8" fill="none" stroke="#d0f2ef" stroke-width="1.4" stroke-linecap="round"/>
</svg>
diff --git a/data/themes/voltage/images/images.edc b/data/themes/voltage/images/images.edc
index b46aaa7..6d5652b 100644
--- a/data/themes/voltage/images/images.edc
+++ b/data/themes/voltage/images/images.edc
@@ -8,6 +8,7 @@ images {
image: "shadow_drawer.png" COMP;
vector: "body.svg";
vector: "button_close.svg";
+ vector: "button_close_over.svg";
vector: "button_expand.svg";
vector: "button_expand_over.svg";
vector: "button_menu.svg";
diff --git a/data/themes/voltage/images/meson.build b/data/themes/voltage/images/meson.build
index 029d3f4..85a713a 100644
--- a/data/themes/voltage/images/meson.build
+++ b/data/themes/voltage/images/meson.build
@@ -2,6 +2,7 @@
theme_vectors = files(
'body.svg',
'button_close.svg',
+ 'button_close_over.svg',
'button_expand.svg',
'button_expand_over.svg',
'button_menu.svg',
diff --git a/data/themes/voltage/parts/body.edc b/data/themes/voltage/parts/body.edc
index 036a153..bd7f605 100644
--- a/data/themes/voltage/parts/body.edc
+++ b/data/themes/voltage/parts/body.edc
@@ -39,7 +39,7 @@ part { \
}
WINDOW_BUTTON("button_minimize", 262, "button_minimize_over.svg")
WINDOW_BUTTON("button_expand", 286, "button_expand_over.svg")
-WINDOW_BUTTON("button_close", 310, "button_close.svg")
+WINDOW_BUTTON("button_close", 310, "button_close_over.svg")
part {
name: "status_light"; type: VECTOR; scale: 1; mouse_events: 0;
diff --git a/src/bin/theme-dialogs.py b/src/bin/theme-dialogs.py
index 66ad519..411fd26 100644
--- a/src/bin/theme-dialogs.py
+++ b/src/bin/theme-dialogs.py
@@ -15,7 +15,7 @@ def build(root, theme, p):
panel('ui_pressed', p['bottom'], p['accent'])
panel('ui_menu', p['bottom'], p['edge'], 240, 240)
panel('ui_search', p['well'], p['edge'], 600, 40)
- for suffix, ink in [('', p['ink']), ('_on', p['accent'])]:
+ for suffix, ink in [('', p['accent']), ('_on', p['ink'])]:
svg('button_menu' + suffix, 20, 20,
f'<path d="M6 6.5h8M6 10h8M6 13.5h8" fill="none" stroke="{ink}" stroke-width="1.2" stroke-linecap="round"/>')
# Broad, quiet framing with a different signature for each instrument.
diff --git a/src/bin/theme-vectors.py b/src/bin/theme-vectors.py
index 7f937af..45dc607 100644
--- a/src/bin/theme-vectors.py
+++ b/src/bin/theme-vectors.py
@@ -137,10 +137,7 @@ def build(theme, p):
'button_expand': 'M6 9V6h3m2 0h3v3m0 2v3h-3m-2 0H6v-3',
}
for name, path in window_icons.items():
- states = [('', p['ink'])]
- if name != 'button_close':
- states.append(('_over', p['accent']))
- for suffix, ink in states:
+ for suffix, ink in [('', p['accent']), ('_over', p['ink'])]:
svg(name + suffix, 20, 20,
f'<path d="{path}" fill="none" stroke="{ink}" stroke-width="1.4" stroke-linecap="round"/>')
modes = {
diff --git a/src/tests/vector-controls.c b/src/tests/vector-controls.c
index 5e79de1..628cd13 100644
--- a/src/tests/vector-controls.c
+++ b/src/tests/vector-controls.c
@@ -124,7 +124,7 @@ int main(int argc, char **argv)
assert(menu.x + menu.w <= minimize.x);
assert(minimize.x + minimize.w <= expand.x);
assert(expand.x + expand.w <= close.x);
- const char *hover_parts[] = {"button_menu", "button_expand", "button_minimize"};
+ const char *hover_parts[] = {"button_menu", "button_expand", "button_minimize", "button_close"};
for (size_t i = 0; i < sizeof(hover_parts) / sizeof(hover_parts[0]); i++) {
const char *part = hover_parts[i];
Bounds button = bounds(layout, part);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.