Community
Participate
Working Groups
As a user, I'd like to use less white on my IDE because it's too bright and would like to switch the background color for editor (or any widget by default) to a sand-like color. I didn't find any entry in the preferences to change this. The Colors and Fonts preference page should offer a way to change this color.
Is there a corresponding CSS symbol or class? Is there already a JFace color definition id for this?
I would guess that SWT.COLOR_WIDGET_BACKGROUND, and SWT.COLOR_LIST_BACKGROUND are the main constants that would need to be overriden, though there are likely others to make things look as nice as possible. This should work across operating systems though it seems like what you want is pretty much a different theme. Individual themes achieve this by overriding AbstractTextEditor.Color* properties ( http://git.eclipse.org/c/gerrit/platform/eclipse.platform.ui.git/tree/bundles/org.eclipse.ui.themes/css/dark/e4-dark_preferencestyle.css#n19 )
(In reply to Mickael Istria from comment #0) > As a user, I'd like to use less white on my IDE because it's too bright and > would like to switch the background color for editor (or any widget by > default) to a sand-like color. > I didn't find any entry in the preferences to change this. > The Colors and Fonts preference page should offer a way to change this color. So, why would you only change this for Eclipse and not at the OS level?
(In reply to Dani Megert from comment #3) > (In reply to Mickael Istria from comment #0) > > As a user, I'd like to use less white on my IDE because it's too bright and > > would like to switch the background color for editor (or any widget by > > default) to a sand-like color. > > I didn't find any entry in the preferences to change this. > > The Colors and Fonts preference page should offer a way to change this color. > > So, why would you only change this for Eclipse and not at the OS level? At any rate, for textual editors you can change it on the 'Text Editors' preference page.
(In reply to Dani Megert from comment #4) > At any rate, for textual editors you can change it on the 'Text Editors' > preference page. Ok, thanks. I was more expecting this in the Colors and Fonts preference page. > So, why would you only change this for Eclipse and not at the OS level? For web browser, I prefer the default white background as most website look ugly with other color, or just override it anyway. For other apps, I don't spend so much time reading characters, so I'm less annoyed and not enough to change my system-wide settings.