Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 2249  / 1 Year ago, mon, april 24, 2023, 12:55:48

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!


More From » 12.10

 Answers
4

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.


[#32523] Monday, April 24, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tatoethin

Total Points: 377
Total Questions: 110
Total Answers: 98

Location: Saudi Arabia
Member since Sat, Aug 20, 2022
2 Years ago
;