Commit Graph

6 Commits

Author SHA1 Message Date
Carsten Haitzler 5d8813c6b6 put in missing macros - they didnt get picked up during cnflict merge fix 2014-03-05 18:16:55 +09:00
Simon Lees 3aea7ad0bb 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
2014-03-05 16:01:19 +09:00
Davide Andreoli 4c0f458f25 theme: unify tags macro.
As all the tags are now different from enabled and disabled we don't need the COMMON_ macro
2014-02-15 14:15:17 +01:00
Carsten Haitzler 268b3b48a8 theme - default styles - make disabled all look properly disabled 2014-02-11 16:56:54 +09:00
Davide Andreoli 00e1bb3b23 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.
2014-02-08 20:14:49 +01:00
Carsten Haitzler 9d90a3c1c3 new theme (dark) is now default in elm. matches e now in look 2013-10-17 16:35:56 +09:00