raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=7ea786d7df71878628a428ae8c663e71ef0cb5d5
commit 7ea786d7df71878628a428ae8c663e71ef0cb5d5 Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com> Date: Sat Apr 10 21:53:35 2021 +0100 elm theme - add gradient bg's --- data/elementary/themes/edc/elm/bg.edc | 49 ++++++++++++++++++++++++++++++++++ data/elementary/themes/img/grad_v.png | Bin 0 -> 36711 bytes 2 files changed, 49 insertions(+) diff --git a/data/elementary/themes/edc/elm/bg.edc b/data/elementary/themes/edc/elm/bg.edc index e7ac3aa4ea..5700a7427f 100644 --- a/data/elementary/themes/edc/elm/bg.edc +++ b/data/elementary/themes/edc/elm/bg.edc @@ -113,3 +113,52 @@ BG_PAT("elm/bg/base/checks_small_dark", "checks.png", 80, 80, 32 32 32 255, BG_PAT("elm/bg/base/checks_light", "checks.png", 160, 160, 192 192 192 255, 208 208 208 255) BG_PAT("elm/bg/base/checks_big_light", "checks.png", 320, 320, 192 192 192 255, 208 208 208 255) BG_PAT("elm/bg/base/checks_small_light", "checks.png", 80, 80, 192 192 192 255, 208 208 208 255) + +#undef BG_PAT +#undef PAT_FILL_SCALE + +#define BG_GRADV(_name, _colbg, _colfg) \ +group { name: _name; \ + data.item: "version" "119"; \ + images.image: "grad_v.png" COMP; \ + parts { \ + part { name: "clipper"; type: RECT; \ + description { state: "default" 0.0; \ + } \ + } \ + part { name: "base"; type: RECT; \ + description { state: "default" 0.0; \ + color: _colbg; \ + } \ + } \ + part { name: "grad"; \ + description { state: "default" 0.0; \ + image.normal: "grad_v.png"; \ + fill.size.relative: 0.0 1.0; \ + fill.size.offset: 256 0; \ + color: _colfg; \ + } \ + } \ + part { name: "elm.swallow.rectangle"; type: SWALLOW; \ + description { state: "default" 0.0; \ + } \ + } \ + part { name: "elm.swallow.background"; type: SWALLOW; \ + clip_to: "clipper"; \ + description { state: "default" 0.0; \ + fixed: 1 1; \ + } \ + } \ + part { name: "elm.swallow.content"; type: SWALLOW; \ + description { state: "default" 0.0; \ + } \ + } \ + } \ +} + +BG_GRADV("elm/bg/base/grad_vert", 80 80 80 255, 64 64 64 255) +BG_GRADV("elm/bg/base/grad_vert_focus_title_match", 64 64 64 255, 32 32 32 255) +BG_GRADV("elm/bg/base/grad_vert_dark", 48 48 48 255, 32 32 32 255) +BG_GRADV("elm/bg/base/grad_vert_light", 64 64 64 255, 192 192 192 255) + +#undef BG_GRADV diff --git a/data/elementary/themes/img/grad_v.png b/data/elementary/themes/img/grad_v.png new file mode 100644 index 0000000000..ab1dd07422 Binary files /dev/null and b/data/elementary/themes/img/grad_v.png differ --