What the hell.. Gah, it looks like the entry I had done was previewed but not submitted. There goes all the work… I’ll try and restore it later today.
Ayayaya I know how that is! Check your cache? I remember being able to restore a long, long, long post to the Apple support forums about a year ago from Safari’s cache or something, but for the life of me I can’t remember how.
Brilliant, looks like I just forgot that I wrote the docs under Themes instead of SyntaxThemes. I’ve imported the documentation into the proper subject now.
Yup, simply use the rgba() notation to get transparent backgrounds. Using CSSEdit to style the themes is currently the easiest way to go about it. I’ve updated the wiki to reflect this.
Do Themes support the opacity property? Or will there be any form of transparent background? I like having my environment a little see-through .
I don’t know about entirely transparent, but I was considering another use for this. “ThemeInjection"s of a sort, by having bits that are mostly transparent but “affect” the colour under them, such as making the background of an injection just a little bit lighter than whatever the user’s theme is.
Yup, simply use the rgba() notation to get transparent backgrounds. Using CSSEdit to style the themes is currently the easiest way to go about it. I’ve updated the wiki to reflect this.
Might be nice to have some sort of document to work on in CSSedit - perhaps a tool to create a HTML file out of a Syntax file would be nice? One that exhibits each syntax defined? Or something like that.
Since syntax themes update as soon as you change them in Espresso (and when you save in CSSEdit), I don’t see a lot of use for that. Just change the syntax theme, save and see the result in Espresso itself with some sample documents open.
Since syntax themes update as soon as you change them in Espresso (and when you save in CSSEdit), I don’t see a lot of use for that. Just change the syntax theme, save and see the result in Espresso itself with some sample documents open.
My bad, I didn’t notice that. Sounds perfect, I haven’t actually had time to play with the theme editing yet.
I’m a little confused on how to add a php syntax theme. I thought it would be as simple as modifying the theme embedded in the app with ”@override-placeholders html, xml, php, sourcecode.js” but its not coloring my test.php which contains
I’m a little confused on how to add a php syntax theme. I thought it would be as simple as modifying the theme embedded in the app with ”@override-placeholders html, xml, php, sourcecode.js” but its not coloring my test.php which contains
the theme code is the Default.css included inside Espresso.app/Contents/SharedSupport/Themes
I’ve installed the lated PHP.sugar but i’m not positive thats what i need.
It’s still black text / white background.
The PHP.sugar utilizes the SQL and REGEX sugars. For some reason the entire syntax definition fails for PHP if you do not have those installed as well. Check the PHP.sugar (official) thread for links to these sugars.