Ubuntu – Create Ubuntu theme with pure HTML/JS/CSS

12.10themes

I'm wondering if someone can point me in the right direction for creating an Ubuntu theme using pure HTML/CSS/JS. I'm hoping there is some existing back-end to GNOME3 or Unity I can simply install and create my theme as easily as I'd create a website.

P.S.: If there is no such way to create a theme or add to the default theme, then alternatively if you can, please give me some details about what systems/libraries I'd have to hook into or extend. I'm a C++ developer so I suppose if I really have to, I can make this possible. Hoping though that something already exists.

Thanks for your help!

Best Answer

You cannot do this. Most of the applications in Ubuntu are not HTML web apps embedded running on a common API, like say they would be on WebOS or the new FirefoxOS. However, GTK+ 3.x and Qt 4 and 5 do use a specialized CSS syntax for creating themes.

There is some documentation available in the GtkCssProvider API documentation. There is also some documentation for Qt in the Qt Style Scheets documentation.

However, even if you create some themes, it will not apply to all applications, and any application can still force its own style, if the author of it so chooses.

Related Question