aboutsummaryrefslogtreecommitdiffstats
path: root/data/themes/fonts.edc
diff options
context:
space:
mode:
authordavemds <dave@gurumeditation.it>2014-02-08 20:09:42 +0100
committerdavemds <dave@gurumeditation.it>2014-02-08 20:14:49 +0100
commit2e1351c23b519a13ce77329dab44ca0f461df0b8 (patch)
treee0dc992735af8fc251245fc5c82a544826cf63c3 /data/themes/fonts.edc
parenttheme - more efm icons from appb (diff)
downloadelementary-2e1351c23b519a13ce77329dab44ca0f461df0b8.tar.gz
New textblock tags for elm entry widget.
This commit add the following new tags: title, subtitle, bigger, big, small, smaller, code, comment, string, number, brace, type, class, function, param, keyword, preprocessor, line_added, line_removed, line_changed. Tags has been unified in 3 new utility macros: COMMON_TEXTBLOCK_TAGS, ENABLED_TEXTBLOCK_TAGS, and DISABLED_TEXTBLOCK_TAGS to avoid repeating too much in the theme. Also a new test is in: "Entry Style Default" that show all the new styles. Docs will follow soon.
Diffstat (limited to 'data/themes/fonts.edc')
-rw-r--r--data/themes/fonts.edc48
1 files changed, 48 insertions, 0 deletions
diff --git a/data/themes/fonts.edc b/data/themes/fonts.edc
index a926e76b5..fb8fae4d6 100644
--- a/data/themes/fonts.edc
+++ b/data/themes/fonts.edc
@@ -18,3 +18,51 @@
#define FN_COL_DEFAULT 255 255 255 255; color3: 0 0 0 128
#define FN_COL_HIGHLIGHT 51 153 255 255; color2: 51 153 255 24; color3: 51 153 255 18
#define FN_COL_DISABLE 21 21 21 255; color3: 255 255 255 25;
+
+
+#define COMMON_TEXTBLOCK_TAGS \
+ tag: "em" "+ font_style=Oblique"; \
+ 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: "code" "+ font=Mono style=plain color=#ffffff"; \
+ tag: "comment" "+ color=#00B000"; \
+ tag: "string" "+ color=#ff3a35"; \
+ tag: "number" "+ color=#D4D42A font_weight=Bold"; \
+ tag: "brace" "+ color=#656565"; \
+ tag: "type" "+ color=#3399ff"; \
+ tag: "class" "+ color=#72AAD4 font_weight=Bold"; \
+ tag: "function" "+ color=#72AAD4 font_weight=Bold"; \
+ tag: "param" "+ color=#ffffff"; \
+ tag: "keyword" "+ color=#f90 font_weight=Bold"; \
+ tag: "preprocessor" "+ color=#3399ff font_weight=Bold"; \
+ tag: "line_added" "+ color=#00B000"; \
+ tag: "line_removed" "+ color=#ff3a35"; \
+ tag: "line_changed" "+ color=#f90";
+
+#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"; \
+ tag: "val" "+ color=#ffffff"; \
+ tag: "info" "+ color=#3399ff style=glow glow_color=#3399ff40"; \
+ tag: "success" "+ color=#00cc00 style=glow glow_color=#00cc0040"; \
+ tag: "warning" "+ color=#ff7c00 style=glow glow_color=#ff7c0040"; \
+ tag: "failure" "+ color=#ff0000 style=glow glow_color=#ff000040";
+
+#define DISABLED_TEXTBLOCK_TAGS \
+ tag: "hilight" "+ font_weight=Bold style=glow glow_color=#3399ff20"; \
+ tag: "link" "+ color=#3399ff88 underline=on underline_color=#3399ff88"; \
+ tag: "preedit" "+ underline=on underline_color=#3399ff88"; \
+ tag: "preedit_sel" "+ backing=on backing_color=#000 color=#888888"; \
+ tag: "name" "+ color=#666666"; \
+ tag: "val" "+ color=#151515"; \
+ tag: "info" "+ color=#174878 style=glow glow_color=#17487820"; \
+ tag: "success" "+ color=#006600 style=glow glow_color=#00440020"; \
+ tag: "warning" "+ color=#703700 style=glow glow_color=#70370020"; \
+ tag: "failure" "+ color=#660000 style=glow glow_color=#66000020";