-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfleetish-theme.el
147 lines (124 loc) · 6.55 KB
/
fleetish-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
;;; fleetish-theme.el --- A take on the JetBrains Fleet theme -*- lexical-binding: t; -*-
;; Author: Scott Raine <scott@raine.sh>
;; Version: 0.1
;; Filename: fleetish-theme.el
;; Package-Requires: ((emacs "24"))
;; URL: https://github.com/nylar/fleetish-emacs-theme
;; SPDX-License-Identifier: MIT
;;; Commentary:
;; A take on the JetBrains Fleet theme sprinkled with some creative freedom,
;; from the Helix text editor.
;;
;; https://github.com/helix-editor/helix/blob/master/runtime/themes/fleetish.toml
;;; Code:
(deftheme fleetish
"A take on the JetBrains Fleet theme sprinkled with some creative freedom.")
(let ((darkest "#0D0D0D")
(darker "#1C1C1C")
(dark "#353535")
(light "#EFEFEF")
(lightest "#FFFFFF")
(darker-gray "#5D5D5D")
(dark-gray "#898989")
(light-gray "#D1D1D1")
(purple "#AC9CF9")
(blue "#94C1FA")
(dark-blue "#163764")
(pink "#D898D8")
(green "#AFCB85")
(cyan "#78D0BD")
(orange "#ECA775")
(yellow "#E5C995")
(green-accent "#00AF99")
(orange-accent "#EE7F25")
(yellow-accent "#DEA407")
(red-accent "#EE113C"))
(custom-theme-set-faces
'fleetish
`(default ((t (:foreground ,light :background ,darkest :weight normal))))
`(region ((t (:foreground unspecified :background ,dark-blue))))
`(warning ((t (:foreground ,yellow-accent))))
`(error ((t (:foreground ,red-accent))))
`(success ((t (:foreground ,green-accent))))
`(fringe ((t (:background ,darkest))))
`(link ((t (:underline t :foreground ,cyan))))
`(vertical-border ((t (:foreground ,dark))))
`(minibuffer-prompt ((t (:foreground ,orange))))
`(highlight ((t (:background ,dark-blue))))
`(line-number ((t (:foreground ,darker-gray))))
`(line-number-current-line ((t (:foreground ,light-gray :background ,darker))))
`(hl-line ((t (:background ,darker))))
`(hl-line-face ((t (:background ,darker))))
`(font-lock-builtin-face ((t (:foreground ,cyan))))
`(font-lock-comment-delimiter-face ((t (:foreground ,dark-gray))))
`(font-lock-comment-face ((t (:foreground ,dark-gray))))
`(font-lock-constant-face ((t (:foreground ,yellow))))
`(font-lock-doc-face ((t (:foreground ,dark-gray))))
`(font-lock-doc-string-face ((t (:foreground ,pink))))
`(font-lock-function-name-face ((t (:foreground ,blue))))
`(font-lock-keyword-face ((t (:foreground ,cyan))))
`(font-lock-preprocessor-face ((t (:foreground ,green))))
`(font-lock-string-face ((t (:foreground ,pink))))
`(font-lock-type-face ((t (:foreground ,blue))))
`(font-lock-variable-name-face ((t (:foreground ,light))))
`(font-lock-warning-face ((t (:foreground ,orange-accent))))
;; tree-sitter
`(tree-sitter-hl-face:constant ((t (:foreground ,purple))))
`(tree-sitter-hl-face:constant.builtin ((t (:foreground ,yellow))))
`(tree-sitter-hl-face:constructor ((t (:foreground ,blue))))
`(tree-sitter-hl-face:function ((t (:foreground ,light :weight semi-bold))))
`(tree-sitter-hl-face:function.call ((t (:foreground ,yellow :slant normal))))
`(tree-sitter-hl-face:keyword ((t (:foreground ,cyan))))
`(tree-sitter-hl-face:number ((t (:foreground ,yellow))))
`(tree-sitter-hl-face:operator ((t (:foreground ,light))))
`(tree-sitter-hl-face:property ((t (:foreground ,purple))))
`(tree-sitter-hl-face:property.definition ((t (:foreground ,purple))))
`(tree-sitter-hl-face:type.argument ((t (:foreground ,blue))))
`(tree-sitter-hl-face:type.builtin ((t (:foreground ,blue))))
`(tree-sitter-hl-face:type.parameter ((t (:foreground ,blue))))
;; mode-line
`(mode-line ((t (:inverse-video unspecified :foreground ,light :background ,darker :box unspecified))))
`(mode-line-highlight ((t (:foreground ,light-gray :box unspecified))))
`(mode-line-inactive ((t (:inverse-video unspecified :foreground ,dark :background ,darker :box unspecified))))
;; diff-hl
`(diff-hl-insert ((t (:foreground ,green-accent, :background unspecified))))
`(diff-hl-change ((t (:foreground ,yellow-accent, :background unspecified))))
`(diff-hl-delete ((t (:foreground ,red-accent, :background unspecified))))
;; flycheck
`(flycheck-info ((t (:underline (:color ,green-accent :style wave)))))
`(flycheck-warning ((t (:underline (:color ,orange-accent :style wave)))))
`(flycheck-error ((t (:underline (:color ,red-accent :style wave)))))
`(flycheck-fringe-info ((t (:foreground ,green-accent))))
`(flycheck-fringe-warning ((t (:foreground ,orange-accent))))
`(flycheck-fringe-error ((t (:foreground ,red-accent))))
;; ivy
`(ivy-current-match ((t (:foreground ,light :background ,dark-blue))))
`(ivy-minibuffer-match-face-1 ((t (:foreground ,pink))))
`(ivy-minibuffer-match-face-2 ((t (:foreground ,blue))))
`(ivy-minibuffer-match-face-3 ((t (:foreground ,cyan))))
`(ivy-minibuffer-match-face-4 ((t (:foreground ,green))))
;; lsp
`(lsp-ui-doc-background ((t (:foreground ,light :background ,darker))))
`(lsp-face-highlight-textual ((t (:background ,dark-blue))))
;; rustic
`(rust-string-interpolation ((t (:foreground ,cyan))))
;; term
`(term ((t (:foreground ,light :background ,darkest))))
`(term-color-black ((t (:foreground ,darkest :background ,dark-gray))))
`(term-color-white ((t (:foreground ,light :background ,lightest))))
`(term-color-red ((t (:foreground ,pink :background ,pink))))
`(term-color-yellow ((t (:foreground ,yellow :background ,yellow))))
`(term-color-green ((t (:foreground ,green :background ,green))))
`(term-color-cyan ((t (:foreground ,cyan :background ,cyan))))
`(term-color-blue ((t (:foreground ,blue :background ,blue))))
`(term-color-magenta ((t (:foreground ,purple :background ,purple))))
;; window-divider
`(window-divider ((t (:foreground ,dark))))
`(window-divider-first-pixel ((t (:foreground ,dark))))
`(window-divider-last-pixel ((t (:foreground ,dark))))))
;;;###autoload
(when load-file-name
(add-to-list 'custom-theme-load-path
(file-name-as-directory (file-name-directory load-file-name))))
(provide-theme 'fleetish)
;;; fleetish-theme.el ends here