Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wolf2020-07-08 09:09:58 +0000
committerMatthias Sohn2020-07-16 23:00:04 +0000
commit72e23e1985f2fc88c2abcd52f31e90512c92d861 (patch)
tree1eab8b98666d94deafbb5e90482b4f135d6ad405
parent1a3dcb7fc97ca5c48fc8bebda2e498f8e74e20c8 (diff)
downloadegit-72e23e1985f2fc88c2abcd52f31e90512c92d861.tar.gz
egit-72e23e1985f2fc88c2abcd52f31e90512c92d861.tar.xz
egit-72e23e1985f2fc88c2abcd52f31e90512c92d861.zip
[dark mode] Fix background color of unstaged/ignored resources
Change the color to #2F2F2F (decimal 47; was #2A2A2A, decimal 42). Even on Neon, dark mode uses #2F2F2F (on Mac) for the background of trees. #2A2A2A used to be the background of editors/StyledText for some time. The history of the Eclipse dark mode CSS files is convoluted and not quite clear to me with all the simplifications that have occurred and different CSS for different platforms, but I didn't see any version that used #2A as background for trees. So just change the value in our dark mode CSS and hope it'll be all right not just on Eclipse Neon and 4.17 but also on all versions in between. Bug: 564478 Change-Id: Iecfcf21353979e9938cf05882accfe5ca8933cf6 Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
-rw-r--r--org.eclipse.egit.ui/css/e4-dark_egit_prefstyle.css4
1 files changed, 2 insertions, 2 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 b7df7648f2..7e2e51f2b3 100644
--- a/org.eclipse.egit.ui/css/e4-dark_egit_prefstyle.css
+++ b/org.eclipse.egit.ui/css/e4-dark_egit_prefstyle.css
@@ -26,9 +26,9 @@ IEclipsePreferences#org-eclipse-ui-workbench:org-eclipse-egit-ui {
'org.eclipse.egit.ui.DiffHunkForegroundColor=233,242,254'
'org.eclipse.egit.ui.DiffRemoveBackgroundColor=117,2,36'
'org.eclipse.egit.ui.DiffRemoveForegroundColor=255,232,237'
- 'org.eclipse.egit.ui.IgnoredResourceBackgroundColor=42,42,42'
+ 'org.eclipse.egit.ui.IgnoredResourceBackgroundColor=47,47,47'
'org.eclipse.egit.ui.IgnoredResourceForegroundColor=120,120,120'
- 'org.eclipse.egit.ui.UncommittedChangeBackgroundColor=42,42,42'
+ 'org.eclipse.egit.ui.UncommittedChangeBackgroundColor=47,47,47'
'org.eclipse.egit.ui.UncommittedChangeForegroundColor=114,157,186'
}

Back to the top