Skip to content

Commit

Permalink
[Dark Theme] Visual refresh for eclipse
Browse files Browse the repository at this point in the history
  • Loading branch information
mvm-sap authored and vogella committed Nov 27, 2024
1 parent d69caf3 commit 5ed97ff
Show file tree
Hide file tree
Showing 5 changed files with 157 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ ThemesExtension { color-definition:
}

ColorDefinition#org-eclipse-ui-workbench-DARK_BACKGROUND {
color: #515658;
/* color: #515658; */
color: #48484c;
category: '#org-eclipse-ui-presentation-default';
label: url('platform:/plugin/org.eclipse.ui.themes?message=DARK_BACKGROUND');
}
Expand Down Expand Up @@ -122,31 +123,31 @@ ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_SELECTED_TEXT_COLOR {
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START {
color: #494A4D;
color: #49484C;
category: '#org-eclipse-ui-presentation-default';
label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_UNSELECTED_TABS_COLOR_START');
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END {
color: #404043;
color: #48484C;
category: '#org-eclipse-ui-presentation-default';
label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_UNSELECTED_TABS_COLOR_END');
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START {
color: #2B2C2D;
color: #48484C;
category: '#org-eclipse-ui-presentation-default';
label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_BG_START');
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END {
color: #292929;
color: #48484C;
category: '#org-eclipse-ui-presentation-default';
label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_BG_END');
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR {
color: #4B4C4F;
color: #646464;
category: '#org-eclipse-ui-presentation-default';
label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_OUTER_KEYLINE_COLOR');
}
Expand All @@ -158,25 +159,25 @@ ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR {
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR {
color: #4B4C4F;
color:#646464;
category: '#org-eclipse-ui-presentation-default';
label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_OUTLINE_COLOR');
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_TEXT_COLOR {
color: #DDDDDD;
color: #BBBBBB;
category: '#org-eclipse-ui-presentation-default';
label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_TEXT_COLOR');
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_UNSELECTED_TEXT_COLOR {
color: #DDDDDD;
color: #BBBBBB;
category: '#org-eclipse-ui-presentation-default';
label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_UNSELECTED_TEXT_COLOR');
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_SELECTED_TEXT_COLOR {
color: #f7f8f8;
color: #FFFFFF;
category: '#org-eclipse-ui-presentation-default';
label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_SELECTED_TEXT_COLOR');
}
Expand All @@ -194,13 +195,13 @@ ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END {
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_TEXT_COLOR {
color: #CCCCCC;
color: #FFFFFF;
category: '#org-eclipse-ui-presentation-default';
label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_NOFOCUS_TAB_TEXT_COLOR');
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_SELECTED_TEXT_COLOR {
color: #CCCCCC;
color: #FFFFFF;
category: '#org-eclipse-ui-presentation-default';
label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_NOFOCUS_TAB_SELECTED_TEXT_COLOR');
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ IEclipsePreferences#org-eclipse-ui-editors:org-eclipse-ui-themes { /* pseudo att
'AbstractTextEditor.Color.Background.SystemDefault=false'
'AbstractTextEditor.Color.SelectionForeground.SystemDefault=false'
'AbstractTextEditor.Color.SelectionBackground.SystemDefault=false'
'AbstractTextEditor.Color.Background=47,47,47'
'AbstractTextEditor.Color.Background=30,31,34'
'AbstractTextEditor.Color.Foreground.SystemDefault=false'
'AbstractTextEditor.Color.SelectionBackground=33,66,131'
'AbstractTextEditor.Color.SelectionForeground=147,161,161'
Expand Down
48 changes: 48 additions & 0 deletions bundles/org.eclipse.ui.themes/css/e4-dark_linux.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,51 @@ ImageBasedFrame,
#org-eclipse-ui-ProgressBar Canvas {
color:'#org-eclipse-ui-workbench-DARK_FOREGROUND';
}

/* Inactive view tabs */
.MPartStack{
swt-selected-tab-highlight: #a6a6a6;
swt-selected-highlight-top: false;
swt-draw-custom-tab-content-background: true;
swt-unselected-hot-tab-color-background: #161616;
}

.MPartStack.active {
swt-selected-tab-highlight: #2b79d7;
swt-selected-highlight-top: false;
}

/*text color of selected tab in editor */
#org-eclipse-ui-editorss CTabItem:selected{
color: '#FFFFFF';
}

#org-eclipse-ui-editorss CTabFolder{
swt-selected-tab-fill : '#1E1F22';
swt-selected-tab-highlight: '#a6a6a6';
swt-selected-highlight-top: true;
swt-draw-custom-tab-content-background: true;
swt-unselected-hot-tab-color-background:#161616;
}

#org-eclipse-ui-editorss CTabFolder.active {
swt-selected-tab-highlight: '#2b79d7';
swt-selected-highlight-top: true;
}

CTabFolder[style~='SWT.DOWN'][style~='SWT.BOTTOM'] {
/* Set the styles for the bottom inner tabs (Bug 430051): */
swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering');
swt-selected-tab-fill: #1E1F22;
swt-unselected-tabs-color: #48484c;
swt-unselected-hot-tab-color-background: #2f2f2f;
swt-selected-tab-highlight: #2b79d7;
swt-selected-highlight-top: false;
}

.MPart Form Composite,
.MPart Form Composite Tree,
.MPartStack.active .MPart Form Composite Tree
{
background-color: #1E1F22;
}
48 changes: 48 additions & 0 deletions bundles/org.eclipse.ui.themes/css/e4-dark_mac.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,51 @@ Button {
color: unset;
}

/* Inactive view tabs */
.MPartStack{
swt-selected-tab-highlight: #a6a6a6;
swt-selected-highlight-top: false;
swt-draw-custom-tab-content-background: true;
swt-unselected-hot-tab-color-background: #161616;
}

.MPartStack.active {
swt-selected-tab-highlight: #2b79d7;
swt-selected-highlight-top: false;
}

/*text color of selected tab in editor */
#org-eclipse-ui-editorss CTabItem:selected{
color: '#FFFFFF';
}

#org-eclipse-ui-editorss CTabFolder{
swt-selected-tab-fill : '#1E1F22';
swt-selected-tab-highlight: '#a6a6a6';
swt-selected-highlight-top: true;
swt-draw-custom-tab-content-background: true;
swt-unselected-hot-tab-color-background:#161616;
}

#org-eclipse-ui-editorss CTabFolder.active {
swt-selected-tab-highlight: '#2b79d7';
swt-selected-highlight-top: true;
}

CTabFolder[style~='SWT.DOWN'][style~='SWT.BOTTOM'] {
/* Set the styles for the bottom inner tabs (Bug 430051): */
swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering');
swt-selected-tab-fill: #1E1F22;
swt-unselected-tabs-color: #48484c;
swt-unselected-hot-tab-color-background: #2f2f2f;
swt-selected-tab-highlight: #2b79d7;
swt-selected-highlight-top: false;
}

.MPart Form Composite,
.MPart Form Composite Tree,
.MPartStack.active .MPart Form Composite Tree
{
background-color: #1E1F22;
}

47 changes: 47 additions & 0 deletions bundles/org.eclipse.ui.themes/css/e4-dark_win.css
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,50 @@ ImageBasedFrame,
color: #DDDDDD;
}

/* Inactive view tabs */
.MPartStack{
swt-selected-tab-highlight: #a6a6a6;
swt-selected-highlight-top: false;
swt-draw-custom-tab-content-background: true;
swt-unselected-hot-tab-color-background: #161616;
}

.MPartStack.active {
swt-selected-tab-highlight: #2b79d7;
swt-selected-highlight-top: false;
}

/*text color of selected tab in editor */
#org-eclipse-ui-editorss CTabItem:selected{
color: '#FFFFFF';
}

#org-eclipse-ui-editorss CTabFolder{
swt-selected-tab-fill : '#1E1F22';
swt-selected-tab-highlight: '#a6a6a6';
swt-selected-highlight-top: true;
swt-draw-custom-tab-content-background: true;
swt-unselected-hot-tab-color-background:#161616;
}

#org-eclipse-ui-editorss CTabFolder.active {
swt-selected-tab-highlight: '#2b79d7';
swt-selected-highlight-top: true;
}

CTabFolder[style~='SWT.DOWN'][style~='SWT.BOTTOM'] {
/* Set the styles for the bottom inner tabs (Bug 430051): */
swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering');
swt-selected-tab-fill: #1E1F22;
swt-unselected-tabs-color: #48484c;
swt-unselected-hot-tab-color-background: #2f2f2f;
swt-selected-tab-highlight: #2b79d7;
swt-selected-highlight-top: false;
}

.MPart Form Composite,
.MPart Form Composite Tree,
.MPartStack.active .MPart Form Composite Tree
{
background-color: #1E1F22;
}

0 comments on commit 5ed97ff

Please sign in to comment.