summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorKevin Sawicki2011-04-28 18:15:49 (EDT)
committer Chris Aniszczyk2011-04-29 08:38:05 (EDT)
commit95fdd318ec5eefcbe30a5d6e7edab6bedce4797e (patch)
tree887e4b1a04bacc6483dc1af48a3b80816d331fb8
parent2c09a303f7158429b843b63e5557528390ed71d6 (diff)
downloadegit-95fdd318ec5eefcbe30a5d6e7edab6bedce4797e.zip
egit-95fdd318ec5eefcbe30a5d6e7edab6bedce4797e.tar.gz
egit-95fdd318ec5eefcbe30a5d6e7edab6bedce4797e.tar.bz2
Register diff foreground and background theme colorsrefs/changes/91/3291/2
Bug: 343000 Change-Id: I11308310637a3092e591b41667aafb171a92d16d Signed-off-by: Kevin Sawicki <kevin@github.com> Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
-rw-r--r--org.eclipse.egit.ui/plugin.properties12
-rw-r--r--org.eclipse.egit.ui/plugin.xml60
2 files changed, 72 insertions, 0 deletions
diff --git a/org.eclipse.egit.ui/plugin.properties b/org.eclipse.egit.ui/plugin.properties
index abe97fc..17e409f 100644
--- a/org.eclipse.egit.ui/plugin.properties
+++ b/org.eclipse.egit.ui/plugin.properties
@@ -71,6 +71,18 @@ Theme_UncommittedChangeBackgroundColor_label=Uncommitted Change (Background)
Theme_UncommittedChangeBackgroundColor_description=This color is used for the background color for resources that have outgoing changes.
Theme_UncommittedChangeFont_label=Uncommitted Change Font
Theme_UncommittedChangeFont_description=The font used to display outgoing changes.
+Theme_DiffHunkBackgroundColor_label=Diff Hunk (Background)
+Theme_DiffHunkBackgroundColor_description=This color is used for the background color for diff hunks displayed in the commit viewer.
+Theme_DiffHunkForegroundColor_label=Diff Hunk (Foreground)
+Theme_DiffHunkForegroundColor_description=This color is used for the foreground color for diff hunks displayed in the commit viewer.
+Theme_DiffAddBackgroundColor_label=Diff Added (Background)
+Theme_DiffAddBackgroundColor_description=This color is used for the background color for added diff lines displayed in the commit viewer.
+Theme_DiffAddForegroundColor_label=Diff Added (Foreground)
+Theme_DiffAddForegroundColor_description=This color is used for the foreground color for added diff lines displayed in the commit viewer.
+Theme_DiffRemoveBackgroundColor_label=Diff Removed (Background)
+Theme_DiffRemoveBackgroundColor_description=This color is used for the background color for removed diff lines displayed in the commit viewer.
+Theme_DiffRemoveForegroundColor_label=Diff Removed (Foreground)
+Theme_DiffRemoveForegroundColor_description=This color is used for the foreground color for removed diff lines displayed in the commit viewer.
GitPreferences_name=Git
GitPreferences_WindowCachePreferencePage_name=Window Cache
diff --git a/org.eclipse.egit.ui/plugin.xml b/org.eclipse.egit.ui/plugin.xml
index ae1f2bc..5d601a9 100644
--- a/org.eclipse.egit.ui/plugin.xml
+++ b/org.eclipse.egit.ui/plugin.xml
@@ -476,6 +476,66 @@
%Theme_CommitMessageEditorFont_description
</description>
</fontDefinition>
+ <colorDefinition
+ categoryId="org.eclipse.egit.ui.GitTheme"
+ id="org.eclipse.egit.ui.DiffHunkBackgroundColor"
+ isEditable="true"
+ label="%Theme_DiffHunkBackgroundColor_label"
+ value="234,242,245">
+ <description>
+ %Theme_DiffHunkBackgroundColor_description
+ </description>
+ </colorDefinition>
+ <colorDefinition
+ categoryId="org.eclipse.egit.ui.GitTheme"
+ id="org.eclipse.egit.ui.DiffHunkForegroundColor"
+ isEditable="true"
+ label="%Theme_DiffHunkForegroundColor_label"
+ value="153,153,153">
+ <description>
+ %Theme_DiffHunkForegroundColor_description
+ </description>
+ </colorDefinition>
+ <colorDefinition
+ categoryId="org.eclipse.egit.ui.GitTheme"
+ id="org.eclipse.egit.ui.DiffAddBackgroundColor"
+ isEditable="true"
+ label="%Theme_DiffAddBackgroundColor_label"
+ value="221,255,221">
+ <description>
+ %Theme_DiffAddBackgroundColor_description
+ </description>
+ </colorDefinition>
+ <colorDefinition
+ categoryId="org.eclipse.egit.ui.GitTheme"
+ id="org.eclipse.egit.ui.DiffAddForegroundColor"
+ isEditable="true"
+ label="%Theme_DiffAddForegroundColor_label"
+ value="COLOR_BLACK">
+ <description>
+ %Theme_DiffAddForegroundColor_description
+ </description>
+ </colorDefinition>
+ <colorDefinition
+ categoryId="org.eclipse.egit.ui.GitTheme"
+ id="org.eclipse.egit.ui.DiffRemoveBackgroundColor"
+ isEditable="true"
+ label="%Theme_DiffRemoveBackgroundColor_label"
+ value="255,221,221">
+ <description>
+ %Theme_DiffRemoveBackgroundColor_description
+ </description>
+ </colorDefinition>
+ <colorDefinition
+ categoryId="org.eclipse.egit.ui.GitTheme"
+ id="org.eclipse.egit.ui.DiffRemoveForegroundColor"
+ isEditable="true"
+ label="%Theme_DiffRemoveForegroundColor_label"
+ value="COLOR_BLACK">
+ <description>
+ %Theme_DiffRemoveForegroundColor_description
+ </description>
+ </colorDefinition>
</extension>
<!-- ********** QuickDiff text editor support ************** -->