git.el: Added colors for dark background
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
2f6a382370
commit
1ff55ff27b
@ -99,47 +99,56 @@ if there is already one that displays the same directory."
|
|||||||
|
|
||||||
|
|
||||||
(defface git-status-face
|
(defface git-status-face
|
||||||
'((((class color) (background light)) (:foreground "purple")))
|
'((((class color) (background light)) (:foreground "purple"))
|
||||||
|
(((class color) (background dark)) (:foreground "salmon")))
|
||||||
"Git mode face used to highlight added and modified files."
|
"Git mode face used to highlight added and modified files."
|
||||||
:group 'git)
|
:group 'git)
|
||||||
|
|
||||||
(defface git-unmerged-face
|
(defface git-unmerged-face
|
||||||
'((((class color) (background light)) (:foreground "red" :bold t)))
|
'((((class color) (background light)) (:foreground "red" :bold t))
|
||||||
|
(((class color) (background dark)) (:foreground "red" :bold t)))
|
||||||
"Git mode face used to highlight unmerged files."
|
"Git mode face used to highlight unmerged files."
|
||||||
:group 'git)
|
:group 'git)
|
||||||
|
|
||||||
(defface git-unknown-face
|
(defface git-unknown-face
|
||||||
'((((class color) (background light)) (:foreground "goldenrod" :bold t)))
|
'((((class color) (background light)) (:foreground "goldenrod" :bold t))
|
||||||
|
(((class color) (background dark)) (:foreground "goldenrod" :bold t)))
|
||||||
"Git mode face used to highlight unknown files."
|
"Git mode face used to highlight unknown files."
|
||||||
:group 'git)
|
:group 'git)
|
||||||
|
|
||||||
(defface git-uptodate-face
|
(defface git-uptodate-face
|
||||||
'((((class color) (background light)) (:foreground "grey60")))
|
'((((class color) (background light)) (:foreground "grey60"))
|
||||||
|
(((class color) (background dark)) (:foreground "grey40")))
|
||||||
"Git mode face used to highlight up-to-date files."
|
"Git mode face used to highlight up-to-date files."
|
||||||
:group 'git)
|
:group 'git)
|
||||||
|
|
||||||
(defface git-ignored-face
|
(defface git-ignored-face
|
||||||
'((((class color) (background light)) (:foreground "grey60")))
|
'((((class color) (background light)) (:foreground "grey60"))
|
||||||
|
(((class color) (background dark)) (:foreground "grey40")))
|
||||||
"Git mode face used to highlight ignored files."
|
"Git mode face used to highlight ignored files."
|
||||||
:group 'git)
|
:group 'git)
|
||||||
|
|
||||||
(defface git-mark-face
|
(defface git-mark-face
|
||||||
'((((class color) (background light)) (:foreground "red" :bold t)))
|
'((((class color) (background light)) (:foreground "red" :bold t))
|
||||||
|
(((class color) (background dark)) (:foreground "tomato" :bold t)))
|
||||||
"Git mode face used for the file marks."
|
"Git mode face used for the file marks."
|
||||||
:group 'git)
|
:group 'git)
|
||||||
|
|
||||||
(defface git-header-face
|
(defface git-header-face
|
||||||
'((((class color) (background light)) (:foreground "blue")))
|
'((((class color) (background light)) (:foreground "blue"))
|
||||||
|
(((class color) (background dark)) (:foreground "blue")))
|
||||||
"Git mode face used for commit headers."
|
"Git mode face used for commit headers."
|
||||||
:group 'git)
|
:group 'git)
|
||||||
|
|
||||||
(defface git-separator-face
|
(defface git-separator-face
|
||||||
'((((class color) (background light)) (:foreground "brown")))
|
'((((class color) (background light)) (:foreground "brown"))
|
||||||
|
(((class color) (background dark)) (:foreground "brown")))
|
||||||
"Git mode face used for commit separator."
|
"Git mode face used for commit separator."
|
||||||
:group 'git)
|
:group 'git)
|
||||||
|
|
||||||
(defface git-permission-face
|
(defface git-permission-face
|
||||||
'((((class color) (background light)) (:foreground "green" :bold t)))
|
'((((class color) (background light)) (:foreground "green" :bold t))
|
||||||
|
(((class color) (background dark)) (:foreground "green" :bold t)))
|
||||||
"Git mode face used for permission changes."
|
"Git mode face used for permission changes."
|
||||||
:group 'git)
|
:group 'git)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user