aboutsummaryrefslogtreecommitdiffstats
path: root/data/themes/fonts.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/fonts.edc
parentnaviframe: Emit visible signal to edc theme when first item is pushed (diff)
downloadelementary-5003400f9ecb466aea951aa885f5729e101136df.tar.gz
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/fonts.edc')
-rw-r--r--data/themes/fonts.edc33
1 files changed, 33 insertions, 0 deletions
diff --git a/data/themes/fonts.edc b/data/themes/fonts.edc
index 8a31bd490..a196ee4d8 100644
--- a/data/themes/fonts.edc
+++ b/data/themes/fonts.edc
@@ -15,10 +15,43 @@
#define FNIT "Sans:style=Oblique"
#define FNBDIT "Sans:style=Bold Italic"
+#define FN_COL_DEFAULT_BASIC 255 255 255 255
+/* fonts.edc not sure if this one is neccesary */
#define FN_COL_DEFAULT 255 255 255 255; color3: 0 0 0 128
+#define FN_COL_DEFAULT_SOFT_SHADOW 255 255 255 255; color3: 0 0 0 18
#define FN_COL_HIGHLIGHT 51 153 255 255; color2: 51 153 255 24; color3: 51 153 255 18
+#define FN_COL_HIGHLIGHT_CLICKED 255 255 255 255; color2: 51 153 255 64; color3: 51 153 255 32
+#define FN_COL_HIGHLIGHT_DISABLE 51 153 255 64; color2: 51 153 255 16; color3: 51 153 255 8
+#define FN_COL_MID_GREY 128 128 128 255
#define FN_COL_DISABLE 21 21 21 255; color3: 255 255 255 25;
+#define FN_COL_DISABLE_SHADOW 21 21 21 255; color3: 255 255 255 192
+#define FN_COL_TRANSPARENT 255 255 255 0; color3: 0 0 0 0
+#define FN_COL_WHITE_GLOW 255 255 255 255; color2: 255 255 255 24; color3: 255 255 255 18
+/* e/module/conf_colors/preview/text */
+#define FN_COL_SHADOW 255 255 255 32
+#define FN_COL_OUTLINE_SHADOW 255 255 255 255; color2: 255 255 255 255; color3: 255 255 255 255
+
+/* temperature.edc */
+#define FN_COL_SHADOW_BOTTOM 255 255 255 0; color2: 0 0 0 255; color3: 0 0 0 0
+
+/* elm/diskselector */
+#define FN_COL_WHITE 255 255 255 255
+#define FN_COL_GREY_152 152 152 152 255
+#define FN_COL_GREY_172 172 172 172 255
+
+/* elm/flipselector */
+#define FN_COL_GREY_192 192 192 192 255; color3: 0 0 0 128
+/* TBD: This could probably just be disabled */
+#define FN_COL_GREY_16 16 16 16 255; color3: 255 255 255 25
+
+/* elm/various */
+/* TBD: should this just be the normal disabled */
+#define FN_COL_DISABLE_LIGHTER_SHADOW 21 21 21 255; color3: 255 255 255 15
+
+/* elm/segment_control.edc */
+/* TBD: Is this the same as DEFAULT_BASIC */
+#define FN_COL_DEFAULT_BASIC2 255 255 255 255; color3: 255 255 255 0
#define ENABLED_TEXTBLOCK_TAGS \
tag: "em" "+ font_style=Oblique"; \