Skip to content

Commit 5ed97ff

Browse files
mvm-sapvogella
authored andcommitted
[Dark Theme] Visual refresh for eclipse
1 parent d69caf3 commit 5ed97ff

File tree

5 files changed

+157
-13
lines changed

5 files changed

+157
-13
lines changed

bundles/org.eclipse.ui.themes/css/dark/e4-dark_ide_colorextensions.css

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ ThemesExtension { color-definition:
5050
}
5151

5252
ColorDefinition#org-eclipse-ui-workbench-DARK_BACKGROUND {
53-
color: #515658;
53+
/* color: #515658; */
54+
color: #48484c;
5455
category: '#org-eclipse-ui-presentation-default';
5556
label: url('platform:/plugin/org.eclipse.ui.themes?message=DARK_BACKGROUND');
5657
}
@@ -122,31 +123,31 @@ ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_SELECTED_TEXT_COLOR {
122123
}
123124

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

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

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

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

148149
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR {
149-
color: #4B4C4F;
150+
color: #646464;
150151
category: '#org-eclipse-ui-presentation-default';
151152
label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_OUTER_KEYLINE_COLOR');
152153
}
@@ -158,25 +159,25 @@ ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR {
158159
}
159160

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

166167
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_TEXT_COLOR {
167-
color: #DDDDDD;
168+
color: #BBBBBB;
168169
category: '#org-eclipse-ui-presentation-default';
169170
label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_TEXT_COLOR');
170171
}
171172

172173
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_UNSELECTED_TEXT_COLOR {
173-
color: #DDDDDD;
174+
color: #BBBBBB;
174175
category: '#org-eclipse-ui-presentation-default';
175176
label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_UNSELECTED_TEXT_COLOR');
176177
}
177178

178179
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_SELECTED_TEXT_COLOR {
179-
color: #f7f8f8;
180+
color: #FFFFFF;
180181
category: '#org-eclipse-ui-presentation-default';
181182
label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_SELECTED_TEXT_COLOR');
182183
}
@@ -194,13 +195,13 @@ ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END {
194195
}
195196

196197
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_TEXT_COLOR {
197-
color: #CCCCCC;
198+
color: #FFFFFF;
198199
category: '#org-eclipse-ui-presentation-default';
199200
label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_NOFOCUS_TAB_TEXT_COLOR');
200201
}
201202

202203
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_SELECTED_TEXT_COLOR {
203-
color: #CCCCCC;
204+
color: #FFFFFF;
204205
category: '#org-eclipse-ui-presentation-default';
205206
label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_NOFOCUS_TAB_SELECTED_TEXT_COLOR');
206207
}

bundles/org.eclipse.ui.themes/css/dark/e4-dark_preferencestyle.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ IEclipsePreferences#org-eclipse-ui-editors:org-eclipse-ui-themes { /* pseudo att
2222
'AbstractTextEditor.Color.Background.SystemDefault=false'
2323
'AbstractTextEditor.Color.SelectionForeground.SystemDefault=false'
2424
'AbstractTextEditor.Color.SelectionBackground.SystemDefault=false'
25-
'AbstractTextEditor.Color.Background=47,47,47'
25+
'AbstractTextEditor.Color.Background=30,31,34'
2626
'AbstractTextEditor.Color.Foreground.SystemDefault=false'
2727
'AbstractTextEditor.Color.SelectionBackground=33,66,131'
2828
'AbstractTextEditor.Color.SelectionForeground=147,161,161'

bundles/org.eclipse.ui.themes/css/e4-dark_linux.css

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,51 @@ ImageBasedFrame,
4545
#org-eclipse-ui-ProgressBar Canvas {
4646
color:'#org-eclipse-ui-workbench-DARK_FOREGROUND';
4747
}
48+
49+
/* Inactive view tabs */
50+
.MPartStack{
51+
swt-selected-tab-highlight: #a6a6a6;
52+
swt-selected-highlight-top: false;
53+
swt-draw-custom-tab-content-background: true;
54+
swt-unselected-hot-tab-color-background: #161616;
55+
}
56+
57+
.MPartStack.active {
58+
swt-selected-tab-highlight: #2b79d7;
59+
swt-selected-highlight-top: false;
60+
}
61+
62+
/*text color of selected tab in editor */
63+
#org-eclipse-ui-editorss CTabItem:selected{
64+
color: '#FFFFFF';
65+
}
66+
67+
#org-eclipse-ui-editorss CTabFolder{
68+
swt-selected-tab-fill : '#1E1F22';
69+
swt-selected-tab-highlight: '#a6a6a6';
70+
swt-selected-highlight-top: true;
71+
swt-draw-custom-tab-content-background: true;
72+
swt-unselected-hot-tab-color-background:#161616;
73+
}
74+
75+
#org-eclipse-ui-editorss CTabFolder.active {
76+
swt-selected-tab-highlight: '#2b79d7';
77+
swt-selected-highlight-top: true;
78+
}
79+
80+
CTabFolder[style~='SWT.DOWN'][style~='SWT.BOTTOM'] {
81+
/* Set the styles for the bottom inner tabs (Bug 430051): */
82+
swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering');
83+
swt-selected-tab-fill: #1E1F22;
84+
swt-unselected-tabs-color: #48484c;
85+
swt-unselected-hot-tab-color-background: #2f2f2f;
86+
swt-selected-tab-highlight: #2b79d7;
87+
swt-selected-highlight-top: false;
88+
}
89+
90+
.MPart Form Composite,
91+
.MPart Form Composite Tree,
92+
.MPartStack.active .MPart Form Composite Tree
93+
{
94+
background-color: #1E1F22;
95+
}

