summaryrefslogtreecommitdiff
path: root/data/themes/edc/evrything.edc
diff options
context:
space:
mode:
authorSimon Lees <simon@simotek.net>2014-03-05 15:55:26 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-03-05 16:01:19 +0900
commit5003400f9ecb466aea951aa885f5729e101136df (patch)
tree064a8e2b71706b5c629bff23decd613c3f3df54a /data/themes/edc/evrything.edc
parent036cec14548828d28b9f3668ceb08b299ab97e01 (diff)
Enhancement: #define names for text colors
Summary: Previously text colors were specfied in the form color: XXX XXX XXX AAA throughout all the edc files, eg color: 255 255 255 255 this made it imposible to write a script to change text colors with sed as it changed many other parts of the theme as well. Some colors had been defined in fonts.edc and in some places these were used but not many. This change means that all non textblock font colors are defined in fonts.edc and the defined names are used throughout the entire code base. This means that sed only needs to be run on 1 file to change the text color or it is easy to do manually textblock colors were not done for 2 reasons 1. They hadn't been done in the past so there was no standard for me to follow. 2. They are all specified in html notation eg #FFFFFF which means that they can be changed with sed without effecting the rest of the theme. If a standard can be come up with for doing this and people think it is worthwhile i can probably fix them at a later date Reviewers: raster, zmike Reviewed By: raster CC: seoz Differential Revision: https://phab.enlightenment.org/D577 Conflicts: data/themes/edc/battery.edc data/themes/edc/xkbswitch.edc
Diffstat (limited to 'data/themes/edc/evrything.edc')
-rw-r--r--data/themes/edc/evrything.edc42
1 files changed, 12 insertions, 30 deletions
diff --git a/data/themes/edc/evrything.edc b/data/themes/edc/evrything.edc
index ec9de7b..0fd3536 100644
--- a/data/themes/edc/evrything.edc
+++ b/data/themes/edc/evrything.edc
@@ -205,8 +205,7 @@ group { name: "e/modules/everything/selector_item";
205 rel2.to: "clip"; 205 rel2.to: "clip";
206 rel1.offset: 2 3; 206 rel1.offset: 2 3;
207 rel2.offset: -6 -7; 207 rel2.offset: -6 -7;
208 color: 255 255 255 255; 208 color: FN_COL_DEFAULT;
209 color3: 0 0 0 128;
210 color_class: "menu_item"; 209 color_class: "menu_item";
211 text { font: FNBD; size: 10; 210 text { font: FNBD; size: 10;
212 min: 0 1; 211 min: 0 1;
@@ -228,9 +227,7 @@ group { name: "e/modules/everything/selector_item";
228 rel1.to: "e.text.label"; 227 rel1.to: "e.text.label";
229 rel2.offset: 2 0; 228 rel2.offset: 2 0;
230 rel2.to: "e.text.label"; 229 rel2.to: "e.text.label";
231 color: 51 153 255 255; 230 color: FN_COL_HIGHLIGHT;
232 color2: 51 153 255 24;
233 color3: 51 153 255 18;
234 color_class: "menu_item_active"; 231 color_class: "menu_item_active";
235 text { font: FNBD; size: 10; 232 text { font: FNBD; size: 10;
236 text_source: "e.text.label"; 233 text_source: "e.text.label";
@@ -253,8 +250,7 @@ group { name: "e/modules/everything/selector_item";
253 align: 1.0 0.0; 250 align: 1.0 0.0;
254 rel1.offset: 6 6; 251 rel1.offset: 6 6;
255 rel2.offset: -7 -1; 252 rel2.offset: -7 -1;
256 color: 255 255 255 255; 253 color: FN_COL_DEFAULT;
257 color3: 0 0 0 128;
258 color_class: "menu_item"; 254 color_class: "menu_item";
259 text { font: FN; size: 10; 255 text { font: FN; size: 10;
260 min: 0 1; 256 min: 0 1;
@@ -276,9 +272,7 @@ group { name: "e/modules/everything/selector_item";
276 rel1.to: "e.text.plugin"; 272 rel1.to: "e.text.plugin";
277 rel2.offset: 1 1; 273 rel2.offset: 1 1;
278 rel2.to: "e.text.plugin"; 274 rel2.to: "e.text.plugin";
279 color: 51 153 255 255; 275 color: FN_COL_HIGHLIGHT;
280 color2: 51 153 255 24;
281 color3: 51 153 255 18;
282 color_class: "menu_item_active"; 276 color_class: "menu_item_active";
283 text { font: FN; size: 10; 277 text { font: FN; size: 10;
284 text_source: "e.text.plugin"; 278 text_source: "e.text.plugin";
@@ -454,8 +448,7 @@ group { name: "e/modules/everything/list";
454 rel1.offset: 4 4; 448 rel1.offset: 4 4;
455 rel2.relative: 0.0 0.0; 449 rel2.relative: 0.0 0.0;
456 rel2.offset: 4 4; 450 rel2.offset: 4 4;
457 color: 255 255 255 255; 451 color: FN_COL_DEFAULT;
458 color3: 0 0 0 128;
459 text { font: FN; size: 10; 452 text { font: FN; size: 10;
460 align: 0.0 0.5; 453 align: 0.0 0.5;
461 min: 1 1; 454 min: 1 1;
@@ -759,8 +752,7 @@ group { name: "e/modules/everything/tab_item";
759 rel2.offset: -5 -3; 752 rel2.offset: -5 -3;
760 rel2.relative: 0.5 1.0; 753 rel2.relative: 0.5 1.0;
761 align: 0.5 0.5; 754 align: 0.5 0.5;
762 color: 255 255 255 255; 755 color: FN_COL_DEFAULT;
763 color3: 0 0 0 128;
764 color_class: "menu_item"; 756 color_class: "menu_item";
765 text { font: FN; size: 10; 757 text { font: FN; size: 10;
766 min: 1 1; 758 min: 1 1;
@@ -782,9 +774,7 @@ group { name: "e/modules/everything/tab_item";
782 rel1.to: "e.text.label"; 774 rel1.to: "e.text.label";
783 rel2.offset: 2 1; 775 rel2.offset: 2 1;
784 rel2.to: "e.text.label"; 776 rel2.to: "e.text.label";
785 color: 51 153 255 255; 777 color: FN_COL_HIGHLIGHT;
786 color2: 51 153 255 24;
787 color3: 51 153 255 18;
788 color_class: "menu_item_active"; 778 color_class: "menu_item_active";
789 text { font: FN; size: 10; 779 text { font: FN; size: 10;
790 text_source: "e.text.label"; 780 text_source: "e.text.label";
@@ -1385,9 +1375,7 @@ group { name: "e/modules/everything/thumbview/item/thumb";
1385 rel1.to: "e.text.label"; 1375 rel1.to: "e.text.label";
1386 rel2.offset: 2 2; 1376 rel2.offset: 2 2;
1387 rel2.to: "e.text.label"; 1377 rel2.to: "e.text.label";
1388 color: 51 153 255 255; 1378 color: FN_COL_HIGHLIGHT;
1389 color2: 51 153 255 24;
1390 color3: 51 153 255 18;
1391 color_class: "menu_item_active"; 1379 color_class: "menu_item_active";
1392 text { font: FN; size: 10; 1380 text { font: FN; size: 10;
1393 text_source: "e.text.label"; 1381 text_source: "e.text.label";
@@ -1613,8 +1601,7 @@ group { name: "e/modules/everything/thumbview/item/list";
1613 rel2.offset: -3 -3; 1601 rel2.offset: -3 -3;
1614 rel2.relative: 0.0 1.0; 1602 rel2.relative: 0.0 1.0;
1615 rel2.to_x: "arrow"; 1603 rel2.to_x: "arrow";
1616 color: 255 255 255 255; 1604 color: FN_COL_DEFAULT;
1617 color3: 0 0 0 128;
1618 color_class: "ilist_item"; 1605 color_class: "ilist_item";
1619 align: 1.0 0.5; 1606 align: 1.0 0.5;
1620 max: 160 99999; 1607 max: 160 99999;
@@ -1638,9 +1625,7 @@ group { name: "e/modules/everything/thumbview/item/list";
1638 rel1.to: "e.text.detail"; 1625 rel1.to: "e.text.detail";
1639 rel2.offset: 1 1; 1626 rel2.offset: 1 1;
1640 rel2.to: "e.text.detail"; 1627 rel2.to: "e.text.detail";
1641 color: 51 153 255 255; 1628 color: FN_COL_HIGHLIGHT;
1642 color2: 51 153 255 24;
1643 color3: 51 153 255 18;
1644 color_class: "ilist_item_selected"; 1629 color_class: "ilist_item_selected";
1645 align: 1.0 0.5; 1630 align: 1.0 0.5;
1646 max: 160 99999; 1631 max: 160 99999;
@@ -1667,8 +1652,7 @@ group { name: "e/modules/everything/thumbview/item/list";
1667 rel2.offset: -3 -3; 1652 rel2.offset: -3 -3;
1668 rel2.relative: 0.0 1.0; 1653 rel2.relative: 0.0 1.0;
1669 rel2.to_x: "e.text.detail"; 1654 rel2.to_x: "e.text.detail";
1670 color: 255 255 255 255; 1655 color: FN_COL_DEFAULT;
1671 color3: 0 0 0 128;
1672 color_class: "ilist_item"; 1656 color_class: "ilist_item";
1673 text { font: FN; size: 10; 1657 text { font: FN; size: 10;
1674 min: 0 1; 1658 min: 0 1;
@@ -1689,9 +1673,7 @@ group { name: "e/modules/everything/thumbview/item/list";
1689 rel1.to: "e.text.label"; 1673 rel1.to: "e.text.label";
1690 rel2.offset: 2 1; 1674 rel2.offset: 2 1;
1691 rel2.to: "e.text.label"; 1675 rel2.to: "e.text.label";
1692 color: 51 153 255 255; 1676 color: FN_COL_HIGHLIGHT;
1693 color2: 51 153 255 24;
1694 color3: 51 153 255 18;
1695 color_class: "ilist_item_selected"; 1677 color_class: "ilist_item_selected";
1696 text { font: FN; size: 10; 1678 text { font: FN; size: 10;
1697 min: 0 1; 1679 min: 0 1;