25

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?

gpoo
  • 8,408
  • 3
  • 38
  • 53
hsz
  • 148,279
  • 62
  • 259
  • 315

2 Answers2

22

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.

Goddard
  • 2,863
  • 31
  • 37
gpoo
  • 8,408
  • 3
  • 38
  • 53
2

The JavaScript engine is GJS. The CSS is, I believe, internal - in GTK 3, all theming is done using CSS.

ptomato
  • 56,175
  • 13
  • 112
  • 165
  • Thanks for the answer. I know that CSS is used for theming. However there is no information if it is CSS2/CSS3 or CSS10. – hsz Apr 27 '11 at 08:30