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 95bb534aaef0e301ab0273e9c8d3d3a26a161a47
Author: Alastair Poole <[email protected]>
AuthorDate: Thu Dec 3 12:55:03 2026 +0000

    themes: more stlying
---
 data/themes/atelier/explore_atelier.edc   |  2 ++
 data/themes/atelier/meson.build           |  2 +-
 data/themes/explore_dialogs.edc           | 51 ++++++++++++++++++++++++++-----
 data/themes/explore_theme.edc             |  4 +--
 data/themes/midnight/explore_midnight.edc |  8 +++++
 data/themes/midnight/meson.build          |  2 +-
 data/themes/photon/explore_photon.edc     |  2 ++
 src/bin/explore_chrome.c                  |  2 +-
 8 files changed, 61 insertions(+), 12 deletions(-)

diff --git a/data/themes/atelier/explore_atelier.edc b/data/themes/atelier/explore_atelier.edc
index 69c3af5..b75d810 100644
--- a/data/themes/atelier/explore_atelier.edc
+++ b/data/themes/atelier/explore_atelier.edc
@@ -29,4 +29,6 @@
 #define EXPLORE_CHROME 238 232 219 255
 #define EXPLORE_EDGE 199 190 173 255
 #define EXPLORE_THEME_ICON "explore_palette.svg"
+#define EXPLORE_DETAIL_TEXT "font=Sans font_size=10 align=left color=#2b3939"
+#define EXPLORE_DIALOG_TITLE_TEXT "font=Sans:style=Bold font_size=11 align=left wrap=mixed color=#2b3939"
 #include "../explore_theme.edc"
