Skip to content

Commit

Permalink
Move "Light (Preview)" Theme to the "Light" Theme
Browse files Browse the repository at this point in the history
- Copies over all changes done in the "Light (Preview)" theme to the
"Light" theme. So the changes done in the preview theme are now the
default.

- Delete the "Light (Preview)" theme as it's no longer needed.

Also:
- Simplify the plugin.properties file to remove duplicated strings.

See: eclipse-platform#2114
  • Loading branch information
BeckerWdf authored and mai-tran-03 committed Dec 10, 2024
1 parent d22ea3c commit 9161c55
Show file tree
Hide file tree
Showing 11 changed files with 475 additions and 865 deletions.
20 changes: 0 additions & 20 deletions bundles/org.eclipse.ui.themes/css/e4_basestyle_preview.css

This file was deleted.

184 changes: 163 additions & 21 deletions bundles/org.eclipse.ui.themes/css/e4_default_gtk.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,62 +13,91 @@
* Lars Vogel <[email protected]> - Bug 420836
* Mickael Istria <[email protected]> - 325937
* Patrik Suzzi <[email protected]> - Bug 501250
* SAP SE - light theme improvements
*******************************************************************************/

@import url("platform:/plugin/org.eclipse.ui.themes/css/e4_basestyle.css");

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START {
color: #E1DEDB;
color: #F8F8F8;
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END {
color: #E1DEDB;
color: #F8F8F8;
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR {
color: #CDC7C2;
color: #E5E5E5;
}
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR {
color: #CDC7C2;
color: #f8f8f8;
}
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR {
color: #CDC7C2;
color: #E5E5E5;
}

ColorDefinition#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START {
color: #EAE8E6;
color: #F8F8F8;
}

ColorDefinition#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END {
color: #EAE8E6;
color: #F8F8F8;
}

ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR {
color: #D5D0CC;
color: #E5E5E5;
}

ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_INNER_KEYLINE_COLOR {
color: #D5D0CC;
color: #f8f8f8;
}

ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR {
color: #D5D0CC;
color: #E5E5E5;
}

ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_BG_START {
color: #F6F5F4;
color: #F8F8F8;
}

ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END {
color: #F6F5F4;
color: #F8F8F8;
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START{
color: #f8f8f8;
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END {
color: #f8f8f8;
}

ColorDefinition#org-eclipse-ui-workbench-INACTIVE_NOFOCUS_TAB_BG_START {
color: #EAE8E6;
color: #f8f8f8;
}

ColorDefinition#org-eclipse-ui-workbench-INACTIVE_NOFOCUS_TAB_BG_END {
color: #EAE8E6;
color: #F8F8F8;
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START {
color: #F8F8F8;
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END {
color: #F8F8F8;
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_TEXT_COLOR {
color: #000000;
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_TEXT_COLOR {
color: #000000;
}

ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_TEXT_COLOR {
color: #000000;
}

.MTrimmedWindow {
Expand All @@ -88,14 +117,127 @@ ColorDefinition#org-eclipse-ui-workbench-INACTIVE_NOFOCUS_TAB_BG_END {
}

CTabFolder.MArea {
background-color: #F6F5F4;
swt-selected-tab-fill: #F6F5F4;
swt-unselected-tabs-color: #F6F5F4;
swt-outer-keyline-color: #F6F5F4;
swt-inner-keyline-color: #F6F5F4;
swt-tab-outline: #F6F5F4;
background-color: #f8f8f8;
swt-selected-tab-fill: #f8f8f8;
swt-unselected-tabs-color: #f8f8f8;
swt-outer-keyline-color: #f8f8f8;
swt-inner-keyline-color: #f8f8f8;
swt-tab-outline: #ffffff;
}

CTabFolder Canvas {
background-color: #F8F7F6;
background-color: #f8f8f8;
}

.MTrimBar#org-eclipse-ui-main-toolbar {
background-color: #f8f8f8;
}

.MTrimBar#org-eclipse-ui-trim-status {
background-color: #f8f8f8;
}

.View Composite,
.View Composite Tree,
.View Composite Label,
.View ToolBar,
.View Group,
.View Group Label,
.View Section,
.View BusyIndicator,
.View Text[style~='SWT.READ_ONLY'],
.View SashForm,
.View OleFrame,
.View Browser,
.View WebSite,
.View StyledText[style~='SWT.READ_ONLY'],
.View Link,
.View FormText,
.View Hyperlink,
.View Canvas,
.View FigureCanvas
{
background-color: #f8f8f8;
}

.View TitleRegion{
background-color:#f8f8f8;
}

.MPartStack.active .View TitleRegion{
background-color:#f8f8f8;
}

.View Button[style~='SWT.CHECK']{
background-color: inherit;
}

.View Toolbar ToolItem{
background-color: #eaeaea;
}

.View TabbedPropertyList{
swt-tabBackground-color: #ffffff;
}

.View Composite PrependingAsteriskFilteredTree,
.View PrependingAsteriskFilteredTree Text,
.View Group Text,
.View Group Combo,
.View Composite Text,
.View Button[style~='SWT.PUSH']{
background-color: #ffffff;
}

.MPartStack{
swt-selected-tab-highlight: #A0A0A0;
swt-selected-highlight-top: false;
}

.MPartStack.active {
swt-selected-tab-highlight: #2160bb;
swt-selected-highlight-top: false;
}

/* text color and background color of unselected tabs in editor*/
#org-eclipse-ui-editorss CTabItem{
color: #000000;
background-color: #f8f8f8;
}

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

#org-eclipse-ui-editorss CTabFolder{
swt-selected-tab-fill : #ffffff;
swt-selected-tab-highlight: #8a8a8a;
swt-selected-highlight-top: true;
swt-tab-outline:#e5e5e5;
swt-tab-outer-keyline: #e5e5e5;
swt-draw-custom-tab-content-background: true;
swt-unselected-hot-tab-color-background:#ffffff;
}

#org-eclipse-ui-editorss CTabFolder.active {
swt-selected-tab-highlight: #2160bb;
swt-selected-highlight-top: true;
}

#org-eclipse-e4-ui-compatibility-editor Composite{
background-color: #ffffff;
}

Composite.MPartSashContainer{
background-color: #f8f8f8;
}

Composite.MArea{
background-color: #ffffff;
}

.MPart CTabFolder{
swt-outer-keyline-color: #ffffff;
}
Loading

0 comments on commit 9161c55

Please sign in to comment.