Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse 4.x - Solarized CSS theme

With Eclipse 4 new support of CSS themes, I wanted to ask if anyone was able to port Solarized (http://ethanschoonover.com/solarized) to it. I'm not looking for a simple Color Switch in the editor, but rather the whole window.

If no one is able or willing, would you please point me to a reference for the Theme styling?

Thank you.

like image 792
Pr0bability Avatar asked Mar 21 '12 14:03

Pr0bability


2 Answers

Your best shot would be to start from this plugin : https://github.com/eclipse-color-theme/eclipse-ui-themes

And then modify the CSS.

Here are some resources:

  • http://wiki.eclipse.org/E4/CSS
  • http://wiki.eclipse.org/E4/CSS/SWT_Mapping
  • http://www.vogella.com/articles/Eclipse4CSS/article.html

Regards

like image 166
xavier.seignard Avatar answered Oct 16 '22 08:10

xavier.seignard


you could use the Aptana Studio plugin's out-of-the-box themes, and create or customize one to suite your needs (let alone to create a custom Solarized theme). these themes can be set to "invasive" mode to force theme to all views (not just the editor).

to do so, simply open Window / Preferences / Aptana Studio / Themes and play with the various attributes:

aptana theme preferences

here's an example for a custom theme made using the Aptana themes, that mimics stackoverflow's Java highlighter:

stackoverflow theme

like image 29
Eliran Malka Avatar answered Oct 16 '22 10:10

Eliran Malka