From e69252a49b1fa99fa2620c63d83f41d28466bdff Mon Sep 17 00:00:00 2001 From: Matthias Becker Date: Mon, 19 Aug 2024 08:03:41 +0200 Subject: [PATCH] Add Improved Light Theme as Preview for the 2024-09 Release Work on the improved light theme could not be finished for the 2024-09 release. To give user the possibility to already use it, this adds the improved theme as a preview theme. This also enables us to get early feedback from our users. --- .../css/e4_basestyle_preview.css | 20 ++ .../css/e4_preview_gtk.css | 239 ++++++++++++++++++ .../css/e4_preview_mac.css | 209 +++++++++++++++ .../css/e4_preview_win.css | 213 ++++++++++++++++ .../css/light/e4-light_tabstyle_preview.css | 79 ++++++ .../org.eclipse.ui.themes/plugin.properties | 4 + bundles/org.eclipse.ui.themes/plugin.xml | 18 ++ 7 files changed, 782 insertions(+) create mode 100644 bundles/org.eclipse.ui.themes/css/e4_basestyle_preview.css create mode 100644 bundles/org.eclipse.ui.themes/css/e4_preview_gtk.css create mode 100644 bundles/org.eclipse.ui.themes/css/e4_preview_mac.css create mode 100644 bundles/org.eclipse.ui.themes/css/e4_preview_win.css create mode 100644 bundles/org.eclipse.ui.themes/css/light/e4-light_tabstyle_preview.css diff --git a/bundles/org.eclipse.ui.themes/css/e4_basestyle_preview.css b/bundles/org.eclipse.ui.themes/css/e4_basestyle_preview.css new file mode 100644 index 00000000000..641058cea44 --- /dev/null +++ b/bundles/org.eclipse.ui.themes/css/e4_basestyle_preview.css @@ -0,0 +1,20 @@ +/******************************************************************************* + * Copyright (c) 2024 SAP SE and others. + * + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License 2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * SAP SE - initial implementation + *******************************************************************************/ + +@import url("platform:/plugin/org.eclipse.ui.themes/css/common/e4_globalstyle.css"); +@import url("platform:/plugin/org.eclipse.ui.themes/css/light/e4-light_globalstyle.css"); +@import url("platform:/plugin/org.eclipse.ui.themes/css/light/e4-light_ide_colorextensions.css"); +@import url("platform:/plugin/org.eclipse.ui.themes/css/light/e4-light_partstyle.css"); +@import url("platform:/plugin/org.eclipse.ui.themes/css/light/e4-light_tabstyle_preview.css"); +@import url("platform:/plugin/org.eclipse.ui.themes/css/light/e4-light-drag-styling.css"); diff --git a/bundles/org.eclipse.ui.themes/css/e4_preview_gtk.css b/bundles/org.eclipse.ui.themes/css/e4_preview_gtk.css new file mode 100644 index 00000000000..c3b66783ee4 --- /dev/null +++ b/bundles/org.eclipse.ui.themes/css/e4_preview_gtk.css @@ -0,0 +1,239 @@ +/******************************************************************************* + * Copyright (c) 2024 SAP SE and others. + * + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License 2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * SAP SE - initial implementation + *******************************************************************************/ + +@import url("platform:/plugin/org.eclipse.ui.themes/css/e4_basestyle_preview.css"); + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START { + color: #F8F8F8; +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END { + color: #F8F8F8; +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR { + color: #E5E5E5; +} +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR { + color: #f8f8f8; +} +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR { + color: #E5E5E5; +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START { + color: #F8F8F8; +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END { + color: #F8F8F8; +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR { + color: #E5E5E5; +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_INNER_KEYLINE_COLOR { + color: #f8f8f8; +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR { + color: #E5E5E5; +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_BG_START { + color: #F8F8F8; +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END { + 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: #f8f8f8; +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_NOFOCUS_TAB_BG_END { + 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: #3b3b3b; +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_TEXT_COLOR { + color: #3b3b3b; +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_TEXT_COLOR { + color: #3b3b3b; +} + +.MTrimmedWindow { + background-color: #F6F5F4; +} + +.MTrimBar { + background-color: #F6F5F4; +} + +.MTrimBar#org-eclipse-ui-main-toolbar { + background-color: COLOR-WIDGET-BACKGROUND #F6F5F4 100%; +} + +.MPartStack { + swt-simple: false; +} + +CTabFolder.MArea { + 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: #ffffff; +} + +.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: #2160bb; + 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: '#6A6A6A'; + background-color: '#f8f8f8'; +} + +/*text color and background color of selected tab in editor */ +#org-eclipse-ui-editorss CTabItem:selected{ + color: '#3b3b3b'; + background-color: '#FFFFFF'; +} + +#org-eclipse-ui-editorss CTabFolder{ + swt-selected-tab-fill : '#ffffff'; + swt-selected-tab-highlight: '#2160bb'; + 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; +} diff --git a/bundles/org.eclipse.ui.themes/css/e4_preview_mac.css b/bundles/org.eclipse.ui.themes/css/e4_preview_mac.css new file mode 100644 index 00000000000..e537880de8e --- /dev/null +++ b/bundles/org.eclipse.ui.themes/css/e4_preview_mac.css @@ -0,0 +1,209 @@ +/******************************************************************************* + * Copyright (c) 2024 SAP SE and others. + * + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License 2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * SAP SE - initial implementation + *******************************************************************************/ + +@import url("platform:/plugin/org.eclipse.ui.themes/css/e4_basestyle_preview.css"); + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START { + color: #F8F8F8; +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END { + color: #F8F8F8; +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START { + color: #F8F8F8; +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END { + color: #F8F8F8; +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR { + color: #EAEAEA; +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR { + color: #EAEAEA; +} + +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_TAB_OUTER_KEYLINE_COLOR { + color: #EAEAEA; +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR { + color: #EAEAEA; +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_BG_START { + color: #F8F8F8; +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END { + 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: #404040; +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_TEXT_COLOR { + color: #404040; +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_TEXT_COLOR { + color: #404040; +} + +.MTrimmedWindow { + background-color: '#f8f8f8'; +} + +.MTrimBar { + background-color: '#f8f8f8'; +} + +.MTrimBar#org-eclipse-ui-main-toolbar { + background-color: '#f8f8f8'; +} + +CTabFolder Canvas { + background-color: rgb(255, 255, 255); +} + + +.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: #5983c5; + swt-selected-highlight-top: false; +} + +.MPartStack.active { + swt-selected-tab-highlight: #5983c5; + swt-selected-highlight-top: false; +} + +/* text color of unselected tabs in editor*/ +#org-eclipse-ui-editorss CTabItem{ + color: '#6A6A6A'; + background-color: '#f8f8f8'; +} + +/*text color and background color of selected tab in editor */ +#org-eclipse-ui-editorss CTabItem:selected{ + color: '#3b3b3b'; + background-color: '#FFFFFF'; +} + +#org-eclipse-ui-editorss CTabFolder{ + swt-selected-tab-fill : '#ffffff'; + swt-selected-tab-highlight: '#5983c5'; + swt-selected-highlight-top: true; + swt-tab-outline:#eaeaea; + swt-tab-outer-keyline: #eaeaea; + swt-draw-custom-tab-content-background: true; + swt-unselected-hot-tab-color-background:'#FFFFFF'; +} + +#org-eclipse-ui-editorss CTabFolder.active { + swt-selected-tab-highlight: '#5983c5'; + 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; +} diff --git a/bundles/org.eclipse.ui.themes/css/e4_preview_win.css b/bundles/org.eclipse.ui.themes/css/e4_preview_win.css new file mode 100644 index 00000000000..be6b270ba37 --- /dev/null +++ b/bundles/org.eclipse.ui.themes/css/e4_preview_win.css @@ -0,0 +1,213 @@ +/******************************************************************************* + * Copyright (c) 2024 SAP SE and others. + * + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License 2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * SAP SE - initial implementation + *******************************************************************************/ + +@import url("platform:/plugin/org.eclipse.ui.themes/css/e4_basestyle_preview.css"); + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START { + color: #F8F8F8; +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END { + color: #F8F8F8; +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR { + color: #E5E5E5; +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR { + color: #E5E5E5; +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START { + color: #F8F8F8; +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END { + color: #F8F8F8; +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR { + color: #E5E5E5; +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR { + color: #E5E5E5; +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_BG_START { + color: #F8F8F8; +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END { + 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-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: #3b3b3b; +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_TEXT_COLOR { + color: #3b3b3b; +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_TEXT_COLOR { + color: #3b3b3b; +} + +.MPartStack { + swt-simple: true; +} + +CTabFolder.MArea { + 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: #ffffff; +} + +.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: #2160bb; + 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: '#6A6A6A'; + background-color: '#f8f8f8'; +} + +/*text color and background color of selected tab in editor */ +#org-eclipse-ui-editorss CTabItem:selected{ + color: '#3b3b3b'; + background-color: '#FFFFFF'; +} + +#org-eclipse-ui-editorss CTabFolder{ + swt-selected-tab-fill : '#ffffff'; + swt-selected-tab-highlight: '#2160bb'; + 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; +} diff --git a/bundles/org.eclipse.ui.themes/css/light/e4-light_tabstyle_preview.css b/bundles/org.eclipse.ui.themes/css/light/e4-light_tabstyle_preview.css new file mode 100644 index 00000000000..dc4a905ec5a --- /dev/null +++ b/bundles/org.eclipse.ui.themes/css/light/e4-light_tabstyle_preview.css @@ -0,0 +1,79 @@ +/******************************************************************************* + * Copyright (c) 2024 SAP SE and others. + * + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License 2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * SAP SE - initial implementation + *******************************************************************************/ + +/* ################################ CSS for Tabs ########################## */ + +#org-eclipse-ui-editorss { + swt-tab-height: 8px; +} + +.MPartStack { + swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering'); + swt-selected-tab-fill: '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_START' '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END' 100% 100%; + swt-unselected-tabs-color: '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START' '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END' 100% 100%; + swt-outer-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR'; + swt-inner-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_INNER_KEYLINE_COLOR'; + swt-tab-outline: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR'; + padding: 0px; + color: '#org-eclipse-ui-workbench-INACTIVE_TAB_TEXT_COLOR'; + swt-draw-custom-tab-content-background: true; + swt-unselected-hot-tab-color-background:#EAEAEA; +} + +.MPartStack.active { + swt-selected-tab-fill: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END' 100% 100%; + swt-unselected-tabs-color: '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START' '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END' 100% 100%; + swt-outer-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR'; + swt-inner-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR'; + swt-tab-outline: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR'; + swt-draw-custom-tab-content-background: true; +} + +.MPartStack.active.noFocus { + swt-selected-tab-fill: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END' 100% 100%; +} + +CTabItem:selected { + color: '#org-eclipse-ui-workbench-ACTIVE_TAB_TEXT_COLOR'; +} + +CTabFolder.MArea { + swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering'); + padding: 0px; +} + +CTabFolder { + swt-selected-tab-highlight: none; +} + +CTabFolder.active { + swt-selected-tab-highlight: rgb(103,145,230); + swt-selected-highlight-top: false; +} + +.MPartStack.active.noFocus > CTabItem:selected { + color: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_TEXT_COLOR'; +} + +.MPartStack > Composite { + background-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END'; +} + +.MPartStack.active > Composite { + background-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END'; +} + +.MPartStack.active.noFocus > Composite { + background-color: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END'; +} diff --git a/bundles/org.eclipse.ui.themes/plugin.properties b/bundles/org.eclipse.ui.themes/plugin.properties index 877792e4e64..c4e8ad6e805 100644 --- a/bundles/org.eclipse.ui.themes/plugin.properties +++ b/bundles/org.eclipse.ui.themes/plugin.properties @@ -19,6 +19,10 @@ theme.classic = Classic theme.gtk = Light theme.mac = Light theme.win = Light +theme.preview.gtk = Light (Preview) +theme.preview.mac = Light (Preview) +theme.preview.win = Light (Preview) + theme.dark = Dark theme.high-contrast = High Contrast diff --git a/bundles/org.eclipse.ui.themes/plugin.xml b/bundles/org.eclipse.ui.themes/plugin.xml index f4ed3117369..f9e728b750e 100644 --- a/bundles/org.eclipse.ui.themes/plugin.xml +++ b/bundles/org.eclipse.ui.themes/plugin.xml @@ -51,6 +51,24 @@ label="%theme.win" os="win32"> + + + + + +