summaryrefslogtreecommitdiff
path: root/darkness.edc
blob: c62f1ca3b5444552a25b780e49f33b19cfa2dfe4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
/* vim: set sw=3: */
#ifdef E17_PROFILE
# if E17_PROFILE == LOWRES_PDA
#  define SM "sm_"
# elif E17_PROFILE == MEDIUMRES_PDA
#  define SM "sm_"
# elif E17_PROFILE == HIRES_PDA
#  define SM "sm_"
# elif E17_PROFILE == SLOW_PC
#  define SM "sm_"
# elif E17_PROFILE == MEDIUM_PC
#  define SM
# elif E17_PROFILE == FAST_PC
#  define SM
# endif
#else
# define E17_PROFILE MEDIUM_PC
# define SM
#endif

#define DARKNESS_VERY_DARK_BLUE 17 23 29
#define DARKNESS_DARK_BLUE 38 62 87
#define DARKNESS_BLUE 56 82 109
#define DARKNESS_LIGHT_BLUE 145 169 195
#define DARKNESS_VERY_LIGHT_BLUE 201 212 225
#define DARKNESS_TITLE_BLUE 27 40 174
#define DARKNESS_BUTTON_BLUE 68 156 200
#define DARKNESS_BRIGHT_BLUE 61 124 195
#define DARKNESS_MARINE_BLUE 5 119 248
/*#define DARKNESS_BUTTON_RED 200 76 68 */
#define DARKNESS_BUTTON_RED 255 0 0
#define DARKNESS_DIALOG_BG 18 18 18
#define DARKNESS_FRAME_BORDER 25 67 98

#define DARKNESS_TEXT 255 255 255
#define DARKNESS_TEXT_DISABLED 222 222 222


#define BUTTON_GLOW_PART(rect_part, alpha) \
   part { \
      name: rect_part"_glow"; \
      mouse_events: 0; \
      description { \
         state: "default" 0.0; \
         color: 255 255 255 0; \
         fixed: 1 1; \
         rel1.to: rect_part; \
         rel2.to: rect_part; \
         image { \
            normal: "button_glow.png"; \
            border: 15 15 10 10; \
         } \
         fill { \
            smooth: 0; \
         } \
      } \
      description { \
         state: "active" 0.0; \
         inherit: "default" 0.0; \
         color: 255 255 255 alpha; \
      } \
   }

#define BUTTON_GLOW_DOWN_PART(rect_part, alpha) \
   part { \
      name: rect_part"_glow_down"; \
      mouse_events: 0; \
      description { \
         state: "default" 0.0; \
         color: 255 255 255 0; \
         fixed: 1 1; \
         rel1 { \
            to: rect_part; \
         } \
         rel2 { \
            to: rect_part; \
         } \
         image { \
            normal: "button_glow_down.png"; \
            border: 15 15 10 10; \
         } \
         fill { \
            smooth: 0; \
         } \
      } \
      description { \
         state: "active" 0.0; \
         inherit: "default" 0.0; \
         color: 255 255 255 alpha; \
      } \
   }

#define BUTTON_GLOW_PROGRAM(NAME) \
   program { \
      name: NAME"_glow_go_active"; \
      action: STATE_SET "active" 0.0; \
      target: NAME"_glow"; \
      transition: SINUSOIDAL 0.5; \
   } \
   program { \
      name: NAME"_glow_go_inactive"; \
      action: STATE_SET "default" 0.0; \
      target: NAME"_glow"; \
      transition: SINUSOIDAL 1.0; \
   } \
   program { \
      name: NAME"_glow_go_sudden_inactive"; \
      action: STATE_SET "default" 0.0; \
      target: NAME"_glow"; \
      transition: SINUSOIDAL 0.2; \
   }

#define BUTTON_GLOW_ACTION(NAME) \
   after: NAME"_glow_go_active";

#define BUTTON_GLOW_STOP(NAME) \
   after: NAME"_glow_go_inactive";

#define BUTTON_GLOW_SUDDEN_STOP(NAME) \
   after: NAME"_glow_go_sudden_inactive";

#define BUTTON_GLOW_DOWN_PROGRAM(NAME) \
   program { \
      name: NAME"_glow_go_down_active"; \
      action: STATE_SET "active" 0.0; \
      target: NAME"_glow_down"; \
      transition: SINUSOIDAL 0.5; \
   } \
   program { \
      name: NAME"_glow_go_down_inactive"; \
      action: STATE_SET "default" 0.0; \
      target: NAME"_glow_down"; \
      transition: SINUSOIDAL 1.0; \
   } \
   program { \
      name: NAME"_glow_go_down_sudden_inactive"; \
      action: STATE_SET "default" 0.0; \
      target: NAME"_glow_down"; \
      transition: SINUSOIDAL 0.2; \
   }

data.item: "version" "110";
data {
   item: "theme/name"     "Darkness";
   item: "theme/version"  VERSION;
   item: "theme/author"   "Viktor Kojouharov (urandom) & Mike Blumenkrantz (discomfitor)";
   item: "theme/license"  "Artistic 2.0";
}

#include "images/images.edc"

data.item: "gtk-theme" "Tenebrific";

collections {
#include "e/background.edc"
#include "e/connman.edc"
#include "e/desklock.edc"
#include "e/evry.edc"
#include "e/gadman.edc"
#include "e/icons.edc"
#include "e/pointer.edc"
#include "e/shelf.edc"
#include "e/splash.edc"
#include "e/sys.edc"
#include "e/theme_about.edc"
#include "e/toolbar.edc"
#include "e/transitions.edc"

#include "modules/calendar.edc"
#include "modules/clock.edc"
#include "modules/cpu.edc"
#include "modules/deskshow.edc"
#include "modules/forecasts.edc"
#include "modules/ibar.edc"
#include "modules/ibox.edc"
#include "modules/itask-ng.edc"
#include "modules/language.edc"
#include "modules/mem.edc"
#include "modules/net.edc"
#include "modules/notification.edc"
#include "modules/pager.edc"
#include "modules/slideshow.edc"
#include "modules/start.edc"
#include "modules/systray.edc"
#include "modules/syscon.edc"
#include "modules/taskbar.edc"
#include "modules/temperature.edc"
#include "modules/winselector.edc"

#include "widgets/scrollframe.edc"
#include "widgets/about.edc"
#include "widgets/border.edc"
#include "widgets/button.edc"
#include "widgets/check.edc"
#include "widgets/configure.edc"
#include "widgets/dialog.edc"
#include "widgets/entry.edc"
#include "widgets/error.edc"
#include "widgets/exebuf.edc"
#include "widgets/filesel.edc"
#include "widgets/fileman.edc"
#include "widgets/frame.edc"
#include "widgets/ilist.edc"
#include "widgets/label.edc"
#include "widgets/menu.edc"
#include "widgets/move.edc"
#include "widgets/preview.edc"
#include "widgets/radio.edc"
#include "widgets/resize.edc"
#include "widgets/slider.edc"
#include "widgets/textblock.edc"
#include "widgets/tlist.edc"
#include "widgets/winlist.edc"

#include "elm/darkness.edc"
}