-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathstarlit-theme.el
444 lines (408 loc) · 26.9 KB
/
starlit-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
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
;;; starlit-theme.el --- Deep blue dark theme with bright colors from the starlit sky -*- lexical-binding: t -*-
;; Copyright (C) 2022-2024
;; Author: Jonas Jelten <[email protected]>
;; Keywords: faces
;; URL: https://github.com/SFTtech/starlit-emacs
;; Version: 0.1
;; Package-Requires: ((emacs "25.1"))
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; Starlit is a deep blue dark theme with brighter foreground colors like
;; a starlit sky.
;;; Code:
(when (version< emacs-version "25.1")
(error "Starlit theme requires Emacs 25 or later!"))
(deftheme starlit
"Starlit color theme - dark and colorful like beautiful stars of our universe.
Starlit is a dark theme with a dark blue background,
and foreground colors optimized for happy programming.")
(defgroup starlit-theme nil
"Starlit theme."
:group 'faces
:prefix "starlit-"
:link '(url-link :tag "GitHub" "http://github.com/SFTtech/starlit-emacs")
:tag "Starlit theme")
;;; Color definitions
(defvar starlit-default-colors nil
"Alist of default Starlit colors.
Each element has the form (NAME . HEX).")
(setq starlit-default-colors
'(("current-line" . "#0a020a")
("block" . "#11151e")
("background" . "#131729")
("backgroundlight" . "#161930")
("graydark" . "#222222")
("graylight" . "#303032")
("bluepopup" . "#102040")
("selection" . "#103050")
("bluedark" . "#0e527d")
("grayhighlight" . "#424147")
("backgroundgreen" . "#193a26")
("backgroundred" . "#522621")
("backgroundgreenhighlight" . "#136102")
("gray" . "#969896")
("aqua" . "#70c0b1")
("greenlight" . "#4df094")
("green" . "#a2cd5a")
("backgroundredhighlight" . "#7c1224")
("bluehighlight" . "#1e90ff")
("blue" . "#00bfff")
("backgroundhighlight" . "#56829b")
("bluelight" . "#87ceff")
("type" . "#98f5ff")
("cyan" . "#30f2f1")
("purple" . "#b387d8")
("redhighlight" . "#ee0212")
("red" . "#de4e53")
("softred" . "#f08080")
("orange" . "#da9520")
("gold" . "#ffd700")
("yellow" . "#e7c547")
("string" . "#e5b489")
("docstring" . "#ffe4b5")
("shadow" . "#cdc9c9")
("foreground" . "#efedef")
("white" . "#ffffff")))
;;;###autoload
(defcustom starlit-custom-colors '()
"Alist to override the theme's default colors.
Definitions in the alist will override a subset of the default colors
in the theme."
:group 'starlit-theme
:type '(alist
:key-type (string :tag "Name")
:value-type (string :tag "Hex")))
(defcustom starlit-scale-outline-headlines t
"Increase the font size of `outline-mode' headlines."
:type 'boolean
:group 'starlit-theme)
(defcustom starlit-scale-org-headlines nil
"Increase the font size of `org-mode' headlines."
:type 'boolean
:group 'starlit-theme)
;;; Mapping colors to Faces
;; https://www.gnu.org/software/emacs/manual/html_node/elisp/Defining-Faces.html
;; https://www.gnu.org/software/emacs/manual/html_node/elisp/Face-Attributes.html
(defun starlit-theme-setup ()
"Set up faces with colors from the starlit base and custom palette."
;; create local variable mappings
(let ((colorful t)
;; convert the keys to internal variables
;; and override the color customizations.
(color-alist (mapcar (lambda (cons) `(,(intern (car cons)) . ,(cdr cons)))
(append starlit-custom-colors
starlit-default-colors))))
;; the .key things in the body create compiletime lookups in `color-alist'.
(let-alist color-alist
(custom-theme-set-faces
'starlit
;;; basic faces
`(bold ((,colorful (:weight bold))))
`(bold-italic ((,colorful (:slant italic :weight bold))))
`(border ((,colorful (:background ,.current-line))))
`(border-glyph ((,colorful (nil))))
`(cursor ((,colorful (:background ,.gold))))
`(default ((,colorful (:foreground ,.foreground :background ,.background))))
`(error ((,colorful (:foreground ,.red))))
`(fringe ((,colorful (:background ,.current-line))))
`(gui-element ((,colorful (:background ,.current-line :foreground ,.foreground))))
`(italic ((,colorful (:slant italic))))
`(header-line ((,colorful (:inherit mode-line :foreground ,.purple :background unspecified))))
`(highlight ((,colorful (:inverse-video nil :background ,.backgroundhighlight))))
`(lazy-highlight ((,colorful (:distant-foreground ,.white :background ,.backgroundhighlight))))
`(line-number ((,colorful (:inherit default :foreground ,.shadow))))
`(line-number-current-line ((,colorful (:inherit line-number :background ,.current-line))))
`(link ((,colorful (:foreground unspecified :underline t))))
`(match ((,colorful (:foreground ,.blue :background ,.background :inverse-video t))))
`(minibuffer-prompt ((,colorful (:foreground ,.blue))))
`(mode-line ((,colorful (:foreground unspecified :background ,.current-line :box (:line-width -1 :color ,.bluehighlight :style released-button))) (t :inverse-video t)))
`(mode-line-buffer-id ((,colorful (:foreground ,.purple :background unspecified))))
`(mode-line-emphasis ((,colorful (:foreground ,.foreground :slant italic))))
`(mode-line-highlight ((,colorful (:foreground ,.purple :box nil))))
`(mode-line-inactive ((,colorful (:inherit mode-line :foreground ,.gray :background ,.current-line :weight normal :box (:line-width -1 :color ,.bluedark)))))
`(region ((,colorful (:background ,.selection :extend t)) (t :inverse-video t)))
`(secondary-selection ((,colorful (:background ,.current-line))))
`(shadow ((,colorful (:foreground ,.gray))))
`(success ((,colorful (:foreground ,.greenlight))))
`(tab-bar ((,colorful (:inherit variable-pitch :foreground ,.foreground :background ,.graydark))))
`(tab-line ((,colorful (:inherit variable-pitch :height 0.9 :foreground ,.foreground :background ,.graydark))))
`(tooltip ((,colorful (:foreground ,.foreground :background ,.backgroundgreen))))
`(underline ((,colorful (:underline t))))
`(warning ((,colorful (:foreground ,.orange))))
;;; mode specifics
`(anzu-mode-line ((,colorful (:foreground ,.orange))))
`(anzu-replace-highlight ((,colorful (:inherit isearch-lazy-highlight-face))))
`(anzu-replace-to ((,colorful (:inherit isearch))))
`(centaur-tabs-active-bar-face ((,colorful (:background ,.blue))))
`(centaur-tabs-background-color ((,colorful (:background ,.graydark))))
`(centaur-tabs-dim-buffer-face ((,colorful (:background ,.graylight))))
`(centaur-tabs-selected ((,colorful (:foreground ,.white :background ,.grayhighlight))))
`(centaur-tabs-selected-modified ((,colorful (:foreground ,.white :background ,.grayhighlight))))
`(centaur-tabs-unselected ((,colorful (:foreground ,.gray :background ,.graylight))))
`(centaur-tabs-unselected-modified ((,colorful (:foreground ,.gray :background ,.graylight))))
`(company-tooltip-selection ((,colorful (:background ,.selection))))
`(company-tooltip ((,colorful (:background ,.bluepopup))))
`(company-tooltip-scrollbar-thumb ((,colorful (:background ,.bluehighlight))))
`(company-tooltip-scrollbar-track ((,colorful (:background ,.bluedark))))
`(compilation-column-number ((,colorful (:foreground ,.yellow))))
`(compilation-line-number ((,colorful (:foreground ,.yellow))))
`(compilation-message-face ((,colorful (:foreground ,.blue))))
`(compilation-mode-line-exit ((,colorful (:foreground ,.green))))
`(compilation-mode-line-fail ((,colorful (:foreground ,.red))))
`(compilation-mode-line-run ((,colorful (:foreground ,.blue))))
`(custom-group-tag ((,colorful (:foreground ,.blue))))
`(custom-state ((,colorful (:foreground ,.green))))
`(custom-variable-tag ((,colorful (:foreground ,.blue))))
`(diff-added ((,colorful (:foreground ,.green))))
`(diff-changed ((,colorful (:foreground ,.purple))))
`(diff-file-header ((,colorful (:foreground ,.blue :background unspecified))))
`(diff-header ((,colorful (:foreground ,.aqua :background unspecified))))
`(diff-hunk-header ((,colorful (:foreground ,.purple))))
`(diff-refine-added ((,colorful (:inherit diff-added :inverse-video t))))
`(diff-refine-removed ((,colorful (:inherit diff-removed :inverse-video t))))
`(diff-removed ((,colorful (:foreground ,.orange))))
`(doom-themes-org-horizontal-rule ((,colorful (:inherit org-modern-horizontal-rule))))
`(ediff-even-diff-A ((,colorful (:foreground unspecified :background unspecified :inverse-video t))))
`(ediff-even-diff-B ((,colorful (:foreground unspecified :background unspecified :inverse-video t))))
`(ediff-odd-diff-A ((,colorful (:foreground ,.gray :background unspecified :inverse-video t))))
`(ediff-odd-diff-B ((,colorful (:foreground ,.gray :background unspecified :inverse-video t))))
`(flx-highlight-face ((,colorful (:inherit nil :foreground ,.yellow :weight bold :underline nil))))
`(flycheck-error ((,colorful (:underline (:style wave :color ,.red)))))
`(flycheck-warning ((,colorful (:underline (:style wave :color ,.orange)))))
`(flymake-errline ((,colorful (:underline (:style wave :color ,.red) :background ,.background))))
`(flymake-warnline ((,colorful (:underline (:style wave :color ,.orange) :background ,.background))))
`(font-lock-builtin-face ((,colorful (:foreground ,.softred))))
`(font-lock-comment-delimiter-face ((,colorful (:foreground ,.gray))))
`(font-lock-comment-face ((,colorful (:foreground ,.gray))))
`(font-lock-constant-face ((,colorful (:foreground ,.green))))
`(font-lock-doc-face ((,colorful (:foreground ,.docstring))))
`(font-lock-function-name-face ((,colorful (:foreground ,.orange))))
`(font-lock-keyword-face ((,colorful (:foreground ,.blue))))
`(font-lock-negation-char-face ((,colorful (:foreground ,.blue))))
`(font-lock-preprocessor-face ((,colorful (:foreground ,.gold))))
`(font-lock-regexp-grouping-backslash ((,colorful (:foreground ,.yellow))))
`(font-lock-regexp-grouping-construct ((,colorful (:foreground ,.purple))))
`(font-lock-string-face ((,colorful (:foreground ,.string))))
`(font-lock-type-face ((,colorful (:foreground ,.type))))
`(font-lock-variable-name-face ((,colorful (:foreground ,.yellow))))
`(font-lock-warning-face ((,colorful (:weight bold :foreground ,.red))))
`(git-gutter-fr:added ((,colorful (:foreground ,.green :weight bold))))
`(git-gutter-fr:deleted ((,colorful (:foreground ,.red :weight bold))))
`(git-gutter-fr:modified ((,colorful (:foreground ,.purple :weight bold))))
`(git-gutter:added ((,colorful (:foreground ,.green :weight bold))))
`(git-gutter:deleted ((,colorful (:foreground ,.red :weight bold))))
`(git-gutter:modified ((,colorful (:foreground ,.purple :weight bold))))
`(git-gutter:unchanged ((,colorful (:background ,.yellow))))
`(grep-context-face ((,colorful (:foreground ,.gray))))
`(grep-error-face ((,colorful (:foreground ,.red :weight bold :underline t))))
`(grep-hit-face ((,colorful (:foreground ,.blue))))
`(grep-match-face ((,colorful (:foreground unspecified :background unspecified :inherit match))))
`(helm-header ((,colorful (:inherit header-line :box (:line-width -1 :style released-button) :extend t))))
`(helm-buffer-not-saved ((,colorful (:foreground ,.red :background unspecified))))
`(helm-buffer-process ((,colorful (:foreground ,.cyan :background unspecified))))
`(helm-buffer-saved-out ((,colorful (:foreground ,.softred :background unspecified))))
`(helm-buffer-size ((,colorful (:foreground ,.shadow :background unspecified))))
`(helm-ff-executable ((,colorful (:foreground ,.softred))))
`(helm-ff-file ((,colorful (:foreground ,.foreground))))
`(helm-ff-file-extension ((,colorful (:foreground ,.white))))
`(helm-ff-directory ((,colorful (:foreground ,.bluelight :weight bold))))
`(helm-selection ((,colorful (:background ,.backgroundgreenhighlight))))
`(helm-selection-line ((,colorful (:inherit highlight))))
`(helm-source-header ((,colorful (:inherit helm-header :foreground ,.foreground :background ,.bluedark :weight bold :box nil :height 1.2 :extend t))))
`(hl-line ((,colorful (:background ,.current-line))))
`(hl-sexp-face ((,colorful (:background ,.current-line))))
`(idle-highlight ((((supports underline)) (:underline t))))
`(ido-first-match ((,colorful (:foreground ,.orange))))
`(ido-indicator ((,colorful (:foreground ,.red :background ,.background))))
`(ido-only-match ((,colorful (:foreground ,.green))))
`(ido-subdir ((,colorful (:foreground ,.purple))))
`(ido-virtual ((,colorful (:foreground ,.gray))))
`(isearch ((,colorful (:foreground ,.yellow :background ,.background :inverse-video t))))
`(isearch-fail ((,colorful (:background ,.background :inherit font-lock-warning-face :inverse-video t))))
`(isearch-lazy-highlight-face ((,colorful (:foreground ,.aqua :background ,.background :inverse-video t))))
`(ledger-font-comment-face ((,colorful (:inherit font-lock-comment-face))))
`(ledger-font-occur-narrowed-face ((,colorful (:inherit font-lock-comment-face :invisible t))))
`(ledger-font-occur-xact-face ((,colorful (:inherit highlight))))
`(ledger-font-payee-cleared-face ((,colorful (:foreground ,.green))))
`(ledger-font-payee-uncleared-face ((,colorful (:foreground ,.aqua))))
`(ledger-font-posting-account-cleared-face ((,colorful (:foreground ,.blue))))
`(ledger-font-posting-account-face ((,colorful (:foreground ,.purple))))
`(ledger-font-posting-account-pending-face ((,colorful (:foreground ,.yellow))))
`(ledger-font-xact-highlight-face ((,colorful (:inherit highlight))))
`(ledger-occur-narrowed-face ((,colorful (:inherit font-lock-comment-face :invisible t))))
`(ledger-occur-xact-face ((,colorful (:inherit highlight))))
`(markdown-link-face ((,colorful (:foreground ,.blue :underline t))))
`(markdown-url-face ((,colorful (:inherit link))))
`(message-header-cc ((,colorful (:inherit message-header-to :foreground unspecified))))
`(message-header-name ((,colorful (:foreground ,.blue :background unspecified))))
`(message-header-newsgroups ((,colorful (:foreground ,.aqua :background unspecified :slant normal))))
`(message-header-other ((,colorful (:foreground unspecified :background unspecified :weight normal))))
`(message-header-subject ((,colorful (:inherit message-header-other :weight bold :foreground ,.yellow))))
`(message-header-to ((,colorful (:inherit message-header-other :weight bold :foreground ,.orange))))
`(message-separator ((,colorful (:foreground ,.purple))))
`(mmm-default-submode-face ((,colorful (:background ,.block))))
`(org-agenda-date ((,colorful (:foreground ,.blue :underline nil))))
`(org-agenda-dimmed-todo-face ((,colorful (:foreground ,.gray))))
`(org-agenda-done ((,colorful (:foreground ,.green))))
`(org-agenda-structure ((,colorful (:foreground ,.purple))))
`(org-block ((,colorful (:foreground ,.foreground :background ,.block))))
`(org-code ((,colorful (:foreground ,.yellow))))
`(org-column ((,colorful (:background ,.current-line))))
`(org-column-title ((,colorful (:inherit org-column :weight bold :underline t))))
`(org-date ((,colorful (:foreground ,.blue :underline t))))
`(org-document-info ((,colorful (:foreground ,.aqua))))
`(org-document-info-keyword ((,colorful (:foreground ,.green))))
`(org-document-title ((,colorful (:weight bold :foreground ,.orange :height 1.45))))
`(org-done ((,colorful (:foreground ,.green))))
`(org-drawer ((,colorful (:foreground ,.bluedark))))
`(org-ellipsis ((,colorful (:foreground ,.gray))))
`(org-footnote ((,colorful (:foreground ,.aqua))))
`(org-formula ((,colorful (:foreground ,.red))))
`(org-hide ((,colorful (:foreground ,.background :background ,.background))))
`(org-kbd ((,colorful (:foreground ,.background :background ,.shadow :box (:line-width 2 :color ,.shadow :style released-button)))))
`(org-level-1 ((,colorful (:inherit nil :foreground ,.bluelight ,@(when starlit-scale-org-headlines '(:height 1.3))))))
`(org-level-2 ((,colorful (:inherit nil :foreground ,.yellow ,@(when starlit-scale-org-headlines '(:height 1.2))))))
`(org-level-3 ((,colorful (:inherit nil :foreground ,.purple ,@(when starlit-scale-org-headlines '(:height 1.1))))))
`(org-level-4 ((,colorful (:inherit nil :foreground ,.aqua))))
`(org-level-5 ((,colorful (:inherit nil :foreground ,.orange))))
`(org-level-6 ((,colorful (:inherit nil :foreground ,.greenlight))))
`(org-level-7 ((,colorful (:inherit nil :foreground ,.type))))
`(org-level-8 ((,colorful (:inherit nil :foreground ,.bluehighlight))))
`(org-level-9 ((,colorful (:inherit nil :foreground ,.blue))))
`(org-link ((,colorful (:foreground ,.blue :underline t))))
`(org-meta-line ((,colorful (:inherit (fixed-pitch font-lock-comment-face) :foreground ,.bluedark))))
`(org-modern-done ((,colorful :inherit org-modern-label :background ,.backgroundgreenhighlight)))
`(org-modern-horizontal-rule ((,colorful (:inherit org-hide :strike-through ,.gray))))
`(org-modern-todo ((,colorful :inherit org-modern-label :background ,.backgroundredhighlight)))
`(org-ref-ref-face ((,colorful :underline t)))
`(org-ref-label-face ((,colorful :underline t)))
`(org-ref-cite-face ((,colorful :underline t)))
`(org-ref-glossary-face ((,colorful :underline t)))
`(org-ref-acronym-face ((,colorful :underline t)))
`(org-scheduled ((,colorful (:foreground ,.green))))
`(org-scheduled-previously ((,colorful (:foreground ,.orange))))
`(org-scheduled-today ((,colorful (:foreground ,.green))))
`(org-special-keyword ((,colorful (:foreground ,.orange))))
`(org-table ((,colorful (:foreground ,.purple))))
`(org-tag ((,colorful (:foreground ,.gray))))
`(org-done ((,colorful (:foreground ,.green))))
`(org-todo ((,colorful (:foreground ,.red))))
`(org-upcoming-deadline ((,colorful (:foreground ,.orange))))
`(org-warning ((,colorful (:weight bold :foreground ,.red))))
`(outline-1 ((,colorful (:inherit nil :foreground ,.bluelight ,@(when starlit-scale-outline-headlines '(:height 1.3))))))
`(outline-2 ((,colorful (:inherit nil :foreground ,.yellow ,@(when starlit-scale-outline-headlines '(:height 1.2))))))
`(outline-3 ((,colorful (:inherit nil :foreground ,.purple ,@(when starlit-scale-outline-headlines '(:height 1.1))))))
`(outline-4 ((,colorful (:inherit nil :foreground ,.aqua))))
`(outline-5 ((,colorful (:inherit nil :foreground ,.orange))))
`(outline-6 ((,colorful (:inherit nil :foreground ,.greenlight))))
`(outline-7 ((,colorful (:inherit nil :foreground ,.type))))
`(outline-8 ((,colorful (:inherit nil :foreground ,.bluehighlight))))
`(outline-9 ((,colorful (:inherit nil :foreground ,.blue))))
`(powerline-active1 ((,colorful (:foreground ,.foreground :background ,.selection))))
`(powerline-active2 ((,colorful (:foreground ,.foreground :background ,.current-line))))
`(py-builtins-face ((,colorful (:foreground ,.orange :weight normal))))
`(rainbow-delimiters-depth-1-face ((,colorful (:foreground ,.foreground))))
`(rainbow-delimiters-depth-2-face ((,colorful (:foreground ,.aqua))))
`(rainbow-delimiters-depth-3-face ((,colorful (:foreground ,.yellow))))
`(rainbow-delimiters-depth-4-face ((,colorful (:foreground ,.green))))
`(rainbow-delimiters-depth-5-face ((,colorful (:foreground ,.blue))))
`(rainbow-delimiters-depth-6-face ((,colorful (:foreground ,.foreground))))
`(rainbow-delimiters-depth-7-face ((,colorful (:foreground ,.aqua))))
`(rainbow-delimiters-depth-8-face ((,colorful (:foreground ,.yellow))))
`(rainbow-delimiters-depth-9-face ((,colorful (:foreground ,.green))))
`(rainbow-delimiters-unmatched-face ((,colorful (:foreground ,.red))))
`(regex-tool-matched-face ((,colorful (:foreground unspecified :background unspecified :inherit match))))
`(sh-heredoc ((,colorful (:foreground unspecified :inherit font-lock-string-face :weight normal))))
`(sh-quoted-exec ((,colorful (:foreground unspecified :inherit font-lock-preprocessor-face))))
`(show-paren-match-face ((,colorful (:background ,.bluehighlight :foreground ,.white))))
`(show-paren-mismatch-face ((,colorful (:background ,.redhighlight :foreground ,.white))))
`(slime-highlight-edits-face ((,colorful (:weight bold))))
`(slime-repl-input-face ((,colorful (:weight normal :underline nil))))
`(slime-repl-output-face ((,colorful (:foreground ,.blue :background ,.background))))
`(slime-repl-prompt-face ((,colorful (:underline nil :weight bold :foreground ,.purple))))
`(slime-repl-result-face ((,colorful (:foreground ,.green))))
`(smerge-lower ((,colorful (:background ,.backgroundgreen))))
`(smerge-refined-added ((,colorful (:background ,.backgroundgreenhighlight))))
`(smerge-refined-removed ((,colorful (:background ,.backgroundredhighlight))))
`(smerge-upper ((,colorful (:background ,.backgroundred))))
`(sp-show-pair-match-face ((,colorful (:foreground unspecified :background unspecified :inherit show-paren-match))))
`(sp-show-pair-mismatch-face ((,colorful (:foreground unspecified :background unspecified :inherit show-paren-mismatch))))
`(term ((,colorful (:foreground unspecified :background unspecified :inherit default))))
`(term-color-black ((,colorful (:foreground ,.foreground :background ,.foreground))))
`(term-color-blue ((,colorful (:foreground ,.blue :background ,.blue))))
`(term-color-cyan ((,colorful (:foreground ,.aqua :background ,.aqua))))
`(term-color-green ((,colorful (:foreground ,.green :background ,.green))))
`(term-color-magenta ((,colorful (:foreground ,.purple :background ,.purple))))
`(term-color-red ((,colorful (:foreground ,.red :background ,.red))))
`(term-color-white ((,colorful (:foreground ,.background :background ,.background))))
`(term-color-yellow ((,colorful (:foreground ,.yellow :background ,.yellow))))
`(trailing-whitespace ((,colorful (:foreground ,.red :inverse-video t :underline nil))))
`(undo-tree-visualizer-active-branch-face ((,colorful (:foreground ,.red))))
`(undo-tree-visualizer-current-face ((,colorful (:foreground ,.green :weight bold))))
`(undo-tree-visualizer-default-face ((,colorful (:foreground ,.foreground))))
`(undo-tree-visualizer-register-face ((,colorful (:foreground ,.yellow))))
`(vertico-current ((,colorful (:background ,.backgroundgreenhighlight))))
`(which-func ((,colorful (:foreground ,.blue :background unspecified))))
`(whitespace-empty ((,colorful (:foreground ,.red :inverse-video t :underline nil))))
`(whitespace-hspace ((,colorful (:background unspecified :foreground ,.selection))))
`(whitespace-indentation ((,colorful (:background unspecified :foreground ,.aqua))))
`(whitespace-line ((,colorful (:background unspecified :foreground ,.red))))
`(whitespace-newline ((,colorful (:background unspecified :foreground ,.selection))))
`(whitespace-space ((,colorful (:background unspecified :foreground ,.selection))))
`(whitespace-space-after-tab ((,colorful (:background unspecified :foreground ,.background :underline nil))))
`(whitespace-space-before-tab ((,colorful (:foreground ,.red :inverse-video t :underline nil))))
`(whitespace-tab ((,colorful (:background unspecified :foreground ,.bluedark :background ,.backgroundlight))))
`(whitespace-trailing ((,colorful (:foreground ,.red :inverse-video t :underline nil))))
`(widget-button ((,colorful (:underline t))))
`(widget-field ((,colorful (:background ,.current-line :box (:line-width 1 :color ,.foreground))))))
(custom-theme-set-variables
'starlit
`(vc-annotate-color-map
'((20 . ,.red)
(40 . ,.orange)
(60 . ,.yellow)
(80 . ,.green)
(100 . ,.aqua)
(120 . ,.blue)
(140 . ,.purple)
(160 . ,.red)
(180 . ,.orange)
(200 . ,.yellow)
(220 . ,.green)
(240 . ,.aqua)
(260 . ,.blue)
(280 . ,.purple)
(300 . ,.red)
(320 . ,.orange)
(340 . ,.yellow)
(360 . ,.green)))
`(ansi-color-names-vector (vector ,.foreground ,.red ,.green ,.yellow ,.blue ,.purple ,.aqua ,.background))
'(ansi-color-faces-vector [default bold shadow italic underline bold bold-italic bold])
`(evil-emacs-state-cursor '(,.greenlight bar))
`(evil-normal-state-cursor '(,.gold box))
`(evil-insert-state-cursor '(,.bluelight bar))
`(evil-replace-state-cursor '(,.softred hbar))
`(evil-visual-state-cursor '(,.orange hollow))))))
;;;###autoload
(when (and (boundp 'custom-theme-load-path)
load-file-name)
;; when installing over MELPA, add theme to `custom-theme-load-path'
(add-to-list 'custom-theme-load-path
(file-name-as-directory (file-name-directory load-file-name))))
;; create theme settings
(starlit-theme-setup)
(provide-theme 'starlit)
;; Local Variables:
;; indent-tabs-mode: nil
;; eval: (rainbow-mode 1)
;; End:
;;; starlit-theme.el ends here