Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » theming full eclipse?
theming full eclipse? [message #976087] Thu, 08 November 2012 09:54 Go to next message
Stefan Meyer is currently offline Stefan MeyerFriend
Messages: 5
Registered: November 2012
Junior Member
Hello,
i have use some themes to change the editor colors to black , but is theri any option to change the full gui to a black theme?

[Updated on: Thu, 08 November 2012 09:55]

Report message to a moderator

Re: theming full eclipse? [message #976127 is a reply to message #976087] Thu, 08 November 2012 10:33 Go to previous messageGo to next message
Nagesh Bansal is currently offline Nagesh BansalFriend
Messages: 21
Registered: September 2012
Junior Member
Have you tried Jeeeyul's eclipse chrome theme?
I think that might help you to some extent!
if not you can trying modifying the default eclipse css in sclipse 4
Re: theming full eclipse? [message #976163 is a reply to message #976127] Thu, 08 November 2012 11:08 Go to previous messageGo to next message
Eclipse UserFriend
Yes there is https://github.com/rogerdudler/eclipse-ui-themes
Re: theming full eclipse? [message #976172 is a reply to message #976163] Thu, 08 November 2012 11:13 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
What I'd like to see is that our CSS allows me to reference colors and
derive other colors from there so that one only changes one value and
the UI is e.g. in dark.

A first start on such dynamic values is found at
https://github.com/tomsontom/e4-e3theme/tree/master/at.bestsolution.e4.theme.css/src/at/bestsolution/e4/theme/css
but I'd like to have such a feature in side the CSS-Engine.

Tom

Am 08.11.12 12:08, schrieb Sopot Cela:
> Yes there is https://github.com/rogerdudler/eclipse-ui-themes
Re: theming full eclipse? [message #980199 is a reply to message #976172] Sun, 11 November 2012 12:46 Go to previous messageGo to next message
Eclipse UserFriend
The better approach, IMHO, is to use a CSS preprocessor like SCSS/SASS which providers darken() and lighten() functions that operate on colours. Plus they provide nested rules and variables. I used SCSS in a recent project and it worked really well.
Re: theming full eclipse? [message #980301 is a reply to message #980199] Sun, 11 November 2012 14:43 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
The problem with this is that you can't adapt for desktop theme changes
as you see on Linux e.g. Ubuntu you need to derive from orange, on
fedora it might be another color.

You can only collect those informations at runtime, so at least allowing
people to contribute colors they are calculating at start up is needed.

Do you think the approach I used in my github project could be added to
the CSS engine?

Tom

Am 11.11.12 13:46, schrieb Brian de Alwis:
> The better approach, IMHO, is to use a CSS preprocessor like SCSS/SASS
> which providers darken() and lighten() functions that operate on
> colours. Plus they provide nested rules and variables. I used SCSS in
> a recent project and it worked really well.
Re: theming full eclipse? [message #981631 is a reply to message #980301] Mon, 12 November 2012 15:19 Go to previous message
Eclipse UserFriend
Tom,

CSS 2.1 has a way to expose system colours to CSS using specific named constants, and I'm sure I prototyped a way to expose those from the SWT OS-specified colours. But I can't find my patch nor the message about it, though it was pretty straightforward to implement.

Unfortunately CSS 2.1 system colours won't be adequate to implement your exampe code -- your example uses SWT.COLOR_TITLE_BACKGROUND to generate a gradient. CSS 2.1 doesn't have a concept of functions that operate on data, and even if we could find a CSS3 implementation, there don't seem to be any such functions there either. I'm loathe to extend our CSS engine to be non-compliant, especially since the underlying Batik implementation doesn't seem to be maintained.

Brian.

http://www.w3.org/TR/CSS21/ui.html#system-colors
https://bugs.eclipse.org/bugs/show_bug.cgi?id=278498

[Updated on: Mon, 12 November 2012 15:20] by Moderator

Report message to a moderator

Previous Topic:Any chance to use Eclipse's own flyout menus?
Next Topic:Problem with using @Inject in custom classes.
Goto Forum:
  


Current Time: Fri Apr 26 23:25:01 GMT 2024

Powered by FUDForum. Page generated in 0.17286 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top