I am trying to design a new theme for Espresso when I came across a rather annoying issue: Placeholders. They have good intentions, but because they don’t seem to do much when you try to override them, you end up trying to design a theme from scratch that already has color highlighting.
So I went into all of the different Sugars and grabbed all the elements that they were coloring. The result below is a composite of all the default PlaceHolderThemes values all being reset to normal black text on a normal white background.
/* @group RESET */
@base, css, css.selector, css.selector > entity > punctuation, css > property-name, css > property-value, css.at-rule string, css.at-rule string punctuation, media.css > block > punctuation, property-list.css > property-value > punctuation, keyword.important.css, php,php variable, string.double variable, php keyword.constant.other, php variable > group, php.definition, php name, php modifier, php keyword.constant.class, php keyword.control.include, php keyword.definition, php identifier.function name, php literal.keyword, php integer, php phpDoc.keyword
{
color: #000;
font-weight: normal;
font-style: normal;
text-decoration: none;
}
/* @end */
If you have the jquery and exjs sugars:
jQuery.function > name, jQuery.object.operator, jQuery.selector operator, jQuery.function > name, jQuery.object.operator, jQuery.selector operator, extjs.class, extjs.class.group, extjs.class.function
and if you have the CSS3 sugar:
css.id.selector, css.class.selector, css.pseudo.class.selector
I’m not sure if anyone will find this useful or not, but when I create a theme, I like to start from the bottom and add my own customizations individually.
Thanks!
PS: I’m still working out the kinks on this, so if you have any tips, please post them!
