-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvibrant-ink-theme.el
218 lines (210 loc) · 11.3 KB
/
vibrant-ink-theme.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
;;; vibrant-ink-theme.el --- VibranInk theme for GNU Emacs 24 (deftheme)
;;; Commentary:
;; This theme is based on https://github.com/marktran/color-theme-ujelly
;; Author: arkhan
;; URL: https://github.com/arkhan/emacs-vibrant-theme
;; Version: 0.0.3
;;; Code:
(deftheme vibrant-ink "Vibrant Ink color theme")
(let ((class '((class color) (min-colors 89)))
(fg "#ffffff")
(bg "#000000")
(black-0 "#111111")
(gray-0 "#444444")
(gray-1 "#191919")
(gray-2 "#555555")
(gray-3 "#333333")
(gray-4 "#15181C")
(orange-0 "#ff6600")
(orange-1 "#ff8c00")
(blue-0 "#aaccff")
(blue-1 "#5f9ea0")
(blue-2 "#339999")
(blue-3 "#3c758d")
(teal-0 "#4db5bd")
(magenta-0 "#C57BDB")
(purple-0 "#9933cc")
(purple-1 "#a991f1")
(purple-2 "#a9a1e1")
(green-0 "#66ff00")
(green-1 "#7bc275")
(yellow-0 "#ffcc00")
(yellow-1 "#ccff33")
(red-0 "#b22222"))
(custom-theme-set-faces
`vibrant-ink
`(default ((,class (:foreground ,fg :background ,bg))))
`(cursor ((,class ((:background ,fg)))))
`(region ((,class (:background ,gray-1))))
`(fringe ((,class (:inherit nil :background ,bg))))
`(alert-saved-fringe-face ((,class (:inherit nil :background ,black-0))))
`(minibuffer-prompt ((,class (:foreground ,orange-0))))
`(font-lock-builtin-face ((,class (:foreground ,blue-0 :bold t))))
`(font-lock-comment-face ((,class (:slant italic :foreground ,purple-0))))
`(font-lock-comment-delimiter-face ((,class (:slant italic, :foreground ,purple-0))))
`(font-lock-constant-face ((,class (:foreground ,blue-2))))
`(font-lock-doc-face ((,class (:foreground ,green-0))))
`(font-lock-function-name-face ((,class (:foreground ,yellow-0))))
`(font-lock-keyword-face ((,class (:foreground ,orange-0))))
`(font-lock-preprocessor-face ((,class (:foreground ,fg :bold t))))
`(font-lock-preprocessor-char-face ((,class (:foreground ,fg :bold t))))
`(font-lock-string-face ((,class (:foreground ,green-0))))
`(font-lock-type-face ((,class (:foreground ,yellow-0))))
`(font-lock-variable-name-face ((,class (:foreground ,blue-3))))
`(font-lock-warning-face ((,class (:foreground ,red-0))))
`(font-lock-regexp-grouping-construct ((t (:foreground ,yellow-0 :bold t))))
`(font-lock-regexp-grouping-backslash ((t (:foreground ,red-0 :bold t))))
`(header-line ((,class (:inherit nil :bold t :background ,gray-4 :distant-foreground ,bg))))
`(isearch ((,class (:background ,gray-2))))
`(lazy-highlight ((,class (:background ,gray-0))))
`(link ((,class (:foreground ,blue-0 :underline t :bold t))))
`(link-visited ((,class (:foreground ,blue-1 :underline t :bold t))))
;; rainbow-delimiters
`(rainbow-delimiters-depth-1-face ((,class :foreground ,gray-2 :bold t)))
`(rainbow-delimiters-depth-2-face ((,class :foreground ,gray-3 :bold t)))
`(rainbow-delimiters-depth-3-face ((,class :foreground ,purple-0 :bold t)))
`(rainbow-delimiters-depth-4-face ((,class :foreground ,blue-0 :bold t)))
`(rainbow-delimiters-depth-5-face ((,class :foreground ,yellow-0 :bold t)))
`(rainbow-delimiters-depth-6-face ((,class :foreground ,magenta-0 :bold t)))
`(rainbow-delimiters-depth-7-face ((,class :foreground ,gray-4 :bold t)))
`(rainbow-delimiters-depth-8-face ((,class :foreground ,purple-1 :bold t)))
`(rainbow-delimiters-depth-9-face ((,class :foreground ,blue-1 :bold t)))
`(rainbow-delimiters-base-error-face ((,class :inherit 'rainbow-delimiters-base-face :foreground ,red-0 :bold t)))
`(rainbow-delimiters-base-face ((,class :inherit 'default :bold t)))
`(rainbow-delimiters-unmatched-face ((,class :foreground ,red-0 :bold t :inverse-video t)))
`(rainbow-delimiters-mismatched-face ((,class :inherit 'rainbow-delimiters-unmatched-face :bold t)))
;; Childframe
`(child-frame-border ((,class :background ,gray-1)))
`(internal-border ((,class :background ,gray-1)))
;; calendar
`(cfw:face-title ((,class :foreground ,orange-0 :bold t :height 2.0 :inherit 'variable-pitch)))
`(cfw:face-header ((,class :foreground ,yellow-0 :bold t)))
`(cfw:face-sunday ((,class :foreground ,red-0 :bold t)))
`(cfw:face-saturday ((,class :foreground ,red-0 :bold t)))
`(cfw:face-holiday ((,class :foreground nil :background ,blue-2 :bold t)))
`(cfw:face-grid ((,class :foreground ,gray-2)))
`(cfw:face-periods ((,class :foreground ,green-0)))
`(cfw:face-toolbar ((,class :foreground ,purple-0 :background nil :bold t)))
`(cfw:face-toolbar-button-off ((,class :foreground ,gray-3 :bold t :inherit 'variable-pitch)))
`(cfw:face-toolbar-button-on ((,class :foreground ,purple-0 :bold t :inherit 'variable-pitch)))
`(cfw:face-default-content ((,class :foreground ,fg)))
`(cfw:face-day-title ((,class :foreground ,fg :bold t)))
`(cfw:face-today-title ((,class :foreground ,black-0 :background ,yellow-1 :bold t)))
`(cfw:face-default-day ((,class :bold t)))
`(cfw:face-today ((,class :foreground nil :background nil :bold t)))
`(cfw:face-annotation ((,class :foreground ,orange-1)))
`(cfw:face-disable ((,class :foreground ,gray-1)))
`(cfw:face-select ((,class :background ,gray-3)))
;; corfu
`(corfu-bar ((,class :background ,fg)))
`(corfu-border ((,class :background ,gray-0)))
`(corfu-current ((,class :inherit 'region)))
`(corfu-default ((,class :background ,bg :foreground ,fg)))
`(corfu-popupinfo ((,class :inherit corfu-default)))
;; frog Menu
`(frog-menu-posframe-background-face ((,class :foreground ,fg :background ,black-0)))
;; highlight
`(highlight ((,class :background ,gray-1)))
`(highlight-indentation-face ((,class :background ,gray-1)))
`(highlight-indentation-current-column-face ((,class :background ,gray-1)))
`(hl-line ((,class :background ,gray-1)))
;; imenu list
`(imenu-list-entry-face-0 ((,class (:foreground ,orange-0))))
`(imenu-list-entry-face-1 ((,class (:foreground ,yellow-0))))
`(imenu-list-entry-face-2 ((,class (:foreground ,green-0))))
`(imenu-list-entry-face-3 ((,class (:foreground ,blue-3))))
;; mini-modelinec
`(mini-modeline-mode-line ((,class :background ,gray-4 :box nil :height 0.1)))
;; mode line
`(mode-line ((,class (:foreground ,fg :background ,bg :box (:color ,black-0)))))
`(mode-line-inactive ((,class (:foreground ,gray-3 :background ,bg :box (:color ,black-0)))))
;; neotree
`(neo-root-dir-face ((,class (:foreground ,orange-0))))
`(neo-expand-btn-face ((,class (:foreground ,blue-3))))
;; notmuch
`(notmuch-message-summany-face ((,class (:foreground ,gray-1 :background nil))))
`(notmuch-search-count ((,class (:foreground ,purple-0))))
`(notmuch-search-date ((,class (:foreground ,gray-0))))
`(notmuch-search-flagged-face ((,class (:foreground ,red-0))))
`(notmuch-search-matching-authors ((,class (:foreground ,orange-0))))
`(notmuch-search-non-matching-authors ((,class (:foreground ,fg))))
`(notmuch-search-subject ((,class (:foreground ,yellow-0))))
`(notmuch-search-unread-face ((,class (:bold t))))
`(notmuch-tree-match-author-face ((, class (:foreground ,orange-0))))
`(notmuch-tree-match-date-face ((, class (:foreground ,gray-0))))
`(notmuch-tree-match-face ((, class (:foreground ,fg))))
`(notmuch-tree-match-subject-face ((, class (:foreground ,yellow-0))))
;; nxml
`(nxml-element-local-name ((,class (:foreground ,orange-0))))
`(nxml-delimiter ((,class (:foreground ,orange-0))))
`(nxml-attribute-value ((,class (:foreground, green-0))))
`(nxml-attribute-local-name ((,class (:foreground ,blue-1))))
;; Org-mode
`(org-checkbox ((,class (:foreground ,green-0))))
`(org-code ((,class (:weight bold :foreground ,gray-2))))
`(org-date ((,class (:foreground ,gray-0))))
`(org-document-info-keyword ((,class (:foreground ,purple-0))))
`(org-document-title ((,class (:foreground ,yellow-0))))
`(org-done ((,class (:foreground ,green-0))))
`(org-level-1 ((,class (:foreground ,orange-0))))
`(org-level-2 ((,class (:foreground ,yellow-0))))
`(org-level-3 ((,class (:foreground ,green-1))))
`(org-level-4 ((,class (:foreground ,purple-0))))
`(org-level-5 ((,class (:foreground ,purple-0))))
`(org-level-6 ((,class (:foreground ,gray-1))))
`(org-level-7 ((,class (:foreground ,gray-2))))
`(org-level-8 ((,class (:foreground ,gray-3))))
`(org-link ((,class (:foreground ,blue-1))))
`(org-meta-line ((,class (:foreground ,purple-0))))
`(org-special-keyword ((,class (:foreground ,purple-0))))
`(org-todo ((,class (:foreground ,red-0))))
`(org-headline-done ((,class (:strike-through t :foreground ,gray-2))))
`(org-block ((,class (:background ,bg))))
`(org-block-background ((,class (:background ,bg))))
`(org-block-begin-line ((t (:inherit org-block :foreground ,purple-0))))
`(org-block-end-line ((t (:inherit org-block-begin-line))))
;; org-modern
`(org-modern-block-name ((,class (:weight bold :height 1.0))))
`(org-modern-label ((t (:inherit org-modern-label :height 1.0))))
;; perspective
`(persp-selected-face ((,class (:weight bold :foreground ,purple-0))))
;; persp-mode
`(persp-face-lighter-default ((,class (:weight bold :foreground ,purple-0))))
`(persp-face-lighter-nil-persp ((,class (:foreground ,gray-0))))
`(persp-face-lighter-buffer-not-in-persp ((,class (:foreground ,red-0))))
;; popup
`(popup-face ((,class (:foreground ,fg :background ,black-0))))
`(popup-tip-face ((,class (:foreground ,fg :background ,black-0))))
`(popup-menu-selection-face ((,class (:foreground ,yellow-0 :background ,gray-0))))
;; selectrum
`(selectrum-current-candidate ((,class (:background ,gray-3))))
`(selectrum-primary-highlight ((,class (:underline t :foreground ,yellow-0))))
`(selectrum-secondary-highlight ((,class (:underline t :foreground ,yellow-0))))
;; term
`(term-color-black ((,class (:foreground "#202020" :background "#31363b"))))
`(term-color-red ((,class (:foreground "#c0392b" :background "#f44f4f"))))
`(term-color-green ((,class (:foreground "#218058" :background "#27ae60"))))
`(term-color-yellow ((,class (:foreground "#fdbc4b" :background "#fdbc4b"))))
`(term-color-blue ((,class (:foreground "#2980b9" :background "#0099ff"))))
`(term-color-magenta ((,class (:foreground "#8e44ad" :background "#af81ff"))))
`(term-color-cyan ((,class (:foreground "#27aeae" :background "#31dddd"))))
`(term-color-white ((,class (:foreground "#acada1" :background "#cfd0c2"))))
;; Which function
`(which-func ((,class (:foreground ,blue-3))))
;; ztree
`(ztreep-header-face ((,class (:foreground ,orange-0))))
`(ztreep-node-face ((,class (:foreground ,green-0))))
`(ztreep-arrow-face ((,class (:foreground ,blue-0))))
`(ztreep-expand-sign-face ((,class (:foreground ,blue-0))))
`(ztreep-diff-header-face ((,class (:foreground ,orange-0))))
`(ztreep-diff-header-small-face ((,class (:foreground ,yellow-0))))
`(ztreep-diff-model-normal-face ((,class (:foreground ,gray-0))))
`(ztreep-diff-model-add-face ((,class (:foreground ,blue-0))))
`(ztreep-diff-model-diff-face ((,class (:foreground ,blue-3))))
`(ztreep-diff-model-ignored-face ((,class (:strike-through t :foreground ,red-0))))))
;;;###autoload
(when load-file-name
(add-to-list 'custom-theme-load-path
(file-name-as-directory (file-name-directory load-file-name))))
(provide-theme 'vibrant-ink)
;;; vibrant-ink-theme.el ends here