diff --git a/legacy/elementary/data/objects/test_focus_style.edc b/legacy/elementary/data/objects/test_focus_style.edc index 367dd5e84b..ac184c4ca6 100644 --- a/legacy/elementary/data/objects/test_focus_style.edc +++ b/legacy/elementary/data/objects/test_focus_style.edc @@ -435,8 +435,8 @@ collections { } //group ends #include "../../data/themes/macros.edc" -#include "../../data/themes/colorclasses.edc" #include "../../data/themes/fonts.edc" +#include "../../data/themes/colorclasses.edc" // to customize check default style #include "../../data/themes/edc/elm/check.edc" diff --git a/legacy/elementary/data/themes/colorclasses.edc b/legacy/elementary/data/themes/colorclasses.edc index cffd977b07..91e09738a0 100644 --- a/legacy/elementary/data/themes/colorclasses.edc +++ b/legacy/elementary/data/themes/colorclasses.edc @@ -9,59 +9,68 @@ color_classes { // wm color_class { name: "border_title"; - color: 21 21 21 255; - color3: 255 255 255 25; + color: FN_COL_DISABLE; } color_class { name: "border_title_active"; - color: 255 255 255 255; - color3: 0 0 0 18; + color: FN_COL_DEFAULT_SOFT_SHADOW; } color_class { name: "border_frame"; - color: 255 255 255 255; + color: FN_COL_DEFAULT_BASIC; } color_class { name: "border_frame_active"; - color: 255 255 255 255; + color: FN_COL_DEFAULT_BASIC; } color_class { name: "border_bottom"; - color: 64 64 64 255; + color: FN_COL_DEFAULT_BASIC; } color_class { name: "move_text"; - color: 255 255 255 255; - color3: 0 0 0 128; + color: FN_COL_DEFAULT; } color_class { name: "resize_text"; - color: 255 255 255 255; - color3: 0 0 0 128; + color: FN_COL_DEFAULT; + } + color_class { name: "menu_base"; + color: FN_COL_DEFAULT_BASIC; + } + color_class { name: "menu_title"; + color: FN_COL_DISABLE; + } + color_class { name: "menu_item"; + color: FN_COL_DEFAULT; + } + color_class { name: "menu_item_active"; + color: FN_COL_HIGHLIGHT; + } + color_class { name: "menu_item_disabled"; + color: FN_COL_DISABLE; + } + color_class { name: "winlist_item"; + color: FN_COL_DEFAULT; + } + color_class { name: "winlist_item_active"; + color: FN_COL_HIGHLIGHT; + } + color_class { name: "winlist_label"; + color: FN_COL_DEFAULT; + } + color_class { name: "winlist_title"; + color: FN_COL_DISABLE; + } + color_class { name: "dialog_base"; + color: FN_COL_DEFAULT_BASIC; + } + color_class { name: "shelf_base"; + color: FN_COL_DEFAULT_BASIC; + } + color_class { name: "fileman_base"; + color: FN_COL_DEFAULT_BASIC; } #if 0 - color_class { name: "error_text" - } - color_class { name: "menu_base" - } - color_class { name: "menu_title" - } - color_class { name: "menu_title_active" - } - color_class { name: "menu_item" - } - color_class { name: "menu_item_active" - } - color_class { name: "menu_item_disabled" - } - color_class { name: "winlist_item" - } - color_class { name: "winlist_item_active" - } - color_class { name: "winlist_label" - } - color_class { name: "winlist_title" - } - color_class { name: "dialog_base" - } - color_class { name: "shelf_base" - } - color_class { name: "fileman_base" - } +//// XXX: usless classes +// color_class { name: "error_text" +// } +// color_class { name: "menu_title_active" +// } #endif // widgets diff --git a/legacy/elementary/data/themes/default.edc b/legacy/elementary/data/themes/default.edc index 6700bed69c..28544db8fd 100644 --- a/legacy/elementary/data/themes/default.edc +++ b/legacy/elementary/data/themes/default.edc @@ -3,8 +3,8 @@ externals.external: "elm"; collections { -#include "colorclasses.edc" #include "fonts.edc" +#include "colorclasses.edc" // elm #include "edc/elm/bg.edc" diff --git a/legacy/elementary/data/themes/edc/border.edc b/legacy/elementary/data/themes/edc/border.edc index 4e6acc5377..1e80ef0ab5 100644 --- a/legacy/elementary/data/themes/edc/border.edc +++ b/legacy/elementary/data/themes/edc/border.edc @@ -419,6 +419,7 @@ group { name: "e/widgets/border/default/border"; part { name: "bottom"; type: RECT; mouse_events: 0; description { state: "default" 0.0; color_class: "border_bottom"; + color: 64 64 64 255; rel1.relative: 0.0 1.0; rel1.offset: 0 -5; rel2.relative: 1.0 1.0; diff --git a/legacy/elementary/data/themes/edc/fileman.edc b/legacy/elementary/data/themes/edc/fileman.edc index 26b1bba3b0..8b018509bb 100644 --- a/legacy/elementary/data/themes/edc/fileman.edc +++ b/legacy/elementary/data/themes/edc/fileman.edc @@ -936,6 +936,11 @@ group { name: "e/fileman/desktop/icon/fixed"; group { name: "e/fileman/default/scrollframe"; inherit: "e/widgets/scrollframe"; parts { + part { name: "bg"; + description { state: "default" 0.0; + color_class: "fileman_base"; + } + } part { name: "e.swallow.bg"; type: SWALLOW; insert_before: "clipper"; clip_to: "clipper"; diff --git a/legacy/elementary/data/themes/edc/menu.edc b/legacy/elementary/data/themes/edc/menu.edc index cf375ff03e..4305eb5777 100644 --- a/legacy/elementary/data/themes/edc/menu.edc +++ b/legacy/elementary/data/themes/edc/menu.edc @@ -7,6 +7,7 @@ group { name: "e/widgets/menu/default/background"; description { state: "default" 0.0; rel1.relative: 0.0 1.0; rel1.to_y: "top"; + color_class: "menu_base"; color: 64 64 64 255; } } @@ -20,6 +21,7 @@ group { name: "e/widgets/menu/default/background"; fill.smooth: 0; TILED_HORIZ(120) fixed: 0 1; + color_class: "menu_base"; } description { state: "active" 0.0; inherit: "default" 0.0; @@ -31,13 +33,13 @@ group { name: "e/widgets/menu/default/background"; scale: 1; effect: SHADOW BOTTOM; description { state: "default" 0.0; - color_class: "menu_title"; rel1.relative: 0.0 0.0; rel1.offset: 1 0; rel2.relative: 1.0 0.0; rel2.offset: -2 -1; align: 0.5 0.0; - color: FN_COL_DISABLE; + color_class: "menu_title"; + color3: 255 255 255 255; max: 0 0; text { font: FNBD; size: 10; text_class: "menu_title"; @@ -265,8 +267,8 @@ group { name: "e/widgets/menu/default/label"; description { state: "default" 0.0; rel1.offset: 5 -1; rel2.offset: -4 -1; - color: FN_COL_DEFAULT; color_class: "menu_item"; + color3: 255 255 255 255; text { font: FN; size: 10; min: 1 1; align: 0.0 0.5; @@ -288,8 +290,8 @@ group { name: "e/widgets/menu/default/label"; description { state: "default" 0.0; rel1.to: "e.text.label"; rel2.to: "e.text.label"; - color: FN_COL_DISABLE; color_class: "menu_item_disabled"; + color3: 255 255 255 255; text { font: FN; size: 10; text_source: "e.text.label"; align: 0.0 0.5; @@ -314,8 +316,9 @@ group { name: "e/widgets/menu/default/label"; rel1.to: "e.text.label"; rel2.offset: 2 1; rel2.to: "e.text.label"; - color: FN_COL_HIGHLIGHT; color_class: "menu_item_active"; + color2: 255 255 255 255; + color3: 255 255 255 255; text { font: FN; size: 10; text_source: "e.text.label"; align: 0.0 0.5; diff --git a/legacy/elementary/data/themes/edc/scrollframe.edc b/legacy/elementary/data/themes/edc/scrollframe.edc index 52acdb07fa..5d2ce9e188 100644 --- a/legacy/elementary/data/themes/edc/scrollframe.edc +++ b/legacy/elementary/data/themes/edc/scrollframe.edc @@ -338,7 +338,7 @@ group { name: "e/widgets/scrollframe"; description { state: "default" 0.0; rel1.to: "e.swallow.content"; rel2.to: "e.swallow.content"; - color: 64 64 64 200; + color: 64 64 64 255; color_class: "scrollframe_base"; } } diff --git a/legacy/elementary/data/themes/edc/shelf.edc b/legacy/elementary/data/themes/edc/shelf.edc index 694257570d..921d327111 100644 --- a/legacy/elementary/data/themes/edc/shelf.edc +++ b/legacy/elementary/data/themes/edc/shelf.edc @@ -24,11 +24,13 @@ group { name: "e/shelf/default/base"; image.normal: "vgrad_med.png"; fill.smooth: 0; TILED_HORIZ(120) + color_class: "shelf_base"; } description { state: "vert" 0.0; image.normal: "vgrad_tall.png"; fill.smooth: 0; TILED_HORIZ(40) + color_class: "shelf_base"; } } part { name: "bevel"; mouse_events: 0; diff --git a/legacy/elementary/data/themes/edc/winlist.edc b/legacy/elementary/data/themes/edc/winlist.edc index d2df85accb..161ec25169 100644 --- a/legacy/elementary/data/themes/edc/winlist.edc +++ b/legacy/elementary/data/themes/edc/winlist.edc @@ -26,15 +26,15 @@ group { name: "e/widgets/winlist/main"; scale: 1; effect: SHADOW BOTTOM; description { state: "default" 0.0; - color_class: "menu_title"; rel1.relative: 0.0 0.0; rel1.offset: 1 3; rel2.relative: 1.0 0.0; rel2.offset: -2 3; align: 0.5 0.0; - color: FN_COL_DISABLE; + color_class: "winlist_title"; + color3: 255 255 255 255; text { font: FNBD; size: 10; - text_class: "menu_title"; + text_class: "winlist_title"; align: 0.5 0.0; min: 0 1; } @@ -58,14 +58,14 @@ group { name: "e/widgets/winlist/main"; scale: 1; effect: SHADOW BOTTOM; description { state: "default" 0.0; - color_class: "winlist_label"; rel1.relative: 1.0 0.0; rel1.offset: 6 0; rel1.to: "e.swallow.icon"; rel2.offset: -7 -1; rel2.to_y: "e.swallow.icon"; align: 0.0 0.5; - color: FN_COL_DEFAULT; + color_class: "winlist_label"; + color3: 255 255 255 255; text { font: FNBD; size: 10; text_class: "winlist_label"; align: 0.0 0.5; @@ -138,12 +138,12 @@ group { name: "e/widgets/winlist/item"; rel1.relative: 1.0 0.0; rel1.to_x: "icon"; rel2.offset: -3 -3; - color: FN_COL_DEFAULT; - color_class: "ilist_item"; + color_class: "winlist_item"; + color3: 255 255 255 255; text { font: FN; size: 10; min: 0 1; align: 0.0 0.5; - text_class: "ilist_item"; + text_class: "winlist_item"; } } description { state: "iconified" 0.0; @@ -219,12 +219,13 @@ group { name: "e/widgets/winlist/item"; rel1.to: "e.text.label"; rel2.offset: 2 1; rel2.to: "e.text.label"; - color: FN_COL_HIGHLIGHT; - color_class: "ilist_item_selected"; + color_class: "winlist_item_active"; + color2: 255 255 255 255; + color3: 255 255 255 255; text { font: FN; size: 10; text_source: "e.text.label"; align: 0.0 0.5; - text_class: "ilist_item"; + text_class: "winlist_item_active"; } visible: 0; }