raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=f14a2f6b885ea6cc981cff8a3a06a453bdd36d2e

commit f14a2f6b885ea6cc981cff8a3a06a453bdd36d2e
Author: Carsten Haitzler <[email protected]>
Date:   Mon Oct 11 09:27:24 2021 +0100

    elm theme - more cc
---
 data/elementary/themes/edc/efl/datepicker.edc     |  6 +++---
 data/elementary/themes/edc/efl/frame.edc          | 20 ++++++++++++--------
 data/elementary/themes/edc/efl/image_zoomable.edc |  2 +-
 3 files changed, 16 insertions(+), 12 deletions(-)

diff --git a/data/elementary/themes/edc/efl/datepicker.edc 
b/data/elementary/themes/edc/efl/datepicker.edc
index ce8986d6e0..730477c028 100644
--- a/data/elementary/themes/edc/efl/datepicker.edc
+++ b/data/elementary/themes/edc/efl/datepicker.edc
@@ -155,7 +155,7 @@ group { "efl/datepicker";
          desc { "default";
             fixed: 1 1;
             rel.to: "bg";
-            color: 0 0 0 0;
+            color: 0 0 0 0; // no cc
          }
       }
    }
@@ -179,7 +179,7 @@ group { "efl/datepicker/spin_button";
          repeat;
          desc { "default";
             fixed: 1 1;
-            color: 0 0 0 0;
+            color: 0 0 0 0; // no cc
             rel.to: "base";
             hid;
          }
@@ -243,7 +243,7 @@ group { "efl/datepicker/spin_button";
          norepeat;
          nomouse;
          desc { "default";
-            color: 0 0 0 0;
+            color: 0 0 0 0; // no cc
             hid;
          }
          desc { "disabled";
diff --git a/data/elementary/themes/edc/efl/frame.edc 
b/data/elementary/themes/edc/efl/frame.edc
index 7e967c48db..f8736da56e 100644
--- a/data/elementary/themes/edc/efl/frame.edc
+++ b/data/elementary/themes/edc/efl/frame.edc
@@ -5,6 +5,7 @@ group { name: "efl/frame";
       part { name: "shadow"; type: RECT;
          description { state: "default" 0.0;
             rel.to: "_sh1";
+            color_class: "/shadow/normal/frame";
          }
          description { state: "hidden" 0.0;
             inherit;
@@ -12,15 +13,20 @@ group { name: "efl/frame";
          }
       }
       WIN_SHAD("base", "shadow", "win_shad_flat.png", 10, 10, 7, 14, 0.25);
-      part { name: "base"; type: RECT;
+      part { name: "base"; type: SPACER;
          scale: 1;
          description { state: "default" 0.0;
             rel1.offset: 6 6;
             rel2.offset: -7 -7;
-            color: 80 80 80 255;
             offscale;
          }
       }
+      part { name: "top_bg"; type: RECT;
+         description { state: "default" 0.0;
+            rel.to: "top";
+            color_class: "/bg/normal/frame/title";
+         }
+      }
       part { name: "top"; type: SPACER;
          scale: 1;
          description { state: "default" 0.0;
@@ -34,13 +40,12 @@ group { name: "efl/frame";
       part { name: "efl.text"; type: TEXT;
          scale: 1;
          description { state: "default" 0.0;
+            rel.to: "base";
             rel1.offset: 4 4;
-            rel1.to: "base";
             rel2.relative: 1.0 0.0;
             rel2.offset: -5 4;
-            rel2.to: "base";
             align: 0.0 0.0;
-            color: 255 255 255 255;
+            color_class: "/fg/normal/frame/title";
             text { font: FNBD; size: 10;
                align: 0.0 0.0;
                min: 0 1;
@@ -56,13 +61,12 @@ group { name: "efl/frame";
             rel1.to_y: "top";
             rel1.relative: 0.0 1.0;
             rel2.to: "base";
-            color: 64 64 64 255;
+            color_class: "/bg/normal/frame";
          }
       }
       part { name: "clip"; type: RECT;
          description { state: "default" 0.0;
-            rel1.to: "bg";
-            rel2.to: "bg";
+            rel.to: "bg";
          }
       }
       part { name: "efl.content"; type: SWALLOW;
diff --git a/data/elementary/themes/edc/efl/image_zoomable.edc 
b/data/elementary/themes/edc/efl/image_zoomable.edc
index 64d759a723..65cec3065e 100644
--- a/data/elementary/themes/edc/efl/image_zoomable.edc
+++ b/data/elementary/themes/edc/efl/image_zoomable.edc
@@ -25,7 +25,7 @@ group { name: "efl/image_zoomable";
       part { name: "base"; type: RECT;
          scale: 1;
          description { state: "default" 0.0;
-            color: 0 0 0 0;
+            color: 0 0 0 0; // no cc
             rel1.offset: 4 4;
             rel2.offset: -5 -5;
             align: 1.0 1.0;

-- 


Reply via email to