I was doing the work to close #645921, so we can finally remove the legacy theme code from Empathy. This required rewriting the legacy themes as Adium themes, which once I came to understand how Adium themes work, was really not that difficult.
Then I started thinking what else could I do… so I decided to do this:
It could stand for a little bit of tweaking, but that should be easy for someone to do. I realised what’s especially nice about using WebKit is that we’ve opened ourselves up to the whole world of HTML5 and CSS3 in our themes. Chat themes animated by CSS transitions anyone?
We’re still looking for someone to make a good default Empathy theme for GNOME 3 (#645920). I’m hoping that having ported the default themes to HTML should make it easier for someone to use one of them as a launching point.
For reference, Adium theme documentation:
/me wonders how many XSS issues there are
The planet gnome theme looks really good. It be the default imho…
All input coming from other users is escaped first, so you can’t inject random HTML into someone’s window.
Looks to be a little hard to follow without having different colours for different people. But I suspect that’d be less of an issue if Romeo and Juliet had unique avatars instead of the identical default ones.
There are lots of options for a properly done new theme, which I haven’t explored here. For instance having the bubbles going in opposite directions. The theme format also allows you to assign a per-user colour via %styleColor% which I haven’t yet made use of (but I probably will in the ‘classic’ theme).
That theme isn’t so shabby to begin with. Thanks for attacking the bug and providing these resources, by the way- I’m sure to have lots of fun with it.
Can’t wait for the theme using WebGl 😉
Pretty much the same thing was done over a year ago on the appropriate Empathy bug:
https://bugzilla.gnome.org/show_bug.cgi?id=645920#c3
Really nice, it will be a really nice improvement for 3.6!
@Jonny: yeah, I did notice the similarity to the mockup.
Oh hey, you’re the one working on that. >.>b I’ve been following that bug report. Good luck!
Although I don’t have a hackergotchi because they wouldn’t let me use this as it.
Looks great! I wonder if we can embed jQuery library in Empathy themes so with the help of this little plugin ( http://ur1.ca/9jhho ) the theme could show the correct direction for the right to left languages like Hebrew and Persian.