This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch main
in repository explore.
View the commit online.
commit ba8a91de38797846e0af091a418344b51562e9c9
Author: Alastair Poole <[email protected]>
AuthorDate: Thu Dec 3 07:28:20 2026 +0000
themes: bring in a common base for our 4 we love
---
data/themes/atelier/explore_atelier.edc | 7 ++++
data/themes/explore_selection.edc | 56 +++++++++++++++++++++++++++++++
data/themes/explore_theme.edc | 6 ++++
data/themes/midnight/explore_midnight.edc | 7 ++++
4 files changed, 76 insertions(+)
diff --git a/data/themes/atelier/explore_atelier.edc b/data/themes/atelier/explore_atelier.edc
index 9fe3257..5a4b4f9 100644
--- a/data/themes/atelier/explore_atelier.edc
+++ b/data/themes/atelier/explore_atelier.edc
@@ -8,6 +8,13 @@
#define EXPLORE_MENU_SEPARATOR_HEIGHT 10
#define EXPLORE_CUSTOM 1
#define EXPLORE_ELARO_CHROME 1
+#define EXPLORE_ELARO_FRAME_INSETS 1
+#define EXPLORE_ELARO_GENLIST 1
+#define EXPLORE_GENLIST_BG 37 32 30 255
+#define EXPLORE_GENLIST_HIGHLIGHT 51 43 40 255
+#define EXPLORE_GENLIST_DIVIDER 103 82 71 255
+#define EXPLORE_GENLIST_TEXT 241 226 209 255
+#define EXPLORE_GENLIST_ACCENT 230 153 123 255
#define EXPLORE_BODY 226 226 207 255
#define EXPLORE_BAR 230 223 209 255
#define EXPLORE_SIDEBAR 235 229 215 255
diff --git a/data/themes/explore_selection.edc b/data/themes/explore_selection.edc
index c6e96a1..ad9ac5c 100644
--- a/data/themes/explore_selection.edc
+++ b/data/themes/explore_selection.edc
@@ -54,6 +54,61 @@ group { name: "elm/genlist/item/explore/default";
data.item: "texts" "elm.text";
data.item: "contents" "elm.swallow.icon";
data.item: "treesize" "0";
+#ifdef EXPLORE_ELARO_GENLIST
+ parts {
+ part { name: "surface"; type: RECT; mouse_events: 0;
+ description { state: "default" 0.0; color: EXPLORE_GENLIST_BG; }
+ description { state: "highlighted" 0.0; inherit: "default" 0.0; color: EXPLORE_GENLIST_HIGHLIGHT; }
+ }
+ part { name: "divider"; type: RECT; mouse_events: 0; scale: 1;
+ description { state: "default" 0.0; offset_scale: 1; color: EXPLORE_GENLIST_DIVIDER;
+ rel1.relative: 0 1; rel1.offset: 9 -1; rel2.offset: -10 -1;
+ }
+ }
+ part { name: "indicator"; type: RECT; mouse_events: 0; scale: 1;
+ description { state: "default" 0.0; offset_scale: 1; visible: 0;
+ rel1.offset: 0 6;
+ rel2 { relative: 0 1; offset: 2 -7; }
+ color: EXPLORE_GENLIST_ACCENT;
+ }
+ description { state: "selected" 0.0; inherit: "default" 0.0; visible: 1; }
+ }
+ part { name: "elm.swallow.icon"; type: SWALLOW; scale: 1;
+ description { state: "default" 0.0; offset_scale: 1; min: 24 29; fixed: 1 0;
+ align: 0 0.5;
+ rel1.offset: 6 2;
+ rel2 { relative: 0 1; offset: 29 -3; }
+ }
+ }
+ part { name: "elm.text"; type: TEXT; mouse_events: 0; scale: 1;
+ description { state: "default" 0.0; offset_scale: 1; color: EXPLORE_GENLIST_TEXT;
+ rel1 { to_x: "elm.swallow.icon"; relative: 1 0; offset: 6 7; }
+ rel2.offset: -34 -8;
+ text { font: EXPLORE_UI_FONT; size: 11; min: 0 1; align: 0 0.5; ellipsis: 1; }
+ }
+ }
+ part { name: "row.hit"; type: RECT; scale: 1;
+ description { state: "default" 0.0; color: 0 0 0 0; min: 0 32; }
+ }
+ }
+ programs {
+ program { signal: "elm,state,selected"; source: "elm";
+ action: STATE_SET "selected" 0.0; target: "indicator"; after: "highlight_row";
+ }
+ program { signal: "elm,state,unselected"; source: "elm";
+ action: STATE_SET "default" 0.0; target: "indicator"; target: "surface";
+ }
+ program { signal: "mouse,in"; source: "row.hit";
+ action: STATE_SET "highlighted" 0.0; target: "surface";
+ }
+ program { signal: "mouse,out"; source: "row.hit";
+ action: STATE_SET "default" 0.0; target: "surface";
+ }
+ program { name: "highlight_row";
+ action: STATE_SET "highlighted" 0.0; target: "surface";
+ }
+ }
+#else
#ifdef EXPLORE_LIST_ROW_HEIGHT
min: 0 EXPLORE_LIST_ROW_HEIGHT;
#else
@@ -174,6 +229,7 @@ group { name: "elm/genlist/item/explore/default";
action: STATE_SET "default" 0.0; transition: SINUSOIDAL .22; target: "row.highlight"; }
#endif
}
+#endif
}
#endif
diff --git a/data/themes/explore_theme.edc b/data/themes/explore_theme.edc
index c53ea75..235b590 100644
--- a/data/themes/explore_theme.edc
+++ b/data/themes/explore_theme.edc
@@ -641,10 +641,16 @@ collections {
}
parts {
part { name: "inner"; type: RECT; mouse_events: 0;
+#ifdef EXPLORE_ELARO_FRAME_INSETS
+ scale: 1;
+#endif
description { state: "default" 0.0; color: 0 0 0 0;
#if defined(EXPLORE_CUSTOM) && !defined(EXPLORE_FLUSH_FRAME)
#ifdef EXPLORE_RETRO
rel1.offset: 3 4; rel2.offset: -4 -5;
+#elif defined(EXPLORE_ELARO_FRAME_INSETS)
+ offset_scale: 1;
+ rel1.offset: 8 5; rel2.offset: -9 -13;
#else
rel1.offset: 12 12; rel2.offset: -13 -17;
#endif
diff --git a/data/themes/midnight/explore_midnight.edc b/data/themes/midnight/explore_midnight.edc
index 45aa7be..0d45439 100644
--- a/data/themes/midnight/explore_midnight.edc
+++ b/data/themes/midnight/explore_midnight.edc
@@ -8,6 +8,13 @@
#define EXPLORE_MENU_SEPARATOR_HEIGHT 8
#define EXPLORE_CUSTOM 1
#define EXPLORE_ELARO_CHROME 1
+#define EXPLORE_ELARO_FRAME_INSETS 1
+#define EXPLORE_ELARO_GENLIST 1
+#define EXPLORE_GENLIST_BG 19 26 42 255
+#define EXPLORE_GENLIST_HIGHLIGHT 28 38 58 255
+#define EXPLORE_GENLIST_DIVIDER 48 65 91 255
+#define EXPLORE_GENLIST_TEXT 224 233 248 255
+#define EXPLORE_GENLIST_ACCENT 123 177 255 255
#define EXPLORE_TINT_TOOLS 1
#define EXPLORE_BODY 17 23 37 255
#define EXPLORE_BAR 21 29 46 255
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.