Overhaul magit faces
This commit is contained in:
parent
829f2073f2
commit
1eb7aadc70
@ -94,6 +94,7 @@
|
|||||||
"A dark color scheme inspired by the libadwaita colors.")
|
"A dark color scheme inspired by the libadwaita colors.")
|
||||||
|
|
||||||
(let ((class '((class color) (min-colors 256)))
|
(let ((class '((class color) (min-colors 256)))
|
||||||
|
(flat-button-available-p (version<= "28.1" emacs-version))
|
||||||
|
|
||||||
;; =====================
|
;; =====================
|
||||||
;; -- Theme variables --
|
;; -- Theme variables --
|
||||||
@ -614,26 +615,23 @@
|
|||||||
`(magit-bisect-bad ((,class (:foreground ,red))))
|
`(magit-bisect-bad ((,class (:foreground ,red))))
|
||||||
`(magit-bisect-good ((,class (:foreground ,green))))
|
`(magit-bisect-good ((,class (:foreground ,green))))
|
||||||
`(magit-bisect-skip ((,class (:foreground ,orange))))
|
`(magit-bisect-skip ((,class (:foreground ,orange))))
|
||||||
`(magit-blame-date ((,class (:foreground ,red))))
|
`(magit-blame-date ((,class (:foreground ,blue))))
|
||||||
`(magit-blame-heading ((,class (:background ,base-3 :foreground ,orange))))
|
`(magit-blame-heading ((,class (:foreground ,base-7 :underline (:color ,base-3) :extend t :box ,(when flat-button-available-p '(:line-width 4 :style flat-button))))))
|
||||||
`(magit-branch-current ((,class (:foreground ,cyan))))
|
`(magit-branch-current ((,class (:foreground ,orange))))
|
||||||
`(magit-branch-local ((,class (:foreground ,blue))))
|
`(magit-branch-local ((,class (:foreground ,blue))))
|
||||||
`(magit-branch-remote ((,class (:foreground ,green))))
|
`(magit-branch-remote ((,class (:foreground ,blue))))
|
||||||
`(magit-cherry-equivalent ((,class (:foreground ,violet))))
|
`(magit-cherry-equivalent ((,class (:foreground ,violet))))
|
||||||
`(magit-cherry-unmatched ((,class (:foreground ,cyan))))
|
`(magit-cherry-unmatched ((,class (:foreground ,cyan))))
|
||||||
;; magit-diff-added
|
`(magit-diff-context ((,class (:foreground ,fg-alt))))
|
||||||
;; magit-diff-added-highlight
|
`(magit-diff-context-highlight ((,class (:inherit 'hl-line :foreground ,base-6))))
|
||||||
;; magit-diff-base
|
`(magit-diff-file-heading ((,class (:foreground ,fg :extend t :box ,(when flat-button-available-p '(:line-width 4 :style flat-button))))))
|
||||||
;; magit-diff-base-highlight
|
`(magit-diff-file-heading-highlight ((,class (:inherit 'hl-line))))
|
||||||
;; magit-diff-context
|
`(magit-diff-file-heading-selection ((,class (:inherit 'hl-line :foreground ,blue :weight bold))))
|
||||||
;; magit-diff-context-highlight
|
`(magit-diff-hunk-heading ((,class (:background ,base-3 :foreground ,base-7 :extend t :box ,(when flat-button-available-p '(:line-width 1 :style flat-button))))))
|
||||||
`(magit-diff-file-heading ((,class (:foreground ,base-7 :weight bold))))
|
`(magit-diff-hunk-heading-highlight ((,class (:background ,base-4 :foreground ,fg))))
|
||||||
`(magit-diff-file-heading-selection ((,class (:foreground ,base-8 :weight bold))))
|
`(magit-diff-hunk-heading-selection ((,class (:background ,base-4 :foreground ,blue :weight bold))))
|
||||||
;; magit-magit-diff-hunk-heading
|
`(magit-diff-lines-boundary ((,class (:background ,blue))))
|
||||||
`(magit-diff-hunk-heading-highlight ((,class (:background ,fg :foreground ,bg :weight bold))))
|
`(magit-diff-lines-heading ((,class (:inherit 'magit-diff-hunk-heading-highlight))))
|
||||||
;; magit-diff-removed
|
|
||||||
;; magit-diff-removed-highlight
|
|
||||||
`(magit-diff-lines-heading ((,class (:background ,red :foreground ,yellow))))
|
|
||||||
`(magit-diffstat-added ((,class (:foreground ,green))))
|
`(magit-diffstat-added ((,class (:foreground ,green))))
|
||||||
`(magit-diffstat-removed ((,class (:foreground ,red))))
|
`(magit-diffstat-removed ((,class (:foreground ,red))))
|
||||||
`(magit-dimmed ((,class (:foreground ,base-5))))
|
`(magit-dimmed ((,class (:foreground ,base-5))))
|
||||||
|
Loading…
Reference in New Issue
Block a user