From 397bdf6f1d20a6e03ab29e8cf379bdffe9775726 Mon Sep 17 00:00:00 2001
From: Phillipus
Date: Thu, 15 Feb 2024 22:12:29 +0000
Subject: [PATCH] [Themes] Update CSS themes for Eclipse 4.31
---
.../themes/eclipse/css/dark/e4-dark_partstyle.css | 12 +++++++++++-
.../eclipse/css/dark/e4-dark_preferencestyle.css | 4 +++-
.../themes/eclipse/css/light/e4-light_tabstyle.css | 9 +++++++++
3 files changed, 23 insertions(+), 2 deletions(-)
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..b9adbc6bb 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'
@@ -73,4 +76,3 @@ IEclipsePreferences#org-eclipse-ui-workbench:org-eclipse-ui-themes { /* pseudo a
'org.eclipse.jface.REVISION_NEWEST_COLOR=75,44,3'
'org.eclipse.jface.REVISION_OLDEST_COLOR=154,113,61'
}
-
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';