Add support for magit next

This commit adds support for the forthcoming [next branch][] of magit, which should be
merged in master in the near future.
magit-next defined new faces for it's diff hunks that do not play well
with the solarized dark, and this commit intend to fix it.

[next branch]: https://github.com/magit/magit/tree/next "magit-next branch on github "
This commit is contained in:
calve 2014-09-23 00:52:14 +02:00
parent 6a2c7ca018
commit 3e0edb903b
1 changed files with 9 additions and 0 deletions

View File

@ -507,6 +507,15 @@ the \"Gen RGB\" column in solarized-definitions.el to improve them further."
(tabbar-selected ((t (,@bg-blue ,@fg-base02))))
(tabbar-unselected ((t (,@bg-base0 ,@fg-base02))))
(tabbar-modified ((t (,@bg-green ,@fg-base02))))
;;magit next branch
(magit-diff-added ((t (,@bg-back ,@fg-green))))
(magit-diff-removed ((t (,@bg-back ,@fg-red))))
(magit-diff-context ((t (,@bg-back ,@fg-base1))))
(magit-diff-added-highlight ((t (,@bg-base02 ,@fg-green))))
(magit-diff-removed-highlight ((t (,@bg-base02 ,@fg-red))))
(magit-diff-context-highlight ((t (,@bg-base02 ,@fg-base1))))
(magit-hunk-heading ((t (,@bg-base03 ,@fg-base1))))
(magit-section-highlight ((t (,@bg-base02))))
;; whitespace
(whitespace-empty ((t (,@fg-red))))
(whitespace-hspace ((t (,@fg-orange))))