From ab7d5c7ddaa5f4003ac6169040185665608e317d Mon Sep 17 00:00:00 2001
From: Phillipus
Date: Sun, 18 Feb 2024 12:18:43 +0000
Subject: [PATCH] [Themes] Update CSS themes for Eclipse 4.31
---
.../themes/eclipse/css/dark/archi-dark-styling.css | 6 ++++++
.../themes/eclipse/css/dark/e4-dark_partstyle.css | 12 +++++++++++-
.../eclipse/css/dark/e4-dark_preferencestyle.css | 3 +++
.../themes/eclipse/css/light/archi-light-styling.css | 8 +++++++-
.../themes/eclipse/css/light/e4-light_tabstyle.css | 9 +++++++++
5 files changed, 36 insertions(+), 2 deletions(-)
diff --git a/com.archimatetool.editor.themes/themes/eclipse/css/dark/archi-dark-styling.css b/com.archimatetool.editor.themes/themes/eclipse/css/dark/archi-dark-styling.css
index 5924193c1..94a778101 100644
--- a/com.archimatetool.editor.themes/themes/eclipse/css/dark/archi-dark-styling.css
+++ b/com.archimatetool.editor.themes/themes/eclipse/css/dark/archi-dark-styling.css
@@ -4,6 +4,12 @@
@import url("platform:/plugin/com.archimatetool.editor.themes/themes/archi/css/common/archi-globalstyle.css");
+CTabFolder.active {
+ /* Set at top and a tad brighter */
+ swt-selected-tab-highlight: rgb(50, 114, 237);
+ swt-selected-highlight-top: true;
+}
+
/* Theme colors */
ColorDefinition#com-archimatetool-editor-VIEW_BACKGROUND {
diff --git a/com.archimatetool.editor.themes/themes/eclipse/css/dark/e4-dark_partstyle.css b/com.archimatetool.editor.themes/themes/eclipse/css/dark/e4-dark_partstyle.css
index 1344b2717..0a90e86e3 100644
--- a/com.archimatetool.editor.themes/themes/eclipse/css/dark/e4-dark_partstyle.css
+++ b/com.archimatetool.editor.themes/themes/eclipse/css/dark/e4-dark_partstyle.css
@@ -108,8 +108,18 @@
}
.MPart FormHeading > CLabel {
background-color: #505f70;
- color: #E98787;
}
+
+.MPartFormHeaderCLabelError {
+ color:'#org-eclipse-ui-workbench-FORM_HEADING_ERROR_COLOR';
+}
+.MPartFormHeaderCLabelWarning {
+ color:'#org-eclipse-ui-workbench-FORM_HEADING_WARNING_COLOR';
+}
+.MPartFormHeaderCLabelInfo {
+ color:'#org-eclipse-ui-workbench-FORM_HEADING_INFO_COLOR';
+}
+
/* ------------------------------------------------------------- */
#org-eclipse-jdt-ui-SourceView StyledText,
diff --git a/com.archimatetool.editor.themes/themes/eclipse/css/dark/e4-dark_preferencestyle.css b/com.archimatetool.editor.themes/themes/eclipse/css/dark/e4-dark_preferencestyle.css
index b90da2d24..9084070fa 100644
--- a/com.archimatetool.editor.themes/themes/eclipse/css/dark/e4-dark_preferencestyle.css
+++ b/com.archimatetool.editor.themes/themes/eclipse/css/dark/e4-dark_preferencestyle.css
@@ -62,6 +62,9 @@ IEclipsePreferences#org-eclipse-ui-workbench:org-eclipse-ui-themes { /* pseudo a
'org.eclipse.ui.workbench.INFORMATION_FOREGROUND=238,238,238'
'org.eclipse.ui.workbench.HOVER_BACKGROUND=52,57,61'
'org.eclipse.ui.workbench.HOVER_FOREGROUND=238,238,238'
+ 'org.eclipse.ui.workbench.FORM_HEADING_ERROR_COLOR=255,110,110'
+ 'org.eclipse.ui.workbench.FORM_HEADING_WARNING_COLOR=255,200,0'
+ 'org.eclipse.ui.workbench.FORM_HEADING_INFO_COLOR=170,170,170'
'ERROR_COLOR=247,68,117'
'HYPERLINK_COLOR=111,197,238'
'INCOMING_COLOR=31,179,235'
diff --git a/com.archimatetool.editor.themes/themes/eclipse/css/light/archi-light-styling.css b/com.archimatetool.editor.themes/themes/eclipse/css/light/archi-light-styling.css
index 0c2ae0368..70ef62e9e 100644
--- a/com.archimatetool.editor.themes/themes/eclipse/css/light/archi-light-styling.css
+++ b/com.archimatetool.editor.themes/themes/eclipse/css/light/archi-light-styling.css
@@ -7,4 +7,10 @@
TabbedPropertyList {
/* Default is too light */
color : #202020; /* text color in the tab / tab area */
-}
\ No newline at end of file
+}
+
+CTabFolder.active {
+ /* Set at top and not so bright */
+ swt-selected-tab-highlight: rgb(55, 124, 247);
+ swt-selected-highlight-top: true;
+}
diff --git a/com.archimatetool.editor.themes/themes/eclipse/css/light/e4-light_tabstyle.css b/com.archimatetool.editor.themes/themes/eclipse/css/light/e4-light_tabstyle.css
index b37dbf777..6306b6dde 100644
--- a/com.archimatetool.editor.themes/themes/eclipse/css/light/e4-light_tabstyle.css
+++ b/com.archimatetool.editor.themes/themes/eclipse/css/light/e4-light_tabstyle.css
@@ -30,6 +30,7 @@
padding: 0px;
color: '#org-eclipse-ui-workbench-INACTIVE_TAB_TEXT_COLOR';
swt-draw-custom-tab-content-background: true;
+ swt-unselected-hot-tab-color-background:'#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START';
}
.MPartStack.active {
@@ -54,6 +55,14 @@ CTabFolder.MArea {
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';