aboutsummaryrefslogtreecommitdiffstats
path: root/data/themes/fonts.edc
diff options
context:
space:
mode:
authordavemds <dave@gurumeditation.it>2014-02-15 14:15:17 +0100
committerdavemds <dave@gurumeditation.it>2014-02-15 14:15:17 +0100
commit6958111d9183a0aa3679ebfd5a1b7057c63f2fbb (patch)
treee55a3615d8627484f694afbb1d3b7833133212f5 /data/themes/fonts.edc
parentLabel doc: add a note about the conversion duration->speed and viceversa. (diff)
downloadelementary-6958111d9183a0aa3679ebfd5a1b7057c63f2fbb.tar.gz
theme: unify tags macro.
As all the tags are now different from enabled and disabled we don't need the COMMON_ macro
Diffstat (limited to 'data/themes/fonts.edc')
-rw-r--r--data/themes/fonts.edc48
1 files changed, 22 insertions, 26 deletions
diff --git a/data/themes/fonts.edc b/data/themes/fonts.edc
index ce7441a31..8a31bd490 100644
--- a/data/themes/fonts.edc
+++ b/data/themes/fonts.edc
@@ -20,14 +20,24 @@
#define FN_COL_DISABLE 21 21 21 255; color3: 255 255 255 25;
-#define COMMON_TEXTBLOCK_TAGS \
+#define ENABLED_TEXTBLOCK_TAGS \
tag: "em" "+ font_style=Oblique"; \
+ tag: "hilight" "+ font_weight=Bold style=glow glow_color=#3399ff80"; \
+ tag: "link" "+ color=#3399ff underline=on underline_color=#3399ff"; \
+ tag: "preedit" "+ underline=on underline_color=#3399ff"; \
+ tag: "preedit_sel" "+ backing=on backing_color=#000000 color=#ffffff"; \
tag: "title" "+ font_size=26"; \
tag: "subtitle" "+ font_size=18"; \
tag: "bigger" "+ font_size=12"; \
tag: "big" "+ font_size=11"; \
tag: "small" "+ font_size=8"; \
tag: "smaller" "+ font_size=7"; \
+ tag: "name" "+ color=#888888 font_weight=Bold"; \
+ tag: "val" "+ color=#ffffff"; \
+ tag: "info" "+ color=#3399ff style=glow glow_color=#3399ff30"; \
+ tag: "success" "+ color=#00ff00 style=glow glow_color=#00ff0030"; \
+ tag: "warning" "+ color=#ff7c00 style=glow glow_color=#ff7c0030"; \
+ tag: "failure" "+ color=#ff0000 style=glow glow_color=#ff000030"; \
tag: "code" "+ font=Mono style=plain color=#ffffff"; \
tag: "comment" "+ color=#00B000"; \
tag: "string" "+ color=#ff3a35"; \
@@ -43,14 +53,24 @@
tag: "line_removed" "+ color=#ff3a35"; \
tag: "line_changed" "+ color=#ff9900";
-#define DISABLED_COMMON_TEXTBLOCK_TAGS \
+#define DISABLED_TEXTBLOCK_TAGS \
tag: "em" "+ font_style=Oblique"; \
+ tag: "hilight" "+ font_weight=Bold style=glow glow_color=#3399ff20"; \
+ tag: "link" "+ color=#101820 shadow_color=#66aaff28 underline=on underline_color=#101820"; \
+ tag: "preedit" "+ underline=on underline_color=#3399ff88"; \
+ tag: "preedit_sel" "+ backing=on backing_color=#000000 color=#888888"; \
tag: "title" "+ font_size=26"; \
tag: "subtitle" "+ font_size=18"; \
tag: "bigger" "+ font_size=12"; \
tag: "big" "+ font_size=11"; \
tag: "small" "+ font_size=8"; \
tag: "smaller" "+ font_size=7"; \
+ tag: "name" "+ color=#151515 font_weight=Bold"; \
+ tag: "val" "+ color=#151515"; \
+ tag: "info" "+ color=#3399ff60 style=glow glow_color=#3399ff18"; \
+ tag: "success" "+ color=#00ff0060 style=glow glow_color=#00ff0018"; \
+ tag: "warning" "+ color=#ff7c0060 style=glow glow_color=#ff7c0018"; \
+ tag: "failure" "+ color=#ff000060 style=glow glow_color=#ff000018"; \
tag: "code" "+ style=shadow,bottom shadow_color=#ffffff19 font=Mono color=#151515"; \
tag: "comment" "+ color=#002800"; \
tag: "string" "+ color=#300504"; \
@@ -65,27 +85,3 @@
tag: "line_added" "+ color=#002800"; \
tag: "line_removed" "+ color=#300504"; \
tag: "line_changed" "+ color=#201200";
-
-#define ENABLED_TEXTBLOCK_TAGS \
- tag: "hilight" "+ font_weight=Bold style=glow glow_color=#3399ff80"; \
- tag: "link" "+ color=#3399ff underline=on underline_color=#3399ff"; \
- tag: "preedit" "+ underline=on underline_color=#3399ff"; \
- tag: "preedit_sel" "+ backing=on backing_color=#000000 color=#ffffff"; \
- tag: "name" "+ color=#888888 font_weight=Bold"; \
- tag: "val" "+ color=#ffffff"; \
- tag: "info" "+ color=#3399ff style=glow glow_color=#3399ff30"; \
- tag: "success" "+ color=#00ff00 style=glow glow_color=#00ff0030"; \
- tag: "warning" "+ color=#ff7c00 style=glow glow_color=#ff7c0030"; \
- tag: "failure" "+ color=#ff0000 style=glow glow_color=#ff000030";
-
-#define DISABLED_TEXTBLOCK_TAGS \
- tag: "hilight" "+ font_weight=Bold style=glow glow_color=#3399ff20"; \
- tag: "link" "+ color=#101820 shadow_color=#66aaff28 underline=on underline_color=#101820"; \
- tag: "preedit" "+ underline=on underline_color=#3399ff88"; \
- tag: "preedit_sel" "+ backing=on backing_color=#000000 color=#888888"; \
- tag: "name" "+ color=#151515 font_weight=Bold"; \
- tag: "val" "+ color=#151515"; \
- tag: "info" "+ color=#3399ff60 style=glow glow_color=#3399ff18"; \
- tag: "success" "+ color=#00ff0060 style=glow glow_color=#00ff0018"; \
- tag: "warning" "+ color=#ff7c0060 style=glow glow_color=#ff7c0018"; \
- tag: "failure" "+ color=#ff000060 style=glow glow_color=#ff000018";