git.el: Added colors for dark background
Signed-off-by: Junio C Hamano <gitster@pobox.com>
David Kågedal committed
Aug 27, 2007 at 11:50 UTC
1ff55ff27b819c1fd9c0d2e153974f2c1924a875
1 file changed
+18
-9
contrib/emacs/git.el
+18
-9
@@ -99,47 +99,56 @@ if there is already one that displays the same directory."
99
100
101
(defface git-status-face
102
- '((((class color) (background light)) (:foreground "purple")))
102
+ '((((class color) (background light)) (:foreground "purple"))
103
+ (((class color) (background dark)) (:foreground "salmon")))
104
"Git mode face used to highlight added and modified files."
105
:group 'git)
106
107
(defface git-unmerged-face
107
- '((((class color) (background light)) (:foreground "red" :bold t)))
108
+ '((((class color) (background light)) (:foreground "red" :bold t))
109
+ (((class color) (background dark)) (:foreground "red" :bold t)))
110
"Git mode face used to highlight unmerged files."
111
:group 'git)
112
113
(defface git-unknown-face
112
- '((((class color) (background light)) (:foreground "goldenrod" :bold t)))
114
+ '((((class color) (background light)) (:foreground "goldenrod" :bold t))
115
+ (((class color) (background dark)) (:foreground "goldenrod" :bold t)))
116
"Git mode face used to highlight unknown files."
117
:group 'git)
118
119
(defface git-uptodate-face
117
- '((((class color) (background light)) (:foreground "grey60")))
120
+ '((((class color) (background light)) (:foreground "grey60"))
121
+ (((class color) (background dark)) (:foreground "grey40")))
122
"Git mode face used to highlight up-to-date files."
123
:group 'git)
124
125
(defface git-ignored-face
122
- '((((class color) (background light)) (:foreground "grey60")))
126
+ '((((class color) (background light)) (:foreground "grey60"))
127
+ (((class color) (background dark)) (:foreground "grey40")))
128
"Git mode face used to highlight ignored files."
129
:group 'git)
130
131
(defface git-mark-face
127
- '((((class color) (background light)) (:foreground "red" :bold t)))
132
+ '((((class color) (background light)) (:foreground "red" :bold t))
133
+ (((class color) (background dark)) (:foreground "tomato" :bold t)))
134
"Git mode face used for the file marks."
135
:group 'git)
136
137
(defface git-header-face
132
- '((((class color) (background light)) (:foreground "blue")))
138
+ '((((class color) (background light)) (:foreground "blue"))
139
+ (((class color) (background dark)) (:foreground "blue")))
140
"Git mode face used for commit headers."
141
:group 'git)
142
143
(defface git-separator-face
137
- '((((class color) (background light)) (:foreground "brown")))
144
+ '((((class color) (background light)) (:foreground "brown"))
145
+ (((class color) (background dark)) (:foreground "brown")))
146
"Git mode face used for commit separator."
147
:group 'git)
148
149
(defface git-permission-face
142
- '((((class color) (background light)) (:foreground "green" :bold t)))
150
+ '((((class color) (background light)) (:foreground "green" :bold t))
151
+ (((class color) (background dark)) (:foreground "green" :bold t)))
152
"Git mode face used for permission changes."
153
:group 'git)
154