add black theme, variation of mild.

popular request among old timers.


SVN revision: 75630
This commit is contained in:
Gustavo Sverzut Barbieri 2012-08-23 15:23:09 +00:00
parent a258b46431
commit 302a098740
3 changed files with 22 additions and 4 deletions

View File

@ -11,9 +11,10 @@ EDJE_FLAGS = $(EDJE_FLAGS_$(V)) -id $(top_srcdir)/data/themes/images -fd $(top_s
filesdir = $(pkgdatadir)/themes
files_DATA = \
default.edj \
mild.edj
mild.edj \
black.edj
EXTRA_DIST = default.edc mild.edc
EXTRA_DIST = default.edc mild.edc black.edc
default.edj: Makefile default.edc
$(EDJE_CC) $(EDJE_FLAGS) \
@ -25,5 +26,10 @@ mild.edj: Makefile mild.edc
$(top_srcdir)/data/themes/mild.edc \
$(top_builddir)/data/themes/mild.edj
black.edj: Makefile black.edc mild.edc
$(EDJE_CC) $(EDJE_FLAGS) \
$(top_srcdir)/data/themes/black.edc \
$(top_builddir)/data/themes/black.edj
clean-local:
rm -f *.edj

4
data/themes/black.edc Normal file
View File

@ -0,0 +1,4 @@
#define BG_COLOR 0 0 0 255
#define BG_COLOR_TRANSLUCENT 0 0 0 200
#include "mild.edc"

View File

@ -1,4 +1,12 @@
/* overlay to default to make theme easier on the eyes, less effects */
#ifndef BG_COLOR
#define BG_COLOR 48 48 48 255
#endif
#ifndef BG_COLOR_TRANSLUCENT
#define BG_COLOR_TRANSLUCENT 48 48 48 200
#endif
collections {
group { name: "terminology/background";
images {
@ -68,11 +76,11 @@ collections {
mouse_events: 1;
clip_to: "baseclip";
description { state: "default" 0.0;
color: 48 48 48 255;
color: BG_COLOR;
}
description { state: "translucent" 0.0;
inherit: "default" 0.0;
color: 48 48 48 200;
color: BG_COLOR_TRANSLUCENT;
}
}
part { name: "fade"; type: RECT;