chore: updated darkmatter theme fc5d8159
Steve · 2026-10-07 22:46 1 file(s) · +257 −191
emacs/themes/darkmatter-theme.el +257 −191
4 4
;; Palette + a few overrides on top of `base16-theme' (package base16-theme).
5 5
;; The 16 slots are mapped to match the old doom-darkmatter roles.
6 6
7 +
(require 'cl-lib)
7 8
(require 'base16-theme)
8 9
9 -
(defvar darkmatter-theme-colors
10 -
  '(:base00 "#121113"   ; background
11 -
    :base01 "#1a191a"   ; lighter background (highlight)
12 -
    :base02 "#222222"   ; selection
13 -
    :base03 "#555555"   ; comments
14 -
    :base04 "#777777"   ; doc, dark foreground
15 -
    :base05 "#c1c1c1"   ; foreground
16 -
    :base06 "#d0d0d0"   ; light foreground
17 -
    :base07 "#e8e8e8"   ; lightest
18 -
    :base08 "#aa6c6c"   ; red: errors
19 -
    :base09 "#e78a53"   ; orange: warnings, accents
20 -
    :base0A "#e78a53"   ; types
21 -
    :base0B "#fbcb97"   ; strings
22 -
    :base0C "#5f8787"   ; teal
23 -
    :base0D "#888888"   ; functions
24 -
    :base0E "#999999"   ; keywords
25 -
    :base0F "#8a5a5a")  ; deprecated
26 -
  "Darkmatter colors, in base16 slot order.")
10 +
;;; Palette -- edit these and everything below follows
27 11
28 -
(deftheme darkmatter "Darkmatter, based on Black Metal Bathory.")
12 +
(defun darkmatter--blend (a b alpha)
13 +
  "Mix hex colors A and B; ALPHA is the share of B (0..1)."
14 +
  (cl-flet ((rgb (c) (mapcar (lambda (i) (string-to-number (substring c i (+ i 2)) 16))
15 +
                             '(1 3 5))))
16 +
    (apply #'format "#%02x%02x%02x"
17 +
           (cl-mapcar (lambda (x y) (round (+ (* x (- 1 alpha)) (* y alpha))))
18 +
                      (rgb a) (rgb b)))))
29 19
30 -
;; Fringe/line numbers share the main background, like doom-darkmatter
31 -
(setq base16-theme-distinct-fringe-background nil)
20 +
(defvar darkmatter-palette
21 +
  '((base00 . "#121113")   ; background
22 +
    (base01 . "#121212")   ; lighter background
23 +
    (base02 . "#222222")   ; selection
24 +
    (base03 . "#333333")   ; comments
25 +
    (base04 . "#999999")   ; dark foreground, doc strings
26 +
    (base05 . "#c1c1c1")   ; foreground
27 +
    (base06 . "#999999")   ; light foreground
28 +
    (base07 . "#c1c1c1")   ; lightest
29 +
    (base08 . "#5f8787")   ; variables, errors
30 +
    (base09 . "#aaaaaa")   ; constants, numbers
31 +
    (base0A . "#e78a53")   ; types, accent, warnings
32 +
    (base0B . "#fbcb97")   ; strings, added
33 +
    (base0C . "#aaaaaa")   ; builtins, support
34 +
    (base0D . "#888888")   ; functions
35 +
    (base0E . "#999999")   ; keywords
36 +
    (base0F . "#444444")   ; deprecated
37 +
    (red    . "#aa6c6c"))  ; extra: removed lines, ERC errors (not a base16 slot)
38 +
  "Darkmatter colors. Base16 slots plus `red'. Everything else is derived.")
