rimmed pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=e39c35808ba29da007850a29dc3ffb46735707d1
commit e39c35808ba29da007850a29dc3ffb46735707d1 Author: Vyacheslav Reutskiy <[email protected]> Date: Mon Jul 13 12:21:24 2015 +0300 Styles: create a color class with main colors From now on in the all styles use ONLY color_class! Change-Id: Id275515f1f9e9fa223979be8c14d5f5b67572713 --- data/macros.edc | 39 +++++++++++++++++++++++++++++++-- data/themes/default/widgets/toolbar.edc | 4 ++-- 2 files changed, 39 insertions(+), 4 deletions(-) diff --git a/data/macros.edc b/data/macros.edc index 1dafd9c..067cdde 100644 --- a/data/macros.edc +++ b/data/macros.edc @@ -24,16 +24,51 @@ fonts { #define FN_BI "PT-BoldItalic" color_classes { - color_class { name: "color_default"; + color_class { name: "main"; color: 214 214 214 255; color2: 0 0 0 0; color3: 0 0 0 0; } - color_class { name: "color_disabled"; + color_class { name: "main_alternative"; + color: 182 182 182 255; + color2: 0 0 0 0; + color3: 0 0 0 0; + } + color_class { name: "main_disabled"; color: 118 119 120 255; color2: 0 0 0 0; color3: 0 0 0 0; } + color_class { name: "bg_main"; + color: 52 53 54 255; + color2: 0 0 0 0; + color3: 0 0 0 0; + } + color_class { name: "bg_entry"; + color: 35 37 38 255; + color2: 0 0 0 0; + color3: 0 0 0 0; + } + color_class { name: "select_light"; + color: 160 203 240 255; + color2: 0 0 0 0; + color3: 0 0 0 0; + } + color_class { name: "select"; + color: 58 110 155 255; + color2: 0 0 0 0; + color3: 0 0 0 0; + } + color_class { name: "invalid"; + color: 155 58 58 255; + color2: 0 0 0 0; + color3: 0 0 0 0; + } + color_class { name: "valid"; + color: 44 102 78 255; + color2: 0 0 0 0; + color3: 0 0 0 0; + } } /* diff --git a/data/themes/default/widgets/toolbar.edc b/data/themes/default/widgets/toolbar.edc index 023fd63..873c611 100644 --- a/data/themes/default/widgets/toolbar.edc +++ b/data/themes/default/widgets/toolbar.edc @@ -119,10 +119,10 @@ group { name: "elm/toolbar/item/default"; part { name: "clipper"; type: RECT; description { state: "default" 0.0; - color_class: "color_default"; + color_class: "main"; } description { state: "disabled" 0.0; - color_class: "color_disabled"; + color_class: "main_disabled"; } } part { name: "event"; --