diff --git a/data/themes/atelier/meson.build b/data/themes/atelier/meson.build
index 2533d15..f930d58 100644
--- a/data/themes/atelier/meson.build
+++ b/data/themes/atelier/meson.build
@@ -4,7 +4,7 @@ foreach action : explore_actions
 endforeach
 
 atelier_artwork = action_artwork + explore_app_icon + explore_about_artwork + files(
-  '../explore_theme.edc', '../explore_menus.edc', 'icons/explore_menu.svg', '../explore_theme_preview.edc', '../explore_preview_places.edc', '../explore_button.edc', 'icons/explore_shadow.png', 'icons/explore_grip.svg',
+  '../explore_theme.edc', '../explore_dialogs.edc', '../explore_menus.edc', 'icons/explore_menu.svg', '../explore_theme_preview.edc', '../explore_preview_places.edc', '../explore_button.edc', 'icons/explore_shadow.png', 'icons/explore_grip.svg',
   'icons/explore_plus.svg', 'icons/explore_refresh.svg', 'icons/explore_back.svg', 'icons/explore_forward.svg',
   'icons/explore_palette.svg',
   'icons/explore_split.svg',
diff --git a/data/themes/explore_dialogs.edc b/data/themes/explore_dialogs.edc
index d348607..41e5a1e 100644
--- a/data/themes/explore_dialogs.edc
+++ b/data/themes/explore_dialogs.edc
@@ -1,3 +1,17 @@
+#ifndef EXPLORE_DETAIL_TEXT
+#define EXPLORE_DETAIL_TEXT "font=Sans font_size=10 align=left color=#f1f3f7"
+#endif
+#ifndef EXPLORE_DIALOG_TITLE_TEXT
+#define EXPLORE_DIALOG_TITLE_TEXT "font=Sans:style=Bold font_size=11 align=left wrap=mixed color=#f1f3f7"
+#endif
+#ifndef EXPLORE_DIALOG_INSET
+#define EXPLORE_DIALOG_INSET 12
+#define EXPLORE_DIALOG_TITLE_TOP 10
+#define EXPLORE_DIALOG_CONTENT_GAP 6
+#define EXPLORE_DIALOG_FOOTER 9
+#define EXPLORE_DIALOG_SHADE 8 10 19 158
+#endif
+
 group { name: "elm/label/base/explore/detail";
    styles {
       style { name: "detail_text";
@@ -25,6 +39,7 @@ group { name: "elm/label/base/explore/detail/wrap";
    }
 }
 
+#ifdef EXPLORE_RETRO
 group { name: "elm/frame/base/explore/detail";
    parts {
       part { name: "plate"; type: IMAGE; mouse_events: 0; scale: 1;
@@ -90,6 +105,8 @@ group { name: "elm/check/base/explore/detail";
    }
 }
 
+#endif
+
 group { name: "elm/popup/base/explore/dialog";
    styles {
       style { name: "dialog_title";
@@ -98,18 +115,34 @@ group { name: "elm/popup/base/explore/dialog";
       }
    }
    parts {
+#if defined(EXPLORE_RETRO) || defined(EXPLORE_DIALOG_PANEL_IMAGE)
       part { name: "base"; type: IMAGE; mouse_events: 0; scale: 1;
          description { state: "default" 0.0; min: 240 0;
+#ifdef EXPLORE_DIALOG_PANEL_IMAGE
+            image.normal: EXPLORE_DIALOG_PANEL_IMAGE;
+            image.border: 16 16 16 16; image.border_scale: 1; image.border_scale_by: .5;
+#else
             image.normal: "explore_frame.svg"; EXPLORE_FRAME_SLICES
+#endif
          }
       }
+#else
+      part { name: "base"; type: RECT; mouse_events: 0; scale: 1;
+         description { state: "default" 0.0; min: 240 0; color: EXPLORE_MENU_EDGE; }
+      }
+      part { name: "panel"; type: RECT; mouse_events: 0; scale: 1;
+         description { state: "default" 0.0; offset_scale: 1; color: EXPLORE_PANEL;
+            rel1.offset: 1 1; rel2.offset: -2 -2;
+         }
+      }
+#endif
       part { name: "elm.swallow.background"; type: SWALLOW;
          description { state: "default" 0.0; rel.to: "base"; }
       }
       part { name: "elm.text.title"; type: TEXTBLOCK; mouse_events: 0; scale: 1;
          description { state: "default" 0.0; fixed: 0 1; offset_scale: 1;
-            rel1.offset: 12 10;
-            rel2 { relative: 1 0; offset: -13 10; }
+            rel1.offset: EXPLORE_DIALOG_INSET EXPLORE_DIALOG_TITLE_TOP;
+            rel2 { relative: 1 0; offset: (-EXPLORE_DIALOG_INSET - 1) EXPLORE_DIALOG_TITLE_TOP; }
             align: 0 0;
             text { style: "dialog_title"; min: 0 1; align: 0 0; }
          }
@@ -117,19 +150,23 @@ group { name: "elm/popup/base/explore/dialog";
       part { name: "rule"; type: RECT; mouse_events: 0; scale: 1;
          description { state: "default" 0.0; offset_scale: 1; color: EXPLORE_ACCENT;
             rel1 { to: "elm.text.title"; relative: 0 1; offset: 0 5; }
+#ifdef EXPLORE_DIALOG_PANEL_IMAGE
+            rel2 { to: "elm.text.title"; relative: 0 1; offset: 31 6; }
+#else
             rel2 { to: "elm.text.title"; relative: 1 1; offset: -1 5; }
+#endif
          }
       }
       part { name: "elm.swallow.content"; type: SWALLOW; scale: 1;
          description { state: "default" 0.0; offset_scale: 1;
-            rel1 { to_y: "rule"; relative: 0 1; offset: 12 6; }
-            rel2 { to_y: "elm.swallow.action_area"; relative: 1 0; offset: -13 -5; }
+            rel1 { to_y: "rule"; relative: 0 1; offset: EXPLORE_DIALOG_INSET EXPLORE_DIALOG_CONTENT_GAP; }
+            rel2 { to_y: "elm.swallow.action_area"; relative: 1 0; offset: (-EXPLORE_DIALOG_INSET - 1) (-EXPLORE_DIALOG_CONTENT_GAP + 1); }
          }
       }
       part { name: "elm.swallow.action_area"; type: SWALLOW; scale: 1;
          description { state: "default" 0.0; fixed: 0 1; align: .5 1; offset_scale: 1;
-            rel1 { relative: 0 1; offset: 9 -9; }
-            rel2.offset: -10 -9;
+            rel1 { relative: 0 1; offset: (EXPLORE_DIALOG_INSET - 3) (-EXPLORE_DIALOG_FOOTER); }
+            rel2.offset: (-EXPLORE_DIALOG_INSET + 2) (-EXPLORE_DIALOG_FOOTER);
          }
       }
       part { name: "access.title"; type: RECT; repeat_events: 1;
@@ -171,7 +208,7 @@ group { name: "elm/notify/block_events/popup/explore/dialog";
    parts {
       part { name: "shade"; type: RECT;
          description { state: "default" 0.0; color: 8 10 19 0; }
-         description { state: "visible" 0.0; color: 8 10 19 158; }
+         description { state: "visible" 0.0; color: EXPLORE_DIALOG_SHADE; }
       }
    }
    programs {
diff --git a/data/themes/explore_theme.edc b/data/themes/explore_theme.edc
index 92f49b2..34d270d 100644
--- a/data/themes/explore_theme.edc
+++ b/data/themes/explore_theme.edc
@@ -392,7 +392,7 @@ images {
 #endif
 }
 
-#ifdef EXPLORE_RETRO
+#ifdef EXPLORE_CUSTOM
 efl_version: 1 29;
 #endif
 
@@ -446,7 +446,6 @@ collections {
 #endif
 #ifdef EXPLORE_RETRO
    #include "explore_places.edc"
-   #include "explore_dialogs.edc"
 #endif
 #ifdef EXPLORE_PLACES_GROUPS
    #include EXPLORE_PLACES_GROUPS
@@ -457,6 +456,7 @@ collections {
 #ifdef EXPLORE_CUSTOM
    #include "explore_button.edc"
    #include "explore_widgets.edc"
+   #include "explore_dialogs.edc"
 #endif
 #ifdef EXPLORE_ELARO_PROPERTIES
    #include "explore_elaro_properties.edc"
diff --git a/data/themes/midnight/explore_midnight.edc b/data/themes/midnight/explore_midnight.edc
index 55ca0e0..7b58ec1 100644
--- a/data/themes/midnight/explore_midnight.edc
+++ b/data/themes/midnight/explore_midnight.edc
@@ -30,4 +30,12 @@
 #define EXPLORE_CHROME 19 26 42 255
 #define EXPLORE_EDGE 48 65 91 255
 #define EXPLORE_THEME_ICON "explore_compass.svg"
+#define EXPLORE_DETAIL_TEXT "font=Sans font_size=11 align=left color=#e0e9f8"
+#define EXPLORE_DIALOG_TITLE_TEXT "font=Sans:style=Bold font_size=13 align=left wrap=mixed color=#e0e9f8"
+#define EXPLORE_DIALOG_PANEL_IMAGE "explore_properties_panel.svg"
+#define EXPLORE_DIALOG_INSET 18
+#define EXPLORE_DIALOG_TITLE_TOP 12
+#define EXPLORE_DIALOG_CONTENT_GAP 9
+#define EXPLORE_DIALOG_FOOTER 11
+#define EXPLORE_DIALOG_SHADE 5 9 18 174
 #include "../explore_theme.edc"
diff --git a/data/themes/midnight/meson.build b/data/themes/midnight/meson.build
index 12f43b9..a0bad77 100644
--- a/data/themes/midnight/meson.build
+++ b/data/themes/midnight/meson.build
@@ -9,7 +9,7 @@ custom_target('explore_midnight',
   command: [explore_edje_shell, '-c', explore_edje_command, 'explore-edje',
             explore_edje_cc, meson.current_source_dir() / 'icons', explore_app_icon_dir, '@INPUT@', '@OUTPUT@'],
   depend_files: action_artwork + explore_app_icon + explore_about_artwork + files(
-    '../explore_theme.edc', '../explore_menus.edc', 'icons/explore_menu.svg', '../explore_theme_preview.edc', '../explore_preview_places.edc', '../explore_button.edc', 'icons/explore_shadow.png', 'icons/explore_grip.svg',
+    '../explore_theme.edc', '../explore_dialogs.edc', '../explore_menus.edc', 'icons/explore_menu.svg', '../explore_theme_preview.edc', '../explore_preview_places.edc', '../explore_button.edc', 'icons/explore_shadow.png', 'icons/explore_grip.svg',
     'icons/explore_plus.svg', 'icons/explore_refresh.svg', 'icons/explore_back.svg', 'icons/explore_forward.svg',
     'icons/explore_palette.svg',
     'icons/explore_split.svg',
diff --git a/data/themes/photon/explore_photon.edc b/data/themes/photon/explore_photon.edc
index e2b33c5..ab36a95 100644
--- a/data/themes/photon/explore_photon.edc
+++ b/data/themes/photon/explore_photon.edc
@@ -38,4 +38,6 @@
 #define EXPLORE_CHROME 216 216 216 255
 #define EXPLORE_EDGE 75 75 75 255
 #define EXPLORE_THEME_ICON "explore_grid.svg"
+#define EXPLORE_DETAIL_TEXT "font=Sans font_size=10 align=left color=#000000"
+#define EXPLORE_DIALOG_TITLE_TEXT "font=Sans:style=Bold font_size=11 align=left wrap=mixed color=#000000"
 #include "../explore_theme.edc"
diff --git a/src/bin/explore_chrome.c b/src/bin/explore_chrome.c
index 5450373..bfc0a4c 100644
--- a/src/bin/explore_chrome.c
+++ b/src/bin/explore_chrome.c
@@ -514,7 +514,7 @@ explore_chrome_popup_add(Evas_Object *parent, Evas_Object *layout)
 {
    Evas_Object *popup = elm_popup_add(parent);
 
-   if (popup && elm_layout_data_get(layout, "retro_artwork"))
+   if (popup && elm_layout_data_get(layout, "custom_chrome"))
      elm_object_style_set(popup, "explore/dialog");
    return popup;
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to