Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gnome 3 (Gnome Shell) JavaScript/CSS engine

Tags:

I am wondering, which type and version of JavaScript/CSS engines is Gnome 3 aka Gnome Shell using?

Is there any information about current version, etc?

like image 403
hsz Avatar asked Apr 26 '11 21:04

hsz


People also ask

Does gnome use CSS?

css is used to control the style of the GNOME Display Manager(Login screen) while gnome-shell.

Does gnome use JavaScript?

GNOME Shell is written in C and JavaScript as a plugin for Mutter.


1 Answers

For JavaScript the engine GJS (based on SpiderMonkey). For theming, it is used a sort of superset of CSS2. You might be interested in reading the documentation of GtkCssProvider and the migration information.

On the other hand, there are some CSS3-like operations available, such as radial and linear gradients. You might want to take a look the article Styling GTK+ with CSS to get some ideas. The article was written by the developer who wrote GtkCssProvider.

like image 146
gpoo Avatar answered Sep 28 '22 10:09

gpoo