32 39
33 -
(base16-theme-define 'darkmatter darkmatter-theme-colors)
40 +
(deftheme darkmatter "Darkmatter, based on Black Metal Bathory.")
34 41
35 -
;; Where doom-darkmatter differs from stock base16 role assignments
36 -
(custom-theme-set-faces
37 -
 'darkmatter
38 -
 '(cursor                      ((t (:background "#e78a53"))))
39 -
 '(font-lock-variable-name-face ((t (:foreground "#5f8787"))))
40 -
 '(font-lock-builtin-face      ((t (:foreground "#999999"))))
41 -
 '(font-lock-constant-face     ((t (:foreground "#aaaaaa"))))
42 -
 '(font-lock-number-face       ((t (:foreground "#aaaaaa"))))
43 -
 '(font-lock-warning-face      ((t (:foreground "#e78a53"))))
44 -
 '(mode-line                   ((t (:foreground "#c1c1c1" :background "#121113" :overline "#222222" :box nil))))
45 -
 '(mode-line-inactive          ((t (:foreground "#777777" :background "#121113" :overline "#222222" :box nil))))
46 -
 '(mode-line-buffer-id         ((t (:foreground "#c1c1c1" :weight bold))))
47 -
 '(line-number                 ((t (:foreground "#333333" :background "#121113"))))
48 -
 '(line-number-current-line    ((t (:foreground "#e78a53" :background "#121113"))))
49 -
 '(vertical-border             ((t (:foreground "#222222"))))
50 -
 '(erc-prompt-face             ((t (:foreground "#e78a53" :weight bold))))
42 +
(let* ((base00 (alist-get 'base00 darkmatter-palette))
43 +
       (base01 (alist-get 'base01 darkmatter-palette))
44 +
       (base02 (alist-get 'base02 darkmatter-palette))
45 +
       (base03 (alist-get 'base03 darkmatter-palette))
46 +
       (base04 (alist-get 'base04 darkmatter-palette))
47 +
       (base05 (alist-get 'base05 darkmatter-palette))
48 +
       (base06 (alist-get 'base06 darkmatter-palette))
49 +
       (base07 (alist-get 'base07 darkmatter-palette))
50 +
       (base08 (alist-get 'base08 darkmatter-palette))
51 +
       (base09 (alist-get 'base09 darkmatter-palette))
52 +
       (base0A (alist-get 'base0A darkmatter-palette))
53 +
       (base0B (alist-get 'base0B darkmatter-palette))
54 +
       (base0C (alist-get 'base0C darkmatter-palette))
55 +
       (base0D (alist-get 'base0D darkmatter-palette))
56 +
       (base0E (alist-get 'base0E darkmatter-palette))
57 +
       (base0F (alist-get 'base0F darkmatter-palette))
58 +
       (red    (alist-get 'red darkmatter-palette))
59 +
       ;; roles used by the face overrides below
60 +
       (bg      base00)
61 +
       (bg-alt  base01)
62 +
       (sel     base02)
63 +
       (comment base03)
64 +
       (dim     base04)
65 +
       (fg      base05)
66 +
       (fg-hi   base06)
67 +
       (fg-max  base07)
68 +
       (teal    base08)
69 +
       (const   base09)
70 +
       (orange  base0A)
71 +
       (string  base0B)
72 +
       (func    base0D)
73 +
       (kw      base0E)
74 +
       (dep     base0F)
75 +
       ;; derived
76 +
       (base0          (darkmatter--blend bg "#000000" 0.4))
77 +
       (faint          (darkmatter--blend bg-alt kw 0.2))
78 +
       (muted          (darkmatter--blend bg dim 0.45))
79 +
       (bg-tint        (darkmatter--blend bg const 0.15))
80 +
       (added-fg       (darkmatter--blend string "#000000" 0.2))
81 +
       (added-bg       (darkmatter--blend bg string 0.1))
82 +
       (added-bg-hi    (darkmatter--blend bg string 0.2))
83 +
       (removed-bg     (darkmatter--blend sel red 0.1))
84 +
       (removed-bg-hi  (darkmatter--blend sel red 0.2))
85 +
       (changed-bg     (darkmatter--blend bg orange 0.1))
86 +
       (changed-bg-hi  (darkmatter--blend bg orange 0.2))
87 +
       (red-dark       (darkmatter--blend red "#000000" 0.2))
88 +
       (orange-dark    (darkmatter--blend orange "#000000" 0.2)))
51 89
52 -
 ;; Packages base16 has no faces for
53 -
 '(elfeed-search-date-face          ((t (:foreground "#aaaaaa"))))
54 -
 '(elfeed-search-feed-face          ((t (:foreground "#888888"))))
55 -
 '(elfeed-search-tag-face           ((t (:foreground "#555555"))))
56 -
 '(elfeed-search-title-face         ((t (:foreground "#555555"))))
57 -
 '(elfeed-search-unread-title-face  ((t (:foreground "#c1c1c1" :weight bold))))
58 -
 '(elfeed-search-unread-count-face  ((t (:foreground "#e78a53"))))
59 -
 '(elfeed-search-filter-face        ((t (:foreground "#aaaaaa"))))
60 -
 '(elfeed-log-debug-level-face      ((t (:foreground "#555555"))))
61 -
 '(elfeed-log-error-level-face      ((t (:inherit error))))
62 -
 '(elfeed-log-info-level-face       ((t (:inherit success))))
63 -
 '(elfeed-log-warn-level-face       ((t (:inherit warning))))
64 -
 '(which-key-key-face               ((t (:foreground "#e78a53"))))
65 -
 '(which-key-group-description-face ((t (:foreground "#999999"))))
66 -
 '(which-key-command-description-face ((t (:foreground "#c1c1c1")))))
90 +
  ;; Fringe/line numbers share the main background, like doom-darkmatter
91 +
  (setq base16-theme-distinct-fringe-background nil)
67 92
68 -
;; Magit/diff/org/vc faces, flattened from doom-darkmatter
69 -
(custom-theme-set-faces
70 -
 'darkmatter
71 -
 '(diff-hl-change ((t (:foreground "#e78a53" :background "#e78a53"))))
72 -
 '(diff-hl-delete ((t (:foreground "#aa6c6c" :background "#aa6c6c"))))
73 -
 '(diff-hl-insert ((t (:foreground "#fbcb97" :background "#fbcb97"))))
74 -
 '(diff-added ((t (:inherit hl-line :foreground "#fbcb97"))))
75 -
 '(diff-changed ((t (:foreground "#aaaaaa"))))
76 -
 '(diff-context ((t (:foreground "#a9a9a9"))))
77 -
 '(diff-removed ((t (:foreground "#aa6c6c" :background "#222222"))))
78 -
 '(diff-header ((t (:foreground "#aaaaaa"))))
79 -
 '(diff-file-header ((t (:foreground "#888888"))))
80 -
 '(diff-hunk-header ((t (:foreground "#aaaaaa"))))
81 -
 '(diff-indicator-added ((t (:foreground "#fbcb97"))))
82 -
 '(diff-indicator-changed ((t (:foreground "#e78a53"))))
83 -
 '(diff-indicator-removed ((t (:foreground "#aa6c6c"))))
84 -
 '(diff-refine-added ((t (:inherit diff-added :inverse-video t))))
85 -
 '(diff-refine-changed ((t (:inherit diff-changed :inverse-video t))))
86 -
 '(diff-refine-removed ((t (:inherit diff-removed :inverse-video t))))
87 -
 '(ediff-fine-diff-A ((t (:inherit diff-refine-removed))))
88 -
 '(ediff-fine-diff-B ((t (:inherit diff-refine-added))))
89 -
 '(ediff-fine-diff-C ((t (:inherit ediff-fine-diff-A))))
90 -
 '(ediff-current-diff-A ((t (:foreground "#aa6c6c" :background "#3d3030" :extend t))))
91 -
 '(ediff-current-diff-B ((t (:foreground "#fbcb97" :background "#40362d" :extend t))))
92 -
 '(ediff-current-diff-C ((t (:inherit ediff-current-diff-A))))
93 -
 '(ediff-even-diff-A ((t (:inherit hl-line))))
94 -
 '(ediff-even-diff-B ((t (:inherit ediff-even-diff-A))))
95 -
 '(ediff-even-diff-C ((t (:inherit ediff-even-diff-A))))
96 -
 '(ediff-odd-diff-A ((t (:inherit ediff-even-diff-A))))
97 -
 '(ediff-odd-diff-B ((t (:inherit ediff-odd-diff-A))))
98 -
 '(ediff-odd-diff-C ((t (:inherit ediff-odd-diff-A))))
99 -
 '(git-commit-summary ((t (:foreground "#fbcb97"))))
100 -
 '(git-commit-overlong-summary ((t (:inherit error :background "#0b0a0b" :slant italic :weight bold))))
101 -
 '(git-commit-nonempty-second-line ((t (:inherit git-commit-overlong-summary))))
102 -
 '(git-commit-keyword ((t (:foreground "#aaaaaa" :slant italic))))
103 -
 '(git-commit-pseudo-header ((t (:foreground "#777777" :slant italic))))
104 -
 '(git-commit-known-pseudo-header ((t (:foreground "#777777" :weight bold :slant italic))))
105 -
 '(git-commit-comment-branch-local ((t (:foreground "#999999"))))
106 -
 '(git-commit-comment-branch-remote ((t (:foreground "#fbcb97"))))
107 -
 '(git-commit-comment-detached ((t (:foreground "#e78a53"))))
108 -
 '(git-commit-comment-heading ((t (:foreground "#999999"))))
109 -
 '(git-commit-comment-file ((t (:foreground "#aaaaaa"))))
110 -
 '(git-commit-comment-action ((t nil)))
111 -
 '(hl-line ((t (:background "#121113" :extend t))))
112 -
 '(magit-bisect-bad ((t (:foreground "#aa6c6c"))))
113 -
 '(magit-bisect-good ((t (:foreground "#fbcb97"))))
114 -
 '(magit-bisect-skip ((t (:foreground "#e78a53"))))
115 -
 '(magit-blame-hash ((t (:foreground "#aaaaaa"))))
116 -
 '(magit-blame-date ((t (:foreground "#aa6c6c"))))
117 -
 '(magit-blame-heading ((t (:foreground "#e78a53" :background "#222222" :extend t))))
118 -
 '(magit-branch-current ((t (:foreground "#888888"))))
119 -
 '(magit-branch-local ((t (:foreground "#aaaaaa"))))
120 -
 '(magit-branch-remote ((t (:foreground "#fbcb97"))))
121 -
 '(magit-cherry-equivalent ((t (:foreground "#aaaaaa"))))
122 -
 '(magit-cherry-unmatched ((t (:foreground "#aaaaaa"))))
123 -
 '(magit-diff-added ((t (:foreground "#c8a278" :background "#292320" :extend t))))
124 -
 '(magit-diff-added-highlight ((t (:foreground "#fbcb97" :background "#40362d" :weight bold :extend t))))
125 -
 '(magit-diff-base ((t (:foreground "#b86e42" :background "#271d19" :extend t))))
126 -
 '(magit-diff-base-highlight ((t (:foreground "#e78a53" :background "#3c291f" :weight bold :extend t))))
127 -
 '(magit-diff-context ((t (:foreground "#737373" :background "#121113" :extend t))))
128 -
 '(magit-diff-context-highlight ((t (:foreground "#c1c1c1" :background "#121113" :extend t))))
129 -
 '(magit-diff-file-heading ((t (:foreground "#c1c1c1" :weight bold :extend t))))
130 -
 '(magit-diff-file-heading-selection ((t (:foreground "#999999" :background "#666666" :weight bold :extend t))))
131 -
 '(magit-diff-hunk-heading ((t (:foreground "#121113" :background "#3f3e40" :extend t))))
132 -
 '(magit-diff-hunk-heading-highlight ((t (:foreground "#121113" :background "#aaaaaa" :weight bold :extend t))))
133 -
 '(magit-diff-lines-heading ((t (:foreground "#e78a53" :background "#aa6c6c" :extend t :extend t))))
134 -
 '(magit-diff-removed ((t (:foreground "#885656" :background "#2f2929" :extend t))))
135 -
 '(magit-diff-removed-highlight ((t (:foreground "#aa6c6c" :background "#3d3030" :weight bold :extend t))))
136 -
 '(magit-diffstat-added ((t (:foreground "#fbcb97"))))
137 -
 '(magit-diffstat-removed ((t (:foreground "#aa6c6c"))))
138 -
 '(magit-dimmed ((t (:foreground "#999999"))))
139 -
 '(magit-hash ((t (:foreground "#555555"))))
140 -
 '(magit-header-line ((t (:background "#666666" :foreground "#c1c1c1" :weight bold :box (:line-width 3 :color "#666666")))))
141 -
 '(magit-filename ((t (:foreground "#aaaaaa"))))
142 -
 '(magit-log-author ((t (:foreground "#e78a53"))))
143 -
 '(magit-log-date ((t (:foreground "#888888"))))
144 -
 '(magit-log-graph ((t (:foreground "#555555"))))
145 -
 '(magit-process-ng ((t (:inherit error))))
146 -
 '(magit-process-ok ((t (:inherit success))))
147 -
 '(magit-reflog-amend ((t (:foreground "#999999"))))
148 -
 '(magit-reflog-checkout ((t (:foreground "#888888"))))
149 -
 '(magit-reflog-cherry-pick ((t (:foreground "#fbcb97"))))
150 -
 '(magit-reflog-commit ((t (:foreground "#fbcb97"))))
151 -
 '(magit-reflog-merge ((t (:foreground "#fbcb97"))))
152 -
 '(magit-reflog-other ((t (:foreground "#aaaaaa"))))
153 -
 '(magit-reflog-rebase ((t (:foreground "#999999"))))
154 -
 '(magit-reflog-remote ((t (:foreground "#aaaaaa"))))
155 -
 '(magit-reflog-reset ((t (:inherit error))))
156 -
 '(magit-refname ((t (:foreground "#555555"))))
157 -
 '(magit-section-heading ((t (:foreground "#888888" :weight bold :extend t))))
158 -
 '(magit-section-heading-selection ((t (:foreground "#e78a53" :weight bold :extend t))))
159 -
 '(magit-section-highlight ((t (:inherit hl-line))))
160 -
 '(magit-section-secondary-heading ((t (:foreground "#aaaaaa" :weight bold :extend t))))
161 -
 '(magit-sequence-drop ((t (:foreground "#aa6c6c"))))
162 -
 '(magit-sequence-head ((t (:foreground "#888888"))))
163 -
 '(magit-sequence-part ((t (:foreground "#e78a53"))))
164 -
 '(magit-sequence-stop ((t (:foreground "#fbcb97"))))
165 -
 '(magit-signature-bad ((t (:inherit error))))
166 -
 '(magit-signature-error ((t (:inherit error))))
167 -
 '(magit-signature-expired ((t (:foreground "#e78a53"))))
168 -
 '(magit-signature-good ((t (:inherit success))))
169 -
 '(magit-signature-revoked ((t (:foreground "#999999"))))
170 -
 '(magit-signature-untrusted ((t (:foreground "#e78a53"))))
171 -
 '(magit-tag ((t (:foreground "#e78a53"))))
172 -
 '(org-block ((t (:background "#222222" :extend t))))
173 -
 '(org-block-background ((t (:background "#222222" :extend t))))
174 -
 '(org-block-begin-line ((t (:inherit org-block :foreground "#555555"))))
175 -
 '(org-block-end-line ((t (:inherit org-block-begin-line))))
176 -
 '(org-checkbox ((t (:inherit org-todo))))
177 -
 '(org-checkbox-statistics-done ((t (:inherit org-done))))
178 -
 '(org-checkbox-statistics-todo ((t (:inherit org-todo))))
179 -
 '(org-code ((t (:inherit org-block :foreground "#e78a53"))))
180 -
 '(org-date ((t (:foreground "#e78a53"))))
181 -
 '(org-document-info ((t (:foreground "#999999"))))
182 -
 '(org-document-title ((t (:foreground "#999999" :weight bold))))
183 -
 '(org-done ((t (:inherit org-headline-done :strike-through unspecified :weight bold))))
184 -
 '(org-link ((t (:inherit link :foreground "#e78a53"))))
185 -
 '(org-meta-line ((t (:foreground "#777777"))))
186 -
 '(org-table ((t (:foreground "#aaaaaa"))))
187 -
 '(org-tag ((t (:foreground "#777777" :weight normal))))
188 -
 '(org-todo ((t (:foreground "#fbcb97" :bold inherit))))
189 -
 '(org-verbatim ((t (:foreground "#fbcb97"))))
190 -
 '(outline-1 ((t (:foreground "#888888" :weight bold :extend t))))
191 -
 '(outline-2 ((t (:foreground "#999999" :weight bold :extend t))))
192 -
 '(outline-3 ((t (:foreground "#aaaaaa" :weight bold :extend t))))
193 -
 '(outline-4 ((t (:foreground "#a5a5a5" :weight bold :extend t))))
194 -
 '(outline-5 ((t (:foreground "#b2b2b2" :weight bold :extend t))))
195 -
 '(outline-6 ((t (:foreground "#c3c3c3" :weight bold :extend t))))
196 -
 '(outline-7 ((t (:foreground "#cccccc" :weight bold :extend t))))
197 -
 '(outline-8 ((t (:foreground "#e7e7e7" :weight bold :extend t))))
198 -
 '(smerge-lower ((t (:background "#40362d"))))
199 -
 '(smerge-upper ((t (:background "#3d3030"))))
200 -
 '(smerge-base ((t (:background "#29282a"))))
201 -
 '(smerge-markers ((t (:background "#555555" :foreground "#121113" :distant-foreground "#c1c1c1" :weight bold))))
202 -
 '(smerge-refined-added ((t (:inherit diff-added :inverse-video t))))
203 -
 '(smerge-refined-removed ((t (:inherit diff-removed :inverse-video t))))
204 -
 '(smerge-mine ((t (:background "#3d3030"))))
205 -
 '(smerge-other ((t (:background "#40362d")))))
93 +
  (base16-theme-define
94 +
   'darkmatter
95 +
   (list :base00 base00 :base01 base01 :base02 base02 :base03 base03
96 +
         :base04 base04 :base05 base05 :base06 base06 :base07 base07
97 +
         :base08 base08 :base09 base09 :base0A base0A :base0B base0B
98 +
         :base0C base0C :base0D base0D :base0E base0E :base0F base0F))
99 +
100 +
  ;; Where doom-darkmatter differs from stock base16 role assignments,
101 +
  ;; plus packages base16 has no faces for
102 +
  (custom-theme-set-faces
103 +
   'darkmatter
104 +
   `(cursor                      ((t (:background ,orange))))
105 +
   `(font-lock-variable-name-face ((t (:foreground ,teal))))
106 +
   `(font-lock-builtin-face      ((t (:foreground ,kw))))
107 +
   `(font-lock-constant-face     ((t (:foreground ,const))))
108 +
   `(font-lock-number-face       ((t (:foreground ,const))))
109 +
   `(font-lock-warning-face      ((t (:foreground ,orange))))
110 +
   `(mode-line                   ((t (:foreground ,fg :background ,bg :overline ,sel :box nil))))
111 +
   `(mode-line-inactive          ((t (:foreground ,dim :background ,bg :overline ,sel :box nil))))
112 +
   `(mode-line-buffer-id         ((t (:foreground ,fg :weight bold))))
113 +
   `(line-number                 ((t (:foreground ,faint :background ,bg))))
114 +
   `(line-number-current-line    ((t (:foreground ,orange :background ,bg))))
115 +
   `(vertical-border             ((t (:foreground ,sel))))
116 +
   `(erc-prompt-face             ((t (:foreground ,orange :weight bold))))
117 +
  
118 +
   ;; Packages base16 has no faces for
119 +
   `(elfeed-search-date-face          ((t (:foreground ,const))))
120 +
   `(elfeed-search-feed-face          ((t (:foreground ,func))))
121 +
   `(elfeed-search-tag-face           ((t (:foreground ,comment))))
122 +
   `(elfeed-search-title-face         ((t (:foreground ,comment))))
123 +
   `(elfeed-search-unread-title-face  ((t (:foreground ,fg :weight bold))))
124 +
   `(elfeed-search-unread-count-face  ((t (:foreground ,orange))))
125 +
   `(elfeed-search-filter-face        ((t (:foreground ,const))))
126 +
   `(elfeed-log-debug-level-face      ((t (:foreground ,comment))))
127 +
   `(elfeed-log-error-level-face      ((t (:inherit error))))
128 +
   `(elfeed-log-info-level-face       ((t (:inherit success))))
129 +
   `(elfeed-log-warn-level-face       ((t (:inherit warning))))
130 +
   `(which-key-key-face               ((t (:foreground ,orange))))
131 +
   `(which-key-group-description-face ((t (:foreground ,kw))))
132 +
   `(which-key-command-description-face ((t (:foreground ,fg)))))
133 +
  
134 +
  ;; Magit/diff/org/vc faces, flattened from doom-darkmatter
135 +
  (custom-theme-set-faces
136 +
   'darkmatter
137 +
   `(diff-hl-change ((t (:foreground ,orange :background ,orange))))
138 +
   `(diff-hl-delete ((t (:foreground ,red :background ,red))))
139 +
   `(diff-hl-insert ((t (:foreground ,string :background ,string))))
140 +
   `(diff-added ((t (:inherit hl-line :foreground ,string))))
141 +
   `(diff-changed ((t (:foreground ,const))))
142 +
   `(diff-context ((t (:foreground ,const))))
143 +
   `(diff-removed ((t (:foreground ,red :background ,sel))))
144 +
   `(diff-header ((t (:foreground ,const))))
145 +
   `(diff-file-header ((t (:foreground ,func))))
146 +
   `(diff-hunk-header ((t (:foreground ,const))))
147 +
   `(diff-indicator-added ((t (:foreground ,string))))
148 +
   `(diff-indicator-changed ((t (:foreground ,orange))))
149 +
   `(diff-indicator-removed ((t (:foreground ,red))))
150 +
   `(diff-refine-added ((t (:inherit diff-added :inverse-video t))))
151 +
   `(diff-refine-changed ((t (:inherit diff-changed :inverse-video t))))
152 +
   `(diff-refine-removed ((t (:inherit diff-removed :inverse-video t))))
153 +
   `(ediff-fine-diff-A ((t (:inherit diff-refine-removed))))
154 +
   `(ediff-fine-diff-B ((t (:inherit diff-refine-added))))
155 +
   `(ediff-fine-diff-C ((t (:inherit ediff-fine-diff-A))))
156 +
   `(ediff-current-diff-A ((t (:foreground ,red :background ,removed-bg-hi :extend t))))
157 +
   `(ediff-current-diff-B ((t (:foreground ,string :background ,added-bg-hi :extend t))))
158 +
   `(ediff-current-diff-C ((t (:inherit ediff-current-diff-A))))
159 +
   `(ediff-even-diff-A ((t (:inherit hl-line))))
160 +
   `(ediff-even-diff-B ((t (:inherit ediff-even-diff-A))))
161 +
   `(ediff-even-diff-C ((t (:inherit ediff-even-diff-A))))
162 +
   `(ediff-odd-diff-A ((t (:inherit ediff-even-diff-A))))
163 +
   `(ediff-odd-diff-B ((t (:inherit ediff-odd-diff-A))))
164 +
   `(ediff-odd-diff-C ((t (:inherit ediff-odd-diff-A))))
165 +
   `(git-commit-summary ((t (:foreground ,string))))
166 +
   `(git-commit-overlong-summary ((t (:inherit error :background ,base0 :slant italic :weight bold))))
167 +
   `(git-commit-nonempty-second-line ((t (:inherit git-commit-overlong-summary))))
168 +
   `(git-commit-keyword ((t (:foreground ,const :slant italic))))
169 +
   `(git-commit-pseudo-header ((t (:foreground ,dim :slant italic))))
170 +
   `(git-commit-known-pseudo-header ((t (:foreground ,dim :weight bold :slant italic))))
171 +
   `(git-commit-comment-branch-local ((t (:foreground ,kw))))
172 +
   `(git-commit-comment-branch-remote ((t (:foreground ,string))))
173 +
   `(git-commit-comment-detached ((t (:foreground ,orange))))
174 +
   `(git-commit-comment-heading ((t (:foreground ,kw))))
175 +
   `(git-commit-comment-file ((t (:foreground ,const))))
176 +
   `(git-commit-comment-action ((t nil)))
177 +
   `(hl-line ((t (:background ,bg :extend t))))
178 +
   `(magit-bisect-bad ((t (:foreground ,red))))
179 +
   `(magit-bisect-good ((t (:foreground ,string))))
180 +
   `(magit-bisect-skip ((t (:foreground ,orange))))
181 +
   `(magit-blame-hash ((t (:foreground ,const))))
182 +
   `(magit-blame-date ((t (:foreground ,red))))
183 +
   `(magit-blame-heading ((t (:foreground ,orange :background ,sel :extend t))))
184 +
   `(magit-branch-current ((t (:foreground ,func))))
185 +
   `(magit-branch-local ((t (:foreground ,const))))
186 +
   `(magit-branch-remote ((t (:foreground ,string))))
187 +
   `(magit-cherry-equivalent ((t (:foreground ,const))))
188 +
   `(magit-cherry-unmatched ((t (:foreground ,const))))
189 +
   `(magit-diff-added ((t (:foreground ,added-fg :background ,added-bg :extend t))))
190 +
   `(magit-diff-added-highlight ((t (:foreground ,string :background ,added-bg-hi :weight bold :extend t))))
191 +
   `(magit-diff-base ((t (:foreground ,orange-dark :background ,changed-bg :extend t))))
192 +
   `(magit-diff-base-highlight ((t (:foreground ,orange :background ,changed-bg-hi :weight bold :extend t))))
193 +
   `(magit-diff-context ((t (:foreground ,dim :background ,bg :extend t))))
194 +
   `(magit-diff-context-highlight ((t (:foreground ,fg :background ,bg :extend t))))
195 +
   `(magit-diff-file-heading ((t (:foreground ,fg :weight bold :extend t))))
196 +
   `(magit-diff-file-heading-selection ((t (:foreground ,kw :background ,dim :weight bold :extend t))))
197 +
   `(magit-diff-hunk-heading ((t (:foreground ,bg :background ,muted :extend t))))
198 +
   `(magit-diff-hunk-heading-highlight ((t (:foreground ,bg :background ,const :weight bold :extend t))))
199 +
   `(magit-diff-lines-heading ((t (:foreground ,orange :background ,red :extend t :extend t))))
200 +
   `(magit-diff-removed ((t (:foreground ,red-dark :background ,removed-bg :extend t))))
201 +
   `(magit-diff-removed-highlight ((t (:foreground ,red :background ,removed-bg-hi :weight bold :extend t))))
202 +
   `(magit-diffstat-added ((t (:foreground ,string))))
203 +
   `(magit-diffstat-removed ((t (:foreground ,red))))
204 +
   `(magit-dimmed ((t (:foreground ,kw))))
205 +
   `(magit-hash ((t (:foreground ,comment))))
206 +
   `(magit-header-line ((t (:background ,dim :foreground ,fg :weight bold :box (:line-width 3 :color ,dim)))))
207 +
   `(magit-filename ((t (:foreground ,const))))
208 +
   `(magit-log-author ((t (:foreground ,orange))))
209 +
   `(magit-log-date ((t (:foreground ,func))))
210 +
   `(magit-log-graph ((t (:foreground ,comment))))
211 +
   `(magit-process-ng ((t (:inherit error))))
212 +
   `(magit-process-ok ((t (:inherit success))))
213 +
   `(magit-reflog-amend ((t (:foreground ,kw))))
214 +
   `(magit-reflog-checkout ((t (:foreground ,func))))
215 +
   `(magit-reflog-cherry-pick ((t (:foreground ,string))))
216 +
   `(magit-reflog-commit ((t (:foreground ,string))))
217 +
   `(magit-reflog-merge ((t (:foreground ,string))))
218 +
   `(magit-reflog-other ((t (:foreground ,const))))
219 +
   `(magit-reflog-rebase ((t (:foreground ,kw))))
220 +
   `(magit-reflog-remote ((t (:foreground ,const))))
221 +
   `(magit-reflog-reset ((t (:inherit error))))
222 +
   `(magit-refname ((t (:foreground ,comment))))
223 +
   `(magit-section-heading ((t (:foreground ,func :weight bold :extend t))))
224 +
   `(magit-section-heading-selection ((t (:foreground ,orange :weight bold :extend t))))
225 +
   `(magit-section-highlight ((t (:inherit hl-line))))
226 +
   `(magit-section-secondary-heading ((t (:foreground ,const :weight bold :extend t))))
227 +
   `(magit-sequence-drop ((t (:foreground ,red))))
228 +
   `(magit-sequence-head ((t (:foreground ,func))))
229 +
   `(magit-sequence-part ((t (:foreground ,orange))))
230 +
   `(magit-sequence-stop ((t (:foreground ,string))))
231 +
   `(magit-signature-bad ((t (:inherit error))))
232 +
   `(magit-signature-error ((t (:inherit error))))
233 +
   `(magit-signature-expired ((t (:foreground ,orange))))
234 +
   `(magit-signature-good ((t (:inherit success))))
235 +
   `(magit-signature-revoked ((t (:foreground ,kw))))
236 +
   `(magit-signature-untrusted ((t (:foreground ,orange))))
237 +
   `(magit-tag ((t (:foreground ,orange))))
238 +
   `(org-block ((t (:background ,sel :extend t))))
239 +
   `(org-block-background ((t (:background ,sel :extend t))))
240 +
   `(org-block-begin-line ((t (:inherit org-block :foreground ,comment))))
241 +
   `(org-block-end-line ((t (:inherit org-block-begin-line))))
242 +
   `(org-checkbox ((t (:inherit org-todo))))
243 +
   `(org-checkbox-statistics-done ((t (:inherit org-done))))
244 +
   `(org-checkbox-statistics-todo ((t (:inherit org-todo))))
245 +
   `(org-code ((t (:inherit org-block :foreground ,orange))))
246 +
   `(org-date ((t (:foreground ,orange))))
247 +
   `(org-document-info ((t (:foreground ,kw))))
248 +
   `(org-document-title ((t (:foreground ,kw :weight bold))))
249 +
   `(org-done ((t (:inherit org-headline-done :strike-through unspecified :weight bold))))
250 +
   `(org-link ((t (:inherit link :foreground ,orange))))
251 +
   `(org-meta-line ((t (:foreground ,dim))))
252 +
   `(org-table ((t (:foreground ,const))))
253 +
   `(org-tag ((t (:foreground ,dim :weight normal))))
254 +
   `(org-todo ((t (:foreground ,string :bold inherit))))
255 +
   `(org-verbatim ((t (:foreground ,string))))
256 +
   `(outline-1 ((t (:foreground ,func :weight bold :extend t))))
257 +
   `(outline-2 ((t (:foreground ,kw :weight bold :extend t))))
258 +
   `(outline-3 ((t (:foreground ,const :weight bold :extend t))))
259 +
   `(outline-4 ((t (:foreground ,const :weight bold :extend t))))
260 +
   `(outline-5 ((t (:foreground ,const :weight bold :extend t))))
261 +
   `(outline-6 ((t (:foreground ,fg :weight bold :extend t))))
262 +
   `(outline-7 ((t (:foreground ,fg-hi :weight bold :extend t))))
263 +
   `(outline-8 ((t (:foreground ,fg-max :weight bold :extend t))))
264 +
   `(smerge-lower ((t (:background ,added-bg-hi))))
265 +
   `(smerge-upper ((t (:background ,removed-bg-hi))))
266 +
   `(smerge-base ((t (:background ,bg-tint))))
267 +
   `(smerge-markers ((t (:background ,comment :foreground ,bg :distant-foreground ,fg :weight bold))))
268 +
   `(smerge-refined-added ((t (:inherit diff-added :inverse-video t))))
269 +
   `(smerge-refined-removed ((t (:inherit diff-removed :inverse-video t))))
270 +
   `(smerge-mine ((t (:background ,removed-bg-hi))))
271 +
   `(smerge-other ((t (:background ,added-bg-hi))))))
206 272
207 273
(provide-theme 'darkmatter)
208 274