bundles/org.eclipse.ui.themes/css/e4-dark_mac.css

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,51 @@ Button {
5353
color: unset;
5454
}
5555

56+
/* Inactive view tabs */
57+
.MPartStack{
58+
swt-selected-tab-highlight: #a6a6a6;
59+
swt-selected-highlight-top: false;
60+
swt-draw-custom-tab-content-background: true;
61+
swt-unselected-hot-tab-color-background: #161616;
62+
}
63+
64+
.MPartStack.active {
65+
swt-selected-tab-highlight: #2b79d7;
66+
swt-selected-highlight-top: false;
67+
}
68+
69+
/*text color of selected tab in editor */
70+
#org-eclipse-ui-editorss CTabItem:selected{
71+
color: '#FFFFFF';
72+
}
73+
74+
#org-eclipse-ui-editorss CTabFolder{
75+
swt-selected-tab-fill : '#1E1F22';
76+
swt-selected-tab-highlight: '#a6a6a6';
77+
swt-selected-highlight-top: true;
78+
swt-draw-custom-tab-content-background: true;
79+
swt-unselected-hot-tab-color-background:#161616;
80+
}
81+
82+
#org-eclipse-ui-editorss CTabFolder.active {
83+
swt-selected-tab-highlight: '#2b79d7';
84+
swt-selected-highlight-top: true;
85+
}
86+
87+
CTabFolder[style~='SWT.DOWN'][style~='SWT.BOTTOM'] {
88+
/* Set the styles for the bottom inner tabs (Bug 430051): */
89+
swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering');
90+
swt-selected-tab-fill: #1E1F22;
91+
swt-unselected-tabs-color: #48484c;
92+
swt-unselected-hot-tab-color-background: #2f2f2f;
93+
swt-selected-tab-highlight: #2b79d7;
94+
swt-selected-highlight-top: false;
95+
}
96+
97+
.MPart Form Composite,
98+
.MPart Form Composite Tree,
99+
.MPartStack.active .MPart Form Composite Tree
100+
{
101+
background-color: #1E1F22;
102+
}
103+

bundles/org.eclipse.ui.themes/css/e4-dark_win.css

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,3 +135,50 @@ ImageBasedFrame,
135135
color: #DDDDDD;
136136
}
137137

138+
/* Inactive view tabs */
139+
.MPartStack{
140+
swt-selected-tab-highlight: #a6a6a6;
141+
swt-selected-highlight-top: false;
142+
swt-draw-custom-tab-content-background: true;
143+
swt-unselected-hot-tab-color-background: #161616;
144+
}
145+
146+
.MPartStack.active {
147+
swt-selected-tab-highlight: #2b79d7;
148+
swt-selected-highlight-top: false;
149+
}
150+
151+
/*text color of selected tab in editor */
152+
#org-eclipse-ui-editorss CTabItem:selected{
153+
color: '#FFFFFF';
154+
}
155+
156+
#org-eclipse-ui-editorss CTabFolder{
157+
swt-selected-tab-fill : '#1E1F22';
158+
swt-selected-tab-highlight: '#a6a6a6';
159+
swt-selected-highlight-top: true;
160+
swt-draw-custom-tab-content-background: true;
161+
swt-unselected-hot-tab-color-background:#161616;
162+
}
163+
164+
#org-eclipse-ui-editorss CTabFolder.active {
165+
swt-selected-tab-highlight: '#2b79d7';
166+
swt-selected-highlight-top: true;
167+
}
168+
169+
CTabFolder[style~='SWT.DOWN'][style~='SWT.BOTTOM'] {
170+
/* Set the styles for the bottom inner tabs (Bug 430051): */
171+
swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering');
172+
swt-selected-tab-fill: #1E1F22;
173+
swt-unselected-tabs-color: #48484c;
174+
swt-unselected-hot-tab-color-background: #2f2f2f;
175+
swt-selected-tab-highlight: #2b79d7;
176+
swt-selected-highlight-top: false;
177+
}
178+
179+
.MPart Form Composite,
180+
.MPart Form Composite Tree,
181+
.MPartStack.active .MPart Form Composite Tree
182+
{
183+
background-color: #1E1F22;
184+
}

0 commit comments

Comments
 (0)