Configuration files
1;;; package: --- A theme inspired by the colors of the famous painting by Katsushika Hokusa
2
3;;; Commentary: Original theme created by rebelot see: https://github.com/rebelot/kanagawa.nvim
4;;; Code:
5
6(eval-when-compile
7 (require 'cl-lib))
8
9(require 'autothemer)
10
11(unless (>= emacs-major-version 24)
12 (error "Requires Emacs 24 or later"))
13
14
15(autothemer-deftheme
16 kanagawa "A theme inspired by the colors of the famous painting by Katsushika Hokusa"
17
18 ((((class color) (min-colors #xFFFFFF)) ; col 1 GUI/24bit
19 ((class color) (min-colors #xFF))) ; col 2 Xterm/256
20
21 ;; Define our color palette
22 (fujiWhite "#DCD7BA" "#ffffff")
23 (old-white "#C8C093" "#ffffff")
24
25 (sumiInk-0 "#16161D" "#000000")
26 (sumiInk-1b "#181820" "#000000")
27 (sumiInk-1 "#1F1F28" "#080808")
28 (sumiInk-2 "#2A2A37" "#121212")
29 (sumiInk-3 "#363646" "#303030")
30 (sumiInk-4 "#54546D" "#303030")
31
32 (waveBlue-1 "#223249" "#4e4e4e")
33 (waveBlue-2 "#2D4F67" "#585858")
34 (waveAqua1 "#6A9589" "#6a9589")
35 (waveAqua2 "#7AA89F" "#717C7C")
36
37 (winterGreen "#2B3328" "#585858")
38 (winterYellow "#49443C" "#585858")
39 (winterRed "#43242B" "#585858")
40 (winterBlue "#252535" "#585858")
41
42 (autumnGreen "#76946A" "#585858")
43 (autumnRed "#C34043" "#585858")
44 (autumnYellow "#DCA561" "#585858")
45
46 (samuraiRed "#E82424" "#585858")
47 (roninYellow "#FF9E3B" "#585858")
48
49 (dragonBlue "#658594" "#658594")
50 (fujiGray "#727169" "#717C7C")
51 (springViolet1 "#938AA9" "#717C7C")
52 (oniViolet "#957FB8" "#717C7C")
53 (crystalBlue "#7E9CD8" "#717C7C")
54 (springViolet2 "#9CABCA" "#717C7C")
55 (springBlue "#7FB4CA" "#717C7C")
56 (lightBlue "#A3D4D5" "#717C7C")
57 (springGreen "#98BB6C" "#717C7C")
58 (boatYellow1 "#938056" "#717C7C")
59 (boatYellow2 "#C0A36E" "#717C7C")
60 (carpYellow "#E6C384" "#717C7C")
61 (sakuraPink "#D27E99" "#717C7C")
62 (waveRed "#E46876" "#717C7C")
63 (peachRed "#FF5D62" "#717C7C")
64 (surimiOrange "#FFA066" "#717C7C")
65 (katanaGray "#717C7C" "#717C7C")
66 (comet "#54536D" "#4e4e4e"))
67
68 ;; Customize faces
69 (
70 (default (:background sumiInk-1 :foreground fujiWhite))
71 (border (:background sumiInk-1 :foreground sumiInk-0))
72 (button (:foreground waveAqua2))
73 (child-frame (:background sumiInk-0 :foreground sumiInk-0))
74 (child-frame-border (:background sumiInk-0 :foreground sumiInk-0))
75 (cursor (:background lightBlue :foreground sumiInk-0 :bold t))
76 (error (:foreground samuraiRed))
77 (fringe (:foreground sumiInk-3))
78 (glyph-face (:background sumiInk-4))
79 (glyphless-char (:foreground sumiInk-4))
80 (header-line (:background sumiInk-0))
81 (highlight (:background comet :foreground springViolet1))
82 (hl-line (:background sumiInk-2))
83 (homoglyph (:foreground lightBlue))
84 (internal-border (:background sumiInk-1b))
85 (line-number (:foreground sumiInk-4))
86 (line-number-current-line (:foreground springViolet2 :background sumiInk-2 :bold t))
87 (lv-separator (:foreground waveBlue-2 :background sumiInk-2))
88 (match (:background carpYellow :foreground sumiInk-0))
89 (menu (:background sumiInk-0 :foreground fujiWhite))
90 (mode-line (:background sumiInk-0))
91 (mode-line-inactive (:background nil :foreground sumiInk-4 :bold nil))
92 (mode-line-active (:background sumiInk-0 :foreground old-white :bold nil))
93 (mode-line-highlight (:foreground boatYellow2))
94 (mode-line-buffer-id (:foreground waveAqua2 :bold t))
95 (numbers (:background sakuraPink))
96 (region (:background waveBlue-2))
97 (separator-line (:background sumiInk-0))
98 (shadow (:background sumiInk-0))
99 (success (:foreground waveAqua2))
100 (vertical-border (:foreground sumiInk-4))
101 (warning (:foreground roninYellow))
102 (window-border (:background sumiInk-1b))
103 (window-divider (:foreground sumiInk-2))
104 (hi-yellow (:background carpYellow :foreground sumiInk-1b))
105
106 ;; Font lock
107 (font-lock-type-face (:foreground waveAqua2))
108 (font-lock-regexp-grouping-backslash (:foreground boatYellow2))
109 (font-lock-keyword-face (:foreground oniViolet :weight 'semi-bold))
110 (font-lock-warning-face (:foreground roninYellow))
111 (font-lock-string-face (:foreground springGreen))
112 (font-lock-builtin-face (:foreground springBlue))
113 (font-lock-reference-face (:foreground peachRed))
114 (font-lock-constant-face (:foreground surimiOrange))
115 (font-lock-function-name-face (:foreground crystalBlue))
116 (font-lock-variable-name-face (:foreground waveRed))
117 (font-lock-negation-char-face (:foreground peachRed))
118 (font-lock-comment-face (:foreground fujiGray))
119 (font-lock-comment-delimiter-face (:foreground fujiGray))
120 (font-lock-doc-face (:foreground comet))
121 (font-lock-doc-markup-face (:foreground comet))
122 (font-lock-preprocessor-face (:foreground boatYellow2))
123 (elisp-shorthand-font-lock-face (:foreground fujiWhite))
124
125 (info-xref (:foreground carpYellow))
126 (minibuffer-prompt-end (:foreground autumnRed :background winterRed))
127 (minibuffer-prompt (:foreground carpYellow :background winterYellow))
128 (epa-mark (:foreground waveRed))
129 (dired-mark (:foreground waveRed))
130 (trailing-whitespace (:background comet))
131 (mode-line (:background sumiInk-0 :foreground fujiWhite :bold t))
132
133 ;; Battery colors
134 (doom-modeline-battery-critical (:foreground peachRed))
135 (doom-modeline-battery-warning (:foreground springGreen))
136 (doom-modeline-battery-charging (:foreground fujiGray))
137 (doom-modeline-battery-error (:foreground peachRed))
138 (doom-modeline-battery-normal (:foreground springViolet1))
139 (doom-modeline-battery-full (:foreground waveAqua2))
140
141 ;; Doom visual state
142 (doom-modeline-evil-motion-state (:foreground lightBlue))
143 (doom-modeline-evil-emacs-state (:foreground crystalBlue))
144 (doom-modeline-evil-insert-state (:foreground peachRed))
145 (doom-modeline-evil-normal-state (:foreground lightBlue))
146 (doom-modeline-evil-visual-state (:foreground springGreen))
147 (doom-modeline-evil-replace-state (:foreground roninYellow))
148 (doom-modeline-evil-operator-state (:foreground crystalBlue))
149
150 (doom-modeline-project-dir (:bold t :foreground waveAqua2))
151 (doom-modeline-buffer-path (:inherit 'bold :foreground waveAqua2))
152 (doom-modeline-buffer-file (:inherit 'bold :foreground oniViolet))
153 (doom-modeline-buffer-modified (:inherit 'bold :foreground carpYellow))
154 (doom-modeline-error (:background peachRed))
155 (doom-modeline-buffer-major-mode (:foreground waveAqua2 :bold t))
156 (doom-modeline-info (:bold t :foreground lightBlue))
157 (doom-modeline-project-dir (:bold t :foreground surimiOrange))
158 (doom-modeline-bar (:bold t :background springViolet1))
159 (doom-modeline-panel (:inherit 'bold :background boatYellow2 :foreground sumiInk-2))
160 (doom-themes-visual-bell (:background autumnRed))
161
162 ;; elfeed
163 (elfeed-search-feed-face (:foreground springViolet1))
164 (elfeed-search-tag-face (:foreground waveAqua2))
165
166 ;; message colors
167 (message-header-name (:foreground sumiInk-4))
168 (message-header-other (:foreground surimiOrange))
169 (message-header-subject (:foreground carpYellow))
170 (message-header-to (:foreground old-white))
171 (message-header-cc (:foreground waveAqua2))
172 (message-header-xheader (:foreground old-white))
173 (custom-link (:foreground crystalBlue))
174 (link (:foreground crystalBlue))
175
176 ;; org-mode
177 (org-done (:foreground dragonBlue))
178 (org-code (:background sumiInk-0))
179 (org-meta-line (:background winterGreen :foreground springGreen))
180 (org-block (:background sumiInk-0 :foreground sumiInk-4))
181 (org-block-begin-line (:background winterBlue :foreground springBlue))
182 (org-block-end-line (:background winterRed :foreground peachRed))
183 (org-headline-done (:foreground dragonBlue :strike-through t))
184 (org-todo (:foreground surimiOrange :bold t))
185 (org-headline-todo (:foreground sumiInk-2))
186 (org-upcoming-deadline (:foreground peachRed))
187 (org-footnote (:foreground waveAqua2))
188 (org-indent (:background sumiInk-1b :foreground sumiInk-1b))
189 (org-hide (:background sumiInk-1b :foreground sumiInk-1b))
190 (org-date (:foreground waveBlue-2))
191 (org-ellipsis (:foreground waveBlue-2 :bold t))
192 (org-level-1 (:foreground peachRed :height 1.3 :bold t))
193 (org-level-2 (:foreground springViolet2 :height 1.15 :bold t))
194 (org-level-3 (:foreground boatYellow2 :height 1.05))
195 (org-level-4 (:foreground fujiWhite))
196 (org-level-5 (:foreground fujiWhite))
197 (org-level-6 (:foreground carpYellow))
198 (org-level-7 (:foreground surimiOrange))
199 (org-level-8 (:foreground springGreen))
200
201 ;; which-key
202 (which-key-key-face (:inherit 'font-lock-variable-name-face))
203 (which-func (:inherit 'font-lock-function-name-face :bold t))
204 (which-key-group-description-face (:foreground waveRed))
205 (which-key-command-description-face (:foreground crystalBlue))
206 (which-key-local-map-description-face (:foreground carpYellow))
207 (which-key-posframe (:background waveBlue-1))
208 (which-key-posframe-border (:background waveBlue-1))
209
210 ;; swiper
211 (swiper-line-face (:foreground carpYellow))
212 (swiper-background-match-face-1 (:background surimiOrange :foreground sumiInk-0))
213 (swiper-background-match-face-2 (:background crystalBlue :foreground sumiInk-0))
214 (swiper-background-match-face-3 (:background boatYellow2 :foreground sumiInk-0))
215 (swiper-background-match-face-4 (:background peachRed :foreground sumiInk-0))
216 (swiper-match-face-1 (:inherit 'swiper-background-match-face-1))
217 (swiper-match-face-2 (:inherit 'swiper-background-match-face-2))
218 (swiper-match-face-3 (:inherit 'swiper-background-match-face-3))
219 (swiper-match-face-4 (:inherit 'swiper-background-match-face-4))
220
221 (counsel-outline-default (:foreground carpYellow))
222 (info-header-xref (:foreground carpYellow))
223 (xref-file-header (:foreground carpYellow))
224 (xref-match (:foreground carpYellow))
225
226 ;; rainbow delimiters
227 (rainbow-delimiters-mismatched-face (:foreground peachRed))
228 (rainbow-delimiters-unmatched-face (:foreground waveAqua2))
229 (rainbow-delimiters-base-error-face (:foreground peachRed))
230 (rainbow-delimiters-base-face (:foreground sumiInk-4))
231
232 (rainbow-delimiters-depth-1-face (:foreground springViolet2))
233 (rainbow-delimiters-depth-2-face (:foreground dragonBlue))
234 (rainbow-delimiters-depth-3-face (:foreground springViolet1))
235 (rainbow-delimiters-depth-4-face (:foreground springGreen))
236 (rainbow-delimiters-depth-5-face (:foreground waveAqua2))
237 (rainbow-delimiters-depth-6-face (:foreground carpYellow))
238 (rainbow-delimiters-depth-7-face (:foreground waveRed))
239 (rainbow-delimiters-depth-8-face (:foreground lightBlue))
240 (rainbow-delimiters-depth-9-face (:foreground springViolet2))
241
242 ;; show-paren
243 (show-paren-match (:background waveAqua1 :foreground sumiInk-0 :bold t))
244 (show-paren-match-expression (:background waveAqua1 :foreground sumiInk-0 :bold t))
245 (show-paren-mismatch (:background peachRed :foreground old-white))
246 (tooltip (:foreground sumiInk-0 :background carpYellow :bold t))
247
248 ;; company-box
249 (company-tooltip (:background sumiInk-2))
250 (company-tooltip-common (:foreground autumnYellow))
251 (company-tooltip-quick-access (:foreground springViolet2))
252 (company-tooltip-scrollbar-thumb (:background autumnRed))
253 (company-tooltip-scrollbar-track (:background sumiInk-2))
254 (company-tooltip-search (:background carpYellow :foreground sumiInk-0 :distant-foreground fujiWhite))
255 (company-tooltip-selection (:background peachRed :foreground winterRed :bold t))
256 (company-tooltip-mouse (:background sumiInk-2 :foreground sumiInk-0 :distant-foreground fujiWhite))
257 (company-tooltip-annotation (:foreground peachRed :distant-foreground sumiInk-1))
258 (company-scrollbar-bg (:inherit 'tooltip))
259 (company-scrollbar-fg (:background peachRed))
260 (company-preview (:foreground carpYellow))
261 (company-preview-common (:foreground peachRed :bold t))
262 (company-preview-search (:inherit 'company-tooltip-search))
263 (company-template-field (:inherit 'match))
264
265 ;; flycheck
266 (flycheck-posframe-background-face (:background sumiInk-0))
267 (flycheck-posframe-face (:background sumiInk-0))
268 (flycheck-posframe-info-face (:background sumiInk-0 :foreground autumnGreen))
269 (flycheck-posframe-warning-face (:background sumiInk-0 :foreground lightBlue))
270 (flycheck-posframe-error-face (:background sumiInk-0 :foreground samuraiRed))
271 (flycheck-fringe-warning (:foreground lightBlue))
272 (flycheck-fringe-error (:foreground samuraiRed))
273 (flycheck-fringe-info (:foreground autumnGreen))
274 (flycheck-error-list-warning (:foreground roninYellow :bold t))
275 (flycheck-error-list-error (:foreground samuraiRed :bold t))
276 (flycheck-error-list-info (:foreground waveAqua1 :bold t))
277 (flycheck-inline-error (:foreground samuraiRed :background winterRed :bold t :height 138))
278 (flycheck-inline-info (:foreground lightBlue :background winterBlue :bold t :height 138))
279 (flycheck-inline-warning (:foreground winterYellow :background carpYellow :bold t :height 138))
280
281 ;; indent dots
282 (highlight-indent-guides-character-face (:foreground sumiInk-3))
283 (highlight-indent-guides-stack-character-face (:foreground sumiInk-3))
284 (highlight-indent-guides-stack-odd-face (:foreground sumiInk-3))
285 (highlight-indent-guides-stack-even-face (:foreground comet))
286 (highlight-indent-guides-stack-character-face (:foreground sumiInk-3))
287 (highlight-indent-guides-even-face (:foreground sumiInk-2))
288 (highlight-indent-guides-odd-face (:foreground comet))
289
290 (highlight-operators-face (:foreground boatYellow2))
291 (highlight-quoted-symbol (:foreground springGreen))
292 (highlight-numbers-face (:foreground sakuraPink))
293 (highlight-symbol-face (:background waveBlue-1 :foreground lightBlue))
294
295 ;; ivy
296 (ivy-current-match (:background crystalBlue :foreground sumiInk-0 :bold t))
297 (ivy-action (:background nil :foreground fujiWhite))
298 (ivy-grep-line-number (:background nil :foreground springGreen))
299 (ivy-minibuffer-match-face-1 (:background nil :foreground waveRed))
300 (ivy-minibuffer-match-face-2 (:background nil :foreground springGreen))
301 (ivy-minibuffer-match-highlight (:foreground lightBlue))
302 (ivy-grep-info (:foreground lightBlue))
303 (ivy-grep-line-number (:foreground springViolet2))
304 (ivy-confirm-face (:foreground waveAqua2))
305
306 ;; posframe's
307 (ivy-posframe (:background sumiInk-2))
308 (ivy-posframe-border (:background sumiInk-3))
309
310 ;;treemacs
311 (treemacs-directory-collapsed-face (:foreground fujiWhite))
312 (treemacs-directory-face (:foreground fujiWhite))
313 (treemacs-file-face (:foreground fujiWhite))
314
315 (treemacs-git-added-face (:foreground surimiOrange))
316 (treemacs-git-renamed-face (:foreground fujiWhite))
317 (treemacs-git-ignored-face (:foreground sumiInk-4))
318 (treemacs-git-unmodified-face (:foreground fujiWhite))
319 (treemacs-git-renamed-face (:foreground fujiWhite))
320 (treemacs-git-modified-face (:foreground springGreen))
321
322 ;; lsp and lsp-ui
323 (lsp-headerline-breadcrumb-path-error-face (:underline (:color springGreen :style 'wave) :foreground sumiInk-4 :background sumiInk-0))
324 (lsp-headerline-breadcrumb-path-face (:background sumiInk-0))
325 (lsp-headerline-breadcrumb-path-hint-face (:background sumiInk-0))
326 (lsp-headerline-breadcrumb-path-info-face (:background sumiInk-0))
327 (lsp-headerline-breadcrumb-separator-face (:background sumiInk-0))
328 (lsp-headerline-breadcrumb-symbols-face (:background sumiInk-0))
329 (lsp-headerline-breadcrumb-project-prefix-face (:background sumiInk-0))
330 (lsp-headerline-breadcrumb-symbols-error-face (:foreground peachRed))
331
332 (lsp-ui-doc-background (:background sumiInk-0 :foreground peachRed))
333 (lsp-ui-doc-header (:background sumiInk-0 :foreground peachRed))
334 (lsp-ui-doc-border (:background nil :foreground nil))
335 (lsp-ui-peek-filename (:foreground lightBlue))
336 (lsp-ui-sideline-code-action (:foreground carpYellow))
337 (lsp-ui-sideline-current-symbol (:foreground springBlue))
338 (lsp-ui-sideline-symbol (:foreground dragonBlue))
339
340 ;; dashboard
341 (dashboard-heading (:foreground springViolet2 :bold t))
342 (dashboard-items-face (:bold nil :foreground fujiWhite))
343 (dashboard-banner-logo-title (:bold t :height 200))
344 (dashboard-no-items-face (:foreground sumiInk-4))
345
346 ;; all-the-icons
347 (all-the-icons-dgreen (:foreground waveAqua2))
348 (all-the-icons-green (:foreground waveAqua2))
349 (all-the-icons-dpurple (:foreground springViolet2))
350 (all-the-icons-purple (:foreground springViolet2))
351
352 ;; evil
353 (evil-ex-lazy-highlight (:foreground winterGreen :background autumnGreen :bold t))
354 (evil-ex-substitute-matches (:foreground winterRed :background autumnRed :bold t))
355 (evil-ex-substitute-replacement (:foreground surimiOrange :strike-through nil :inherit 'evil-ex-substitute-matches))
356 (evil-search-highlight-persist-highlight-face (:background carpYellow))
357
358 ;; term
359 (term (:background sumiInk-0 :foreground fujiWhite))
360 (term-color-blue (:background crystalBlue :foreground crystalBlue))
361 (term-color-bright-blue (:inherit 'term-color-blue))
362 (term-color-green (:background waveAqua2 :foreground waveAqua2))
363 (term-color-bright-green (:inherit 'term-color-green))
364 (term-color-black (:background sumiInk-0 :foreground fujiWhite))
365 (term-color-bright-black (:background sumiInk-1b :foreground sumiInk-1b))
366 (term-color-white (:background fujiWhite :foreground fujiWhite))
367 (term-color-bright-white (:background old-white :foreground old-white))
368 (term-color-red (:background peachRed :foreground peachRed))
369 (term-color-bright-red (:background springGreen :foreground springGreen))
370 (term-color-yellow (:background carpYellow :foreground carpYellow))
371 (term-color-bright-yellow (:background carpYellow :foreground carpYellow))
372 (term-color-cyan (:background springBlue :foreground springBlue))
373 (term-color-bright-cyan (:background springBlue :foreground springBlue))
374 (term-color-magenta (:background springViolet2 :foreground springViolet2))
375 (term-color-bright-magenta (:background springViolet2 :foreground springViolet2))
376
377 ;; popup
378 (popup-face (:inherit 'tooltip))
379 (popup-selection-face (:inherit 'tooltip))
380 (popup-tip-face (:inherit 'tooltip))
381
382 ;; anzu
383 (anzu-match-1 (:foreground waveAqua2 :background sumiInk-2))
384 (anzu-match-2 (:foreground carpYellow :background sumiInk-2))
385 (anzu-match-3 (:foreground lightBlue :background sumiInk-2))
386
387 (anzu-mode-line (:foreground sumiInk-0 :background springViolet2))
388 (anzu-mode-no-match (:foreground fujiWhite :background peachRed))
389 (anzu-replace-to (:foreground springBlue :background winterBlue))
390 (anzu-replace-highlight (:foreground peachRed :background winterRed :strike-through t))
391
392 ;; ace
393 (ace-jump-face-background (:foreground waveBlue-2))
394 (ace-jump-face-foreground (:foreground peachRed :background sumiInk-0 :bold t))
395
396 ;; vertico
397 (vertico-multiline (:background samuraiRed))
398 (vertico-group-title (:background winterBlue :foreground lightBlue :bold t))
399 (vertico-group-separator (:background winterBlue :foreground lightBlue :strike-through t))
400 (vertico-current (:foreground carpYellow :bold t :background waveBlue-1))
401
402 (vertico-posframe-border (:background sumiInk-3))
403 (vertico-posframe (:background sumiInk-2))
404 (orderless-match-face-0 (:foreground crystalBlue :bold t))
405
406 (comint-highlight-prompt (:background springViolet2 :foreground sumiInk-1))
407 (completions-annotations (:background nil :foreground dragonBlue))
408
409 ;; hydra
410 (hydra-face-amaranth (:foreground autumnRed))
411 (hydra-face-blue (:foreground springBlue))
412 (hydra-face-pink (:foreground sakuraPink))
413 (hydra-face-red (:foreground peachRed))
414 (hydra-face-teal (:foreground lightBlue))
415
416 ;; centaur-tabs
417 (centaur-tabs-active-bar-face (:background springBlue :foreground fujiWhite))
418 (centaur-tabs-selected (:background sumiInk-1b :foreground fujiWhite :bold t))
419 (centaur-tabs-selected-modified (:background sumiInk-1b :foreground fujiWhite))
420 (centaur-tabs-modified-marker-selected (:background sumiInk-1b :foreground autumnYellow))
421 (centaur-tabs-close-selected (:inherit 'centaur-tabs-selected))
422 (tab-line (:background sumiInk-0))
423
424 (centaur-tabs-unselected (:background sumiInk-0 :foreground sumiInk-4))
425 (centaur-tabs-default (:background sumiInk-0 :foreground sumiInk-4))
426 (centaur-tabs-unselected-modified (:background sumiInk-0 :foreground peachRed))
427 (centaur-tabs-modified-marker-unselected (:background sumiInk-0 :foreground sumiInk-4))
428 (centaur-tabs-close-unselected (:background sumiInk-0 :foreground sumiInk-4))
429
430 (centaur-tabs-close-mouse-face (:background nil :foreground peachRed))
431 (centaur-tabs-default (:background roninYellow ))
432 (centaur-tabs-name-mouse-face (:foreground springBlue :bold t))
433
434 (git-gutter:added (:foreground autumnGreen))
435 (git-gutter:deleted (:foreground waveRed))
436 (git-gutter:modified (:foreground springBlue))
437
438 (diff-hl-margin-change (:foreground springBlue :background winterBlue))
439 (diff-hl-margin-delete (:foreground peachRed :background winterRed))
440 (diff-hl-margin-insert (:foreground comet :background winterBlue))
441
442 (bm-fringe-face (:background peachRed :foreground sumiInk-3))
443 (bm-fringe-persistent-face (:background peachRed :foreground sumiInk-3))
444
445 (ansi-color-green (:foreground springGreen))
446 (ansi-color-black (:background sumiInk-0))
447 (ansi-color-cyan (:foreground waveAqua2))
448 (ansi-color-magenta (:foreground sakuraPink))
449 (ansi-color-blue (:foreground crystalBlue))
450 (ansi-color-red (:foreground peachRed))
451 (ansi-color-white (:foreground fujiWhite))
452 (ansi-color-yellow (:foreground autumnYellow))
453 (ansi-color-bright-white (:foreground old-white))
454 (ansi-color-bright-white (:foreground old-white))
455
456 (tree-sitter-hl-face:attribute (:foreground surimiOrange))
457 (tree-sitter-hl-face:escape (:foreground waveRed))
458 (tree-sitter-hl-face:constructor (:foreground waveRed :weight 'semi-bold))
459
460 (tree-sitter-hl-face:constant (:foreground surimiOrange))
461 (tree-sitter-hl-face:constant.builtin (:foreground carpYellow :weight 'semi-bold))
462
463 (tree-sitter-hl-face:embedded (:foreground boatYellow2))
464
465 (tree-sitter-hl-face:function (:foreground crystalBlue))
466 (tree-sitter-hl-face:function.builtin (:foreground peachRed :background winterRed))
467 (tree-sitter-hl-face:function.call (:foreground springViolet2))
468 (tree-sitter-hl-face:function.macro (:foreground samuraiRed))
469 (tree-sitter-hl-face:function.special (:foreground sakuraPink))
470 (tree-sitter-hl-face:function.label (:foreground surimiOrange))
471
472 (tree-sitter-hl-face:method (:foreground lightBlue))
473 (tree-sitter-hl-face:method.call (:foreground lightBlue))
474
475 (tree-sitter-hl-face:property (:foreground carpYellow))
476 (tree-sitter-hl-face:property.definition (:foreground old-white))
477
478 (tree-sitter-hl-face:tag (:foreground peachRed))
479
480 (tree-sitter-hl-face:type (:foreground waveAqua2 :weight 'semi-bold))
481 (tree-sitter-hl-face:type.argument (:foreground surimiOrange))
482 (tree-sitter-hl-face:type.builtin (:foreground autumnRed))
483 (tree-sitter-hl-face:type.parameter (:foreground surimiOrange))
484 (tree-sitter-hl-face:type.super (:foreground samuraiRed :bold t))
485
486 (tree-sitter-hl-face:variable (:foreground springBlue))
487 (tree-sitter-hl-face:variable.builtin (:foreground waveRed))
488 (tree-sitter-hl-face:variable.parameter (:foreground springViolet2))
489 (tree-sitter-hl-face:variable.special (:foreground surimiOrange))
490 (tree-sitter-hl-face:variable.synthesized (:foreground lightBlue))
491
492 (tree-sitter-hl-face:number (:foreground sakuraPink))
493 (tree-sitter-hl-face:operator (:foreground sakuraPink :bold t))
494
495 (tree-sitter-hl-face:punctuation (:foreground lightBlue))
496 (tree-sitter-hl-face:punctuation.bracket (:foreground springViolet2 :bold t))
497 (tree-sitter-hl-face:punctuation.delimiter (:foreground springViolet2 :bold t))
498 (tree-sitter-hl-face:punctuation.special (:foreground peachRed))
499
500 (tree-sitter-hl-face:case-pattern (:foreground waveRed))
501 (tree-sitter-hl-face:variable.synthesized (:foreground waveRed))
502 (tree-sitter-hl-face:keyword.compiler (:foreground peachRed :bold))
503
504 (focus-unfocused (:foreground sumiInk-4))
505 ))
506
507;;;###autoload
508(and load-file-name
509 (boundp 'custom-theme-load-path)
510 (add-to-list 'custom-theme-load-path
511 (file-name-as-directory
512 (file-name-directory load-file-name))))
513
514(provide-theme 'kanagawa)
515;;; kanagawa-theme.el ends here
516