Cyberpunk: Remove fixes merged in 1.22.

master
Pierre Neidhardt 2020-06-08 18:12:52 +02:00
parent 6f9c4f53ee
commit 53ccf67673
1 changed files with 3 additions and 13 deletions

View File

@ -344,24 +344,14 @@
;;; Theme
(if (ignore-errors (load-theme 'cyberpunk 'no-confirm))
(progn
;; REVIEW: Backport unmerged changes.
;; See https://github.com/n3mo/cyberpunk-theme.el/pull/41 and
;; https://github.com/n3mo/cyberpunk-theme.el/issues/45,
;; and https://github.com/n3mo/cyberpunk-theme.el/issues/46.
;; REVIEW: Backport unmerged changes. See
;; https://github.com/n3mo/cyberpunk-theme.el/issues/46.
(set-face-attribute 'lazy-highlight nil
:underline '(:color "yellow")
:foreground 'unspecified
:background 'unspecified)
(with-eval-after-load 'magit
(let ((cyberpunk-bg+1 "#4f4f4f")
(cyberpunk-bg+2 "#5f5f5f")
(cyberpunk-bg+3 "#6f6f6f")
(cyberpunk-bg-1 "#2b2b2b")
(cyberpunk-green-2 "#006400"))
(set-face-background 'magit-section-highlight cyberpunk-bg-1)
(set-face-background 'magit-diff-hunk-heading cyberpunk-bg+1)
(set-face-background 'magit-diff-hunk-heading-highlight cyberpunk-bg+2)
(set-face-background 'magit-diff-hunk-heading-selection cyberpunk-bg+2)
(let ((cyberpunk-green-2 "#006400"))
(set-face-background 'diff-refine-added cyberpunk-green-2)))
(with-eval-after-load 'org
(set-face-attribute 'org-level-1 nil :height 1.1)