summaryrefslogtreecommitdiff
path: root/data/elementary/themes/edc/about-theme.edc
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-03-01 16:44:01 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-03-01 16:44:01 +0900
commitca9326767052e2cb61200d71a38b66cc84a6b18d (patch)
tree0102e5fb0e3be72b673c58052f23a1406788751e /data/elementary/themes/edc/about-theme.edc
parent9111811b83cc1b3bb0e73f837497882d2e06a0ce (diff)
Revert "theme: rename "default" theme to "dark""
This reverts commit d764e0b2790b322778e6db80932c168ae0d43b96. The whole idea of renaming the default theme is an "api break" even if config is changed. and symlinks don't work on windows as a solution. (well on ntfs only as only as administrator, so they don't exist). modifying config for switch from default to dark also will break the case where someone put ~/.elementary/themes/default.edj there and it just is different to the system one and how their theme changes on them as it switches to dark. basically we can't rename a theme like this mid-flight in efl. default is default and has to stay that name. it can change the look, but not the name. i think the apparent reasoning behind this is not a good one. the work on flat is temporary. i don't think we will ever maintain multiple "default themes" as its just far too much work. we can maintain color SCHEMES which are just a list of colorclasses and colors for them - that's separate to a theme and would override. right now these things don't exist. we are not going to create a dark.edj and a light.edj just to store differing default colorclass values. we should be doing the above with colorclass "color palette/scheme/whatever" files that override those named colorclasses globally on init. so reverting because this is an api break and we shouldn't break api unless there is really absolutely no other choice. here the choice is to just temporarily work in a branch and modify default and then merge the branch when done.
Diffstat (limited to 'data/elementary/themes/edc/about-theme.edc')
-rw-r--r--data/elementary/themes/edc/about-theme.edc187
1 files changed, 187 insertions, 0 deletions
diff --git a/data/elementary/themes/edc/about-theme.edc b/data/elementary/themes/edc/about-theme.edc
new file mode 100644
index 0000000000..d27d2001c1
--- /dev/null
+++ b/data/elementary/themes/edc/about-theme.edc
@@ -0,0 +1,187 @@
1group { name: "e/theme/about";
2 // data.item: "borderless" "1";
3 // data.item: "shaped" "1";
4 images.image: "bevel_dark_out.png" COMP;
5 images.image: "screen_circular_shadow.png" COMP;
6 images.image: "button_normal.png" COMP;
7 images.image: "button_clicked.png" COMP;
8 min: 220 220;
9 max: 220 220;
10 parts {
11 part { name: "sizer"; type: SPACER;
12 scale: 1;
13 description { state: "default" 0.0;
14 min: 220 220;
15 }
16 }
17 part { name: "bg";
18 description { state: "default" 0.0;
19 image.normal: "bg_radgrad.png";
20 image.scale_hint: STATIC;
21 fill.smooth: 0;
22 ASPECT_FILL((1024/653))
23 }
24 }
25 part { name: "name"; type: TEXT; mouse_events: 0;
26 effect: GLOW;
27 scale: 1;
28 description { state: "default" 0.0;
29 fixed: 1 1;
30 color: FN_COL_HIGHLIGHT;
31 rel1.relative: 0.5 0.5;
32 rel2.relative: 0.5 0.5;
33 text { font: FNBD; size: 64;
34 text: "Dark";
35 min: 1 1;
36 ellipsis: -1;
37 align: 0.5 0.5;
38 }
39 }
40 }
41 part { name: "name2"; type: TEXT; mouse_events: 0;
42 effect: GLOW;
43 scale: 1;
44 description { state: "default" 0.0;
45 fixed: 1 1;
46 color: FN_COL_HIGHLIGHT;
47 rel1.relative: 0.5 0.9;
48 rel1.to: "name";
49 rel2.relative: 0.5 0.9;
50 rel2.to: "name";
51 align: 0.5 1.0;
52 text { font: FN; size: 10;
53 text: "The default theme for Enlightenment";
54 min: 1 1;
55 ellipsis: -1;
56 align: 0.5 1.0;
57 }
58 }
59 }
60 part { name: "shadow"; mouse_events: 0;
61 description { state: "default" 0.0;
62 rel1.relative: 0.0 0.0;
63 rel2.relative: 1.0 1.0;
64 image.normal: "screen_circular_shadow.png";
65 fill.smooth: 0;
66 }
67 }
68 part { name: "bevel";
69 description { state: "default" 0.0;
70 image.normal: "bevel_dark_out.png";
71 image.border: 1 1 1 1;
72 image.middle: 0;
73 fill.smooth: 0;
74 }
75 }
76 part { name: "base";
77 description { state: "default" 0.0;
78 image.normal: "button_normal.png";
79 image.border: 4 4 3 5;
80 image.middle: SOLID;
81 rel1.offset: -6 -6;
82 rel1.to: "e.text.label";
83 rel2.offset: 5 5;
84 rel2.to: "e.text.label";
85 fill.smooth: 0;
86 }
87 description { state: "clicked" 0.0;
88 inherit: "default" 0.0;
89 image.normal: "button_clicked.png";
90 image.border: 5 5 4 6;
91 }
92 }
93 part { name: "e.text.label"; type: TEXT; mouse_events: 0;
94 effect: SHADOW BOTTOM;
95 scale: 1;
96 description { state: "default" 0.0;
97 rel1.offset: -14 -14;
98 rel1.relative: 1.0 1.0;
99 rel2.offset: -14 -14;
100 rel2.relative: 1.0 1.0;
101 color: FN_COL_DEFAULT;
102 color_class: "button_text";
103 align: 1.0 1.0;
104 min: 85 0;
105 text { font: FN; size: 10;
106 min: 1 1;
107 ellipsis: -1;
108 align: 0.5 0.5;
109 text_class: "button";
110 }
111 fixed: 1 1;
112 }
113 }
114 part { name: "base2";
115 description { state: "default" 0.0;
116 image.normal: "button_normal.png";
117 image.border: 4 4 3 5;
118 image.middle: SOLID;
119 rel1.offset: -6 -6;
120 rel1.to: "e.text.theme";
121 rel2.offset: 5 5;
122 rel2.to: "e.text.theme";
123 fill.smooth: 0;
124 }
125 description { state: "clicked" 0.0;
126 inherit: "default" 0.0;
127 image.normal: "button_clicked.png";
128 image.border: 5 5 4 6;
129 }
130 }
131 part { name: "e.text.theme"; type: TEXT; mouse_events: 0;
132 effect: SHADOW BOTTOM;
133 scale: 1;
134 description { state: "default" 0.0;
135 rel1.offset: 13 -14;
136 rel1.relative: 0.0 1.0;
137 rel2.offset: 13 -14;
138 rel2.relative: 0.0 1.0;
139 color: FN_COL_DEFAULT;
140 color_class: "button_text";
141 align: 0.0 1.0;
142 min: 85 0;
143 text { font: FN; size: 10;
144 min: 1 1;
145 ellipsis: -1;
146 align: 0.5 0.5;
147 text_class: "button";
148 }
149 fixed: 1 1;
150 }
151 }
152 }
153 programs {
154 program {
155 signal: "mouse,down,1*"; source: "base";
156 action: STATE_SET "clicked" 0.0;
157 target: "base";
158 target: "e.text.label";
159 }
160 program {
161 signal: "mouse,up,1"; source: "base";
162 action: STATE_SET "default" 0.0;
163 target: "base";
164 target: "e.text.label";
165 }
166 program {
167 signal: "mouse,clicked,1*"; source: "base";
168 action: SIGNAL_EMIT "e,action,close" "";
169 }
170 program {
171 signal: "mouse,down,1*"; source: "base2";
172 action: STATE_SET "clicked" 0.0;
173 target: "base2";
174 target: "e.text.theme";
175 }
176 program {
177 signal: "mouse,up,1"; source: "base2";
178 action: STATE_SET "default" 0.0;
179 target: "base2";
180 target: "e.text.theme";
181 }
182 program {
183 signal: "mouse,clicked,1*"; source: "base2";
184 action: SIGNAL_EMIT "e,action,settings,theme" "";
185 }
186 }
187}