hermet pushed a commit to branch master.

commit 71ed19b7154dee9cb51a07ca514314642af4e813
Author: ChunEon Park <[email protected]>
Date:   Thu Jul 25 19:15:40 2013 +0900

    theme/dark - added font color macros
---
 edje/edc/elm/dayselector.edc |  7 ++-----
 edje/edc/elm/toolbar.edc     | 14 ++++----------
 edje/fonts.edc               |  3 +++
 3 files changed, 9 insertions(+), 15 deletions(-)

diff --git a/edje/edc/elm/dayselector.edc b/edje/edc/elm/dayselector.edc
index c0109f9..2c60ee3 100644
--- a/edje/edc/elm/dayselector.edc
+++ b/edje/edc/elm/dayselector.edc
@@ -326,8 +326,7 @@ group { name: "elm/check/base/dayselector/default";
                min: 1 1;
                text_class: "button";
             }
-            color: 255 255 255 255;
-            color3: 0 0 0 128;
+            color: FN_COL_DEFAULT;
          }
          description { state: "weekend_default" 0.0;
             inherit: "default" 0.0;
@@ -366,9 +365,7 @@ group { name: "elm/check/base/dayselector/default";
                text_source: "elm.text";
                text_class: "button";
             }
-            color: 51 153 255 255;
-            color2: 51 153 255 24;
-            color3: 51 153 255 18;
+            color: FN_COL_HILIGHT;
             visible: 0;
          }
          description { state: "weekend_default" 0.0;
diff --git a/edje/edc/elm/toolbar.edc b/edje/edc/elm/toolbar.edc
index a91035d..f1f7452 100644
--- a/edje/edc/elm/toolbar.edc
+++ b/edje/edc/elm/toolbar.edc
@@ -592,8 +592,7 @@ group { name: "elm/toolbar/item/default";
             rel1.relative: 0.0 1.0;
             rel2.offset: -5 -3;
             align: 0.5 1.0;
-            color: 255 255 255 255;
-            color3: 0 0 0 128;
+            color: FN_COL_DEFAULT;
             color_class: "toolbar_item";
             text { font: FN; size: 10;
                min: 1 1;
@@ -641,9 +640,7 @@ group { name: "elm/toolbar/item/default";
             rel1.to: "elm.text";
             rel2.offset: 2 1;
             rel2.to: "elm.text";
-            color: 51 153 255 255;
-            color2: 51 153 255 24;
-            color3: 51 153 255 18;
+            color: FN_COL_HILIGHT;
             color_class: "toolbar_item_active";
             text { font: FN; size: 10;
                text_source: "elm.text";
@@ -689,8 +686,7 @@ group { name: "elm/toolbar/item/default";
             rel1.relative: 0.0 1.0;
             rel2.offset: -5 -3;
             align: 0.5 1.0;
-            color: 255 255 255 255;
-            color3: 0 0 0 128;
+            color: FN_COL_DEFAULT;
             color_class: "toolbar_item";
             text { font: FN; size: 10;
                min: 1 1;
@@ -738,9 +734,7 @@ group { name: "elm/toolbar/item/default";
             rel1.to: "elm.text";
             rel2.offset: 2 1;
             rel2.to: "elm.text";
-            color: 51 153 255 255;
-            color2: 51 153 255 24;
-            color3: 51 153 255 18;
+            color: FN_COL_HILIGHT;
             color_class: "toolbar_item_active";
             text { font: FN; size: 10;
                text_source: "elm.text";
diff --git a/edje/fonts.edc b/edje/fonts.edc
index 1eec7e0..83af96b 100644
--- a/edje/fonts.edc
+++ b/edje/fonts.edc
@@ -14,3 +14,6 @@
 #define FNBD   "Sans:style=Bold"
 #define FNIT   "Sans:style=Oblique"
 #define FNBDIT "Sans:style=Bold Italic"
+
+#define FN_COL_DEFAULT 255 255 255 255; color3: 0 0 0 128
+#define FN_COL_HILIGHT 51 153 255 255; color2: 51 153 255 24; color3: 51 153 
255 18

-- 

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk

Reply via email to