From 43d1a681df4ae6cc627de7765a9ced0a114bbf28 Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Wed, 18 Nov 2020 00:13:13 +0100 Subject: [PATCH] themes: use HIGHLIGHT instead of SHINE color class --- data/themes/default/background.edc | 12 ++++++------ data/themes/default/colors.edc | 1 - src/bin/colors.c | 2 -- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/data/themes/default/background.edc b/data/themes/default/background.edc index 87b28f52..db43e35e 100644 --- a/data/themes/default/background.edc +++ b/data/themes/default/background.edc @@ -719,12 +719,12 @@ group { name: "terminology/background"; aspect: (256/120) (256/120); aspect_preference: HORIZONTAL; color: 255 255 255 0; - color_class: "SHINE"; + color_class: "HIGHLIGHT"; } description { state: "focused" 0.0; inherit: "default" 0.0; color: 255 255 255 255; - color_class: "SHINE"; + color_class: "HIGHLIGHT"; } } part { name: "shine_unfocused"; @@ -739,12 +739,12 @@ group { name: "terminology/background"; aspect: (256/120) (256/120); aspect_preference: HORIZONTAL; color: 255 255 255 64; - color_class: "SHINE"; + color_class: "HIGHLIGHT"; } description { state: "focused" 0.0; inherit: "default" 0.0; color: 255 255 255 0; - color_class: "SHINE"; + color_class: "HIGHLIGHT"; } } part { name: "glintclip"; type: RECT; @@ -771,12 +771,12 @@ group { name: "terminology/background"; } image.normal: "bg_glint.png"; color: 255 255 255 128; - color_class: "SHINE"; + color_class: "HIGHLIGHT"; } description { state: "focused" 0.0; inherit: "default" 0.0; color: 255 255 255 255; - color_class: "SHINE"; + color_class: "HIGHLIGHT"; } } // }}} diff --git a/data/themes/default/colors.edc b/data/themes/default/colors.edc index 639617c5..c55e22c4 100644 --- a/data/themes/default/colors.edc +++ b/data/themes/default/colors.edc @@ -34,4 +34,3 @@ color_class { name: "TAB_TITLE"; } color_class { name: "BG_SENDFILE"; color: 64 64 64 255; } -color_class { name: "SHINE"; color: 255 255 255 255; } diff --git a/src/bin/colors.c b/src/bin/colors.c index 48887c10..03312cdd 100644 --- a/src/bin/colors.c +++ b/src/bin/colors.c @@ -647,8 +647,6 @@ color_scheme_apply(Evas_Object *edje, edje_object_color_class_set(edje, "BG_SENDFILE", CS_DARK, CS_DARK, CS_DARK); #undef CS_DARK - CS_SET("SHINE", hl); - #undef CS_SET #undef CS_SET_MANY }