Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wolf2018-02-22 21:16:56 +0000
committerThomas Wolf2018-02-22 21:18:06 +0000
commit502bbd9af6078180377c8f9c7f0f6e6284d622fb (patch)
tree338d9b2c81ea03f9bb1c4480fb313af01c016c55
parentf9ce186e89de4d05d37f75ba4d3892c7af2648c1 (diff)
downloadegit-502bbd9af6078180377c8f9c7f0f6e6284d622fb.tar.gz
egit-502bbd9af6078180377c8f9c7f0f6e6284d622fb.tar.xz
egit-502bbd9af6078180377c8f9c7f0f6e6284d622fb.zip
Fix CSS for dark theme
Add the pseudo-selector required by the fix for bug 466075. This should fix Egit colors on Eclipse >= Oxygen; Eclipses < Oxygen will ignore this pseudo-selector and behavior will be unchanged. Bug: 531527 Change-Id: I66efa06bdf5c9a66e136058f13ab05cf2097469a Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
-rw-r--r--org.eclipse.egit.ui/css/e4-dark_egit_prefstyle.css3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.egit.ui/css/e4-dark_egit_prefstyle.css b/org.eclipse.egit.ui/css/e4-dark_egit_prefstyle.css
index 3d21bc5165..f90f835e8f 100644
--- a/org.eclipse.egit.ui/css/e4-dark_egit_prefstyle.css
+++ b/org.eclipse.egit.ui/css/e4-dark_egit_prefstyle.css
@@ -13,7 +13,8 @@
/* ############################## EGIT preferences ############################## */
-IEclipsePreferences#org-eclipse-ui-workbench {
+/* See bug 466075 about the pseudo-selector ":org-eclipse-egit-ui" */
+IEclipsePreferences#org-eclipse-ui-workbench:org-eclipse-egit-ui {
preferences:
'org.eclipse.egit.ui.DiffAddBackgroundColor=11,121,90'
'org.eclipse.egit.ui.DiffAddForegroundColor=216,254,245'

Back to the top