-
Notifications
You must be signed in to change notification settings - Fork 3
/
kanagawa-themes.el
973 lines (896 loc) · 40.8 KB
/
kanagawa-themes.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
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
;;; kanagawa-themes.el --- Elegant theme inspired by The Great Wave off Kanagawa -*- lexical-binding: t -*-
;; Copyright (C) 2023 Mikael Konradsson
;; Copyright (C) 2023-2024 Sion Eltnam Sokaris <meritamen@sdf.org>
;; Author: Sion Eltnam Sokaris <meritamen@sdf.org>
;; Maintainer: Fabio Kleis <fabiohkrc@gmail.com>, Sion Eltnam Sokaris <meritamen@sdf.org>
;; URL: https://github.com/Fabiokleis/kanagawa-emacs
;; Version: 1.0.0
;; Package-Requires: ((emacs "24.3"))
;; Created: 16 September 2023
;; Keywords: themes faces
;; 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 <https://www.gnu.org/licenses/>.
;;; Commentary:
;; Kanagawa is a theme inspired by the colors of the famous painting
;; The Great Wave off Kanagawa by Katsushika Hokusa.
;; Original theme created by rebelot see: https://github.com/rebelot/kanagawa.nvim
;;; Code:
(defgroup kanagawa-themes nil
"Kanagawa-themes options."
:group 'faces)
(defcustom kanagawa-themes-comment-italic t
"Enable italics for comments and also disable background."
:type 'boolean
:group 'kanagawa-themes)
(defcustom kanagawa-themes-keyword-italic t
"Enable italics for keywords."
:type 'boolean
:group 'kanagawa-themes)
(defcustom kanagawa-themes-org-height t
"Use varying text heights for org headings."
:type 'boolean
:group 'kanagawa-themes)
(defcustom kanagawa-themes-org-bold t
"Inherit text bold for org headings."
:type 'boolean
:group 'kanagawa-themes)
(defcustom kanagawa-themes-org-priority-bold t
"Inherit text bold for priority items in agenda view."
:type 'boolean
:group 'kanagawa-themes)
(defcustom kanagawa-themes-org-highlight nil
"Highlight org headings."
:type 'boolean
:group 'kanagawa-themes)
;;;###autoload
(defcustom kanagawa-themes-custom-colors '()
"Place to override default theme colors."
:type 'list
:group 'kanagawa-themes)
(eval-when-compile
(defvar kanagawa-themes-color-palette-list
'((sumi-ink-0 "#16161D")
(sumi-ink-1 "#181820")
(sumi-ink-2 "#1a1a22")
(sumi-ink-3 "#1F1F28")
(sumi-ink-4 "#2A2A37")
(sumi-ink-5 "#363646")
(sumi-ink-6 "#54546D") ; fg
;; Popup and Floats
(wave-blue-1 "#223249")
(wave-blue-2 "#2D4F67")
;; Diff and Git
(winter-green "#2B3328")
(winter-yellow "#49443C")
(winter-red "#43242B")
(winter-blue "#252535")
(autumn-green "#76946A")
(autumn-red "#C34043")
(autumn-yellow "#DCA561")
;; Diag
(samurai-red "#E82424")
(ronin-yellow "#FF9E3B")
(wave-aqua-1 "#6A9589")
(dragon-blue "#658594")
;; Fg and Comments
(old-white "#C8C093")
(fuji-white "#DCD7BA")
(fuji-gray "#727169")
(oni-violet "#957FB8")
(oni-violet-2 "#b8b4d0")
(crystal-blue "#7E9CD8")
(spring-violet-1 "#938AA9")
(spring-violet-2 "#9CABCA")
(spring-blue "#7FB4CA")
(light-blue "#A3D4D5")
(wave-aqua-2 "#7AA89F") ;; improve lightness: desaturated greenish Aqua
(spring-green "#98BB6C")
(boat-yellow-1 "#938056")
(boat-yellow-2 "#C0A36E")
(carp-yellow "#E6C384")
(sakura-pink "#D27E99")
(wave-red "#E46876")
(peach-red "#FF5D62")
(surimi-orange "#FFA066")
(katana-gray "#717C7C")
(dragon-black-0 "#0d0c0c")
(dragon-black-1 "#12120f")
(dragon-black-2 "#1D1C19")
(dragon-black-3 "#181616")
(dragon-black-4 "#282727")
(dragon-black-5 "#393836")
(dragon-black-6 "#625e5a")
(dragon-white "#c5c9c5")
(dragon-green "#87a987")
(dragon-green-2 "#8a9a7b")
(dragon-pink "#a292a3")
(dragon-orange "#b6927b")
(dragon-orange-2 "#b98d7b")
(dragon-gray "#a6a69c")
(dragon-gray1 "#9e9b93")
(dragon-gray-3 "#7a8382")
(dragon-blue-2 "#8ba4b0")
(dragon-violet "#8992a7")
(dragon-red "#c4746e")
(dragon-aqua "#8ea4a2")
(dragon-ash "#737c73")
(dragon-teal "#949fb5")
(dragon-yellow "#c4b28a")
(lotus-ink-1 "#545464")
(lotus-ink-2 "#43436c")
(lotus-gray "#dcd7ba")
(lotus-gray-2 "#716e61")
(lotus-gray-3 "#8a8980")
(lotus-white-0 "#d5cea3")
(lotus-white-1 "#dcd5ac")
(lotus-white-2 "#e5ddb0")
(lotus-white-3 "#f2ecbc")
(lotus-white-4 "#e7dba0")
(lotus-white-5 "#e4d794")
(lotus-violet-1 "#a09cac")
(lotus-violet-2 "#766b90")
(lotus-violet-3 "#c9cbd1")
(lotus-violet-4 "#624c83")
(lotus-blue-1 "#c7d7e0")
(lotus-blue-2 "#b5cbd2")
(lotus-blue-3 "#9fb5c9")
(lotus-blue-4 "#4d699b")
(lotus-blue-5 "#5d57a3")
(lotus-green "#6f894e")
(lotus-green-2 "#6e915f")
(lotus-green-3 "#b7d0ae")
(lotus-pink "#b35b79")
(lotus-orange "#cc6d00")
(lotus-orange2 "#e98a00")
(lotus-yellow "#77713f")
(lotus-yellow-2 "#836f4a")
(lotus-yellow-3 "#de9800")
(lotus-yellow-4 "#f9d791")
(lotus-red "#c84053")
(lotus-red-2 "#d7474b")
(lotus-red-3 "#e82424")
(lotus-red-4 "#d9a594")
(lotus-aqua "#597b75")
(lotus-aqua-2 "#5e857a")
(lotus-teal-1 "#4e8ca2")
(lotus-teal-2 "#6693bf")
(lotus-teal-3 "#5a7785")
(lotus-cyan "#d7e3d8"))
"The kanagawa color palette list."))
(eval-and-compile
(defun kanagawa-themes--variant-colors-symbol (variant)
"Create symbol for color palette of kanagawa-themes VARIANT."
(intern (format "kanagawa-themes-%s-colors" (symbol-name variant)))))
(defmacro kanagawa-themes--define-variant-colors (variant &rest body)
"Define color palette for a specific theme VARIANT via BODY."
`(defvar ,(kanagawa-themes--variant-colors-symbol variant)
(let ,kanagawa-themes-color-palette-list ,@body)))
(kanagawa-themes--define-variant-colors
wave
`((fg ,fuji-white)
(fg-dim ,old-white)
(fg-reverse ,wave-blue-1)
(bg-dim ,sumi-ink-1)
(bg-gutter ,sumi-ink-4)
(bg-m3 ,sumi-ink-0)
(bg-m2 ,sumi-ink-1)
(bg-m1 ,sumi-ink-2)
(bg ,sumi-ink-3)
(bg-p1 ,sumi-ink-4)
(bg-p2 ,sumi-ink-5)
(special ,spring-violet-1)
(nontext ,sumi-ink-6)
(whitespace ,sumi-ink-6)
(bg-visual ,wave-blue-1)
(bg-search ,wave-blue-2)
(pmenu-fg ,fuji-white)
(pmenu-fg-sel nil)
(pmenu-bg ,wave-blue-1)
(pmenu-bg-sel ,wave-blue-2)
(pmenu-bg-sbar ,wave-blue-1)
(pmenu-bg-thumb ,wave-blue-2)
(float-fg ,old-white)
(float-bg ,sumi-ink-0)
(float-fg-border ,sumi-ink-6)
(float-bg-border ,sumi-ink-0)
(syn-string ,spring-green)
(syn-variable nil)
(syn-number ,sakura-pink)
(syn-constant ,surimi-orange)
(syn-identifier ,carp-yellow)
(syn-parameter ,oni-violet-2)
(syn-fun ,crystal-blue)
(syn-statement ,oni-violet)
(syn-keyword ,oni-violet)
(syn-operator ,boat-yellow-2)
(syn-perproc ,wave-red)
(syn-type ,wave-aqua-2)
(syn-regex ,boat-yellow-2)
(syn-deprecated ,katana-gray)
(syn-comment ,fuji-gray)
(syn-punct ,spring-violet-2)
(syn-special-1 ,spring-blue)
(syn-special-2 ,wave-red)
(syn-special-3 ,peach-red)
(vcs-added ,autumn-green)
(vcs-removed ,autumn-red)
(vcs-changed ,autumn-yellow)
(diff-add ,winter-green)
(diff-delete ,winter-red)
(diff-change ,winter-blue)
(diff-text ,winter-yellow)
(diag-ok ,spring-green)
(diag-error ,samurai-red)
(diag-warning ,ronin-yellow)
(diag-info ,dragon-blue)
(diag-hint ,wave-aqua-1)
(black ,sumi-ink-0)
(red ,autumn-red)
(green ,autumn-green)
(yellow ,boat-yellow-2)
(blue ,crystal-blue)
(magenta ,oni-violet)
(cyan ,wave-aqua-1)
(white ,old-white)
(bright-black ,fuji-gray)
(bright-red ,samurai-red)
(bright-green ,spring-green)
(bright-yellow ,carp-yellow)
(bright-blue ,spring-blue)
(bright-magenta ,spring-violet-1)
(bright-cyan ,wave-aqua-2)
(bright-white ,fuji-white)
(extend-color-1 ,surimi-orange)
(extend-color-2 ,peach-red)))
(kanagawa-themes--define-variant-colors
dragon
`((fg ,dragon-white)
(fg-dim ,old-white)
(fg-reverse ,wave-blue-1)
(bg-dim ,dragon-black-1)
(bg-gutter ,dragon-black-4)
(bg-m3 ,dragon-black-0)
(bg-m2 ,dragon-black-1)
(bg-m1 ,dragon-black-2)
(bg ,dragon-black-3)
(bg-p1 ,dragon-black-4)
(bg-p2 ,dragon-black-5)
(special ,dragon-gray-3)
(nontext ,dragon-black-6)
(whitespace ,dragon-black-6)
(bg-visual ,wave-blue-1)
(bg-search ,wave-blue-2)
(pmenu-fg ,fuji-white)
(pmenu-fg-sel nil)
(pmenu-bg ,wave-blue-1)
(pmenu-bg-sel ,wave-blue-2)
(pmenu-bg-sbar ,wave-blue-1)
(pmenu-bg-thumb ,wave-blue-2)
(float-fg ,old-white)
(float-bg ,dragon-black-0)
(float-fg-border ,sumi-ink-6)
(float-bg-border ,dragon-black-0)
(syn-string ,dragon-green-2)
(syn-variable nil)
(syn-number ,dragon-pink)
(syn-constant ,dragon-orange)
(syn-identifier ,carp-yellow)
(syn-parameter ,dragon-gray)
(syn-fun ,dragon-blue-2)
(syn-statement ,dragon-violet)
(syn-keyword ,dragon-violet)
(syn-operator ,dragon-red)
(syn-perproc ,dragon-red)
(syn-type ,dragon-aqua)
(syn-regex ,dragon-red)
(syn-deprecated ,katana-gray)
(syn-comment ,dragon-ash)
(syn-punct ,dragon-green-2)
(syn-special-1 ,dragon-teal)
(syn-special-2 ,dragon-red)
(syn-special-3 ,dragon-red)
(vcs-added ,autumn-green)
(vcs-removed ,autumn-red)
(vcs-changed ,autumn-yellow)
(diff-add ,winter-green)
(diff-delete ,winter-red)
(diff-change ,winter-blue)
(diff-text ,winter-yellow)
(diag-ok ,spring-green)
(diag-error ,samurai-red)
(diag-warning ,ronin-yellow)
(diag-info ,dragon-blue)
(diag-hint ,wave-aqua-1)
(black ,dragon-black-0)
(red ,dragon-red)
(green ,dragon-green-2)
(yellow ,dragon-yellow)
(blue ,dragon-blue-2)
(magenta ,dragon-pink)
(cyan ,dragon-aqua)
(white ,old-white)
(bright-black ,dragon-gray)
(bright-red ,wave-red)
(bright-green ,dragon-green)
(bright-yellow ,carp-yellow)
(bright-blue ,spring-blue)
(bright-magenta ,spring-violet-1)
(bright-cyan ,wave-aqua-2)
(bright-white ,dragon-white)
(extend-color-1 ,dragon-orange)
(extend-color-2 ,dragon-orange-2)))
(kanagawa-themes--define-variant-colors
lotus
`((fg ,lotus-ink-1)
(fg-dim ,lotus-ink-2)
(fg-reverse ,lotus-gray)
(bg-dim ,lotus-white-1)
(bg-gutter ,lotus-white-4)
(bg-m3 ,lotus-white-0)
(bg-m2 ,lotus-white-1)
(bg-m1 ,lotus-white-2)
(bg ,lotus-white-3)
(bg-p1 ,lotus-white-4)
(bg-p2 ,lotus-white-5)
(special ,lotus-violet-2)
(nontext ,lotus-violet-1)
(whitespace ,lotus-violet-1)
(bg-visual ,lotus-violet-3)
(bg-search ,lotus-blue-2)
(pmenu-fg ,lotus-ink-2)
(pmenu-fg-sel nil)
(pmenu-bg ,lotus-blue-1)
(pmenu-bg-sel ,lotus-blue-3)
(pmenu-bg-sbar ,lotus-blue-1)
(pmenu-bg-thumb ,lotus-blue-2)
(float-fg ,lotus-ink-2)
(float-bg ,lotus-white-0)
(float-fg-border ,lotus-gray-2)
(float-bg-border ,lotus-white-0)
(syn-string ,lotus-green)
(syn-variable nil)
(syn-number ,lotus-pink)
(syn-constant ,lotus-orange)
(syn-identifier ,lotus-yellow)
(syn-parameter ,lotus-blue-5)
(syn-fun ,lotus-blue-4)
(syn-statement ,lotus-violet-4)
(syn-keyword ,lotus-violet-4)
(syn-operator ,lotus-yellow-2)
(syn-perproc ,lotus-red)
(syn-type ,lotus-aqua)
(syn-regex ,lotus-yellow-2)
(syn-deprecated ,lotus-gray-3)
(syn-comment ,lotus-gray-3)
(syn-punct ,lotus-teal-1)
(syn-special-1 ,lotus-teal-2)
(syn-special-2 ,lotus-red)
(syn-special-3 ,peach-red)
(vcs-added ,lotus-green-2)
(vcs-removed ,lotus-red-2)
(vcs-changed ,lotus-yellow-3)
(diff-add ,lotus-green-3)
(diff-delete ,lotus-red-4)
(diff-change ,lotus-cyan)
(diff-text ,lotus-yellow-4)
(diag-ok ,lotus-green)
(diag-error ,lotus-red-3)
(diag-warning ,lotus-orange2)
(diag-info ,lotus-teal-3)
(diag-hint ,lotus-aqua-2)
(black ,sumi-ink-3)
(red ,lotus-red)
(green ,lotus-green)
(yellow ,lotus-yellow)
(blue ,lotus-blue-4)
(magenta ,lotus-pink)
(cyan ,lotus-aqua)
(white ,lotus-ink-1)
(bright-black ,lotus-gray-3)
(bright-red ,lotus-red-2)
(bright-green ,lotus-green-2)
(bright-yellow ,lotus-yellow-2)
(bright-blue ,lotus-teal-2)
(bright-magenta ,lotus-violet-4)
(bright-cyan ,lotus-aqua-2)
(bright-white ,lotus-ink-2)
(extend-color-1 ,lotus-orange2)
(extend-color-2 ,lotus-red-3)))
(defmacro kanagawa-themes--face-specs ()
"Return a backquote which defines a list of face specs.
It expects to be evaluated in a scope in which the various color
names to which it refers are bound."
`(mapcar
#'(lambda (f) (list (car f) `((t ,@(cdr f)))))
`(
;;;;;; Built-in packages
;;;;;;; Basic coloring
(button (:underline t))
(link :foreground ,bright-blue :underline t :weight bold)
(link-visited :foreground ,blue :underline t :weight normal)
(default (:foreground ,fg :background ,bg))
(cursor (:foreground ,bg :background ,fg))
(widget-field (:foreground ,fg :background ,bg-p1))
(escape-glyph (:foreground ,special :weight bold))
(fringe (:foreground ,fg :background ,bg))
(header-line (:foreground ,fg :background ,bg-p1 :extend t))
(highlight (:foreground ,fg :background ,bg-dim :weight bold))
(success (:foreground ,diag-ok :weight bold))
(warning (:foreground ,diag-warning :weight bold))
(tooltip (:foreground ,pmenu-fg :background ,pmenu-bg))
(menu (:foreground ,fg :background ,bg))
(region (:background ,bg-visual))
(separator-line (:background ,bg-m3))
(shadow (:inherit separator-line))
(window-border (:background ,bg))
(window-divider (:foreground ,bg-m1))
(vertical-border (:foreground ,bg-m1))
;;;;;;; dired
(dired-mark (:foreground ,syn-perproc))
;;;;;;; font lock
(font-lock-builtin-face (:foreground ,fg))
(font-lock-comment-face (:foreground ,syn-comment
:slant ,(if kanagawa-themes-comment-italic 'italic 'normal)))
(font-lock-comment-delimiter-face (:foreground ,syn-comment))
(font-lock-constant-face (:foreground ,syn-constant))
(font-lock-doc-face (:foreground ,syn-string))
(font-lock-function-name-face (:foreground ,syn-fun))
(font-lock-keyword-face (:foreground ,syn-keyword :weight bold
:slant ,(if kanagawa-themes-keyword-italic 'italic 'normal)))
(font-lock-negation-char-face (:inherit font-lock-keyword-face))
(font-lock-preprocessor-face (:foreground ,syn-perproc))
(font-lock-regexp-grouping-construct (:foreground ,syn-regex :weight bold))
(font-lock-regexp-grouping-backslash (:foreground ,syn-regex :weight bold))
(font-lock-string-face (:foreground ,syn-string))
(font-lock-type-face (:foreground ,syn-type))
(font-lock-variable-name-face (:foreground ,syn-identifier))
(font-lock-warning-face (:foreground ,diag-warning))
(c-annotation-face (:inherit font-lock-constant-face))
;;;;;;; line numbers
(line-number (:foreground ,nontext :background ,bg-gutter))
(line-number-current-line (:inherit line-number))
;;;;;;; ansi-colors
(ansi-color-black (:foreground ,black))
(ansi-color-red (:foreground ,red))
(ansi-color-green (:foreground ,green))
(ansi-color-yellow (:foreground ,yellow))
(ansi-color-blue (:foreground ,blue))
(ansi-color-magenta (:foreground ,magenta))
(ansi-color-cyan (:foreground ,cyan))
(ansi-color-white (:foreground ,white))
(ansi-color-bright-black (:foreground ,bright-black))
(ansi-color-bright-red (:foreground ,bright-red))
(ansi-color-bright-green (:foreground ,bright-green))
(ansi-color-bright-yellow (:foreground ,bright-yellow))
(ansi-color-bright-blue (:foreground ,bright-blue))
(ansi-color-bright-magenta (:foreground ,bright-magenta))
(ansi-color-bright-cyan (:foreground ,bright-cyan))
(ansi-color-bright-white (:foreground ,bright-white))
;;;;;;; isearch
(isearch (:foreground ,fg-reverse :background ,diag-warning))
(isearch-fail (:foreground ,fg :background ,diag-error))
(lazy-highlight (:foreground ,fg :background ,bg-search))
(minibuffer-prompt (:foreground ,fg :weight bold))
;;;;;;; mode-line
(mode-line (:foreground ,fg-dim :background ,bg-m3))
(mode-line-inactive (:foreground ,nontext :background ,bg-m3))
;;;;;;; hl-line-mode
(hl-line (:background ,bg-p2))
;;;;;;; message
(message-header-name (:foreground ,bg-p1))
(message-header-other (:foreground ,extend-color-1))
(message-header-subject (:foreground ,bright-yellow))
(message-header-to (:foreground ,white))
(message-header-cc (:foreground ,bright-cyan))
(message-header-xheader (:foreground ,white))
;;;;;;; erc
(erc-action-face (:inherit erc-default-face))
(erc-bold-face (:weight bold))
(erc-current-nick-face (:foreground ,syn-constant :weight bold))
(erc-direct-msg-face (:inherit erc-default-face))
(erc-error-face (:foreground ,diag-warning))
(erc-fool-face (:inherit erc-default-face))
(erc-input-face (:foreground ,fg))
(erc-keyword-face (:inherit font-lock-keyword-face))
(erc-nick-default-face (:foreground ,bright-blue :weight bold))
(erc-my-nick-face (:foreground ,red))
(erc-notice-face (:foreground ,syn-string))
(erc-prompt-face (:inherit minibuffer-prompt))
(erc-timestamp-face (:inherit font-lock-keyword-face))
(erc-underline-face (:underline t))
;;;;;;; term
(term (:foreground ,fg :background ,bg))
(term-color-black (:foreground ,black :background ,black))
(term-color-red (:foreground ,red :background ,red))
(term-color-green (:foreground ,green :background ,green))
(term-color-yellow (:foreground ,yellow :background ,yellow))
(term-color-blue (:foreground ,blue :background ,blue))
(term-color-magenta (:foreground ,magenta :background ,magenta))
(term-color-cyan (:foreground ,cyan :background ,cyan))
(term-color-white (:foreground ,white :background ,white))
;;;;;;; org-mode
(org-done (:foreground ,diag-info))
(org-code (:background ,bg-m3))
(org-meta-line (:foreground ,diag-ok :background ,diff-add))
(org-block (:foreground ,fg :background ,bg))
(org-block-begin-line (:foreground ,bright-blue :background ,diff-change))
(org-block-end-line (:foreground ,extend-color-2 :background ,diff-delete))
(org-headline-done (:foreground ,diag-info :strike-through t))
(org-todo (:foreground ,extend-color-1 :weight bold))
(org-headline-todo (:foreground ,bg-m1))
(org-upcoming-deadline (:foreground ,extend-color-1))
(org-footnote (:foreground ,bright-cyan))
(org-indent (:foreground ,bg :background ,bg))
(org-hide (:inherit org-indent))
(org-date (:foreground ,bg-search))
(org-ellipsis (:foreground ,bg-search :weight bold))
(org-level-1 (:foreground ,extend-color-1
:height ,(if kanagawa-themes-org-height 1.3 1.0)
:weight ,(if kanagawa-themes-org-bold 'bold 'normal)))
(org-level-2 (:foreground ,syn-punct
:height ,(if kanagawa-themes-org-height 1.2 1.0)
:weight ,(if kanagawa-themes-org-bold 'bold 'normal)))
(org-level-3 (:foreground ,yellow :height ,(if kanagawa-themes-org-height 1.1 1.0)))
(org-level-4 (:foreground ,fg))
(org-level-5 (:foreground ,fg))
(org-level-6 (:foreground ,bright-yellow))
(org-level-7 (:foreground ,extend-color-1))
(org-level-8 (:foreground ,bright-green))
(org-priority (:foreground ,extend-color-2
:weight ,(if kanagawa-themes-org-priority-bold 'bold 'normal)))
;;;;;; show-paren
(show-paren-match (:foreground ,diag-warning :weight bold))
(show-paren-match-expression (:inherit show-paren-match))
(show-paren-mismatch (:foreground ,bright-black :weight bold))
;;;;;; tab-line
(tab-line (:background ,bg-m3))
;;;;;; comint
(comint-highlight-prompt (:background ,syn-punct :foreground ,bg-dim))
;;;;;; completions
(completions-annotations (:background unspecified :foreground ,diag-info :slant italic))
;;;;;; Third-party packages
;;;;;;; highlight-indent-guides
(highlight-indent-guides-character-face (:foreground ,bg))
(highlight-indent-guides-stack-character-face (:foreground ,bg))
(highlight-indent-guides-stack-odd-face (:foreground ,bg))
(highlight-indent-guides-stack-even-face (:foreground ,nontext))
(highlight-indent-guides-stack-character-face (:foreground ,bg))
(highlight-indent-guides-even-face (:foreground ,bg-m3))
(highlight-indent-guides-odd-face (:foreground ,nontext))
;;;;;; ivy
(ivy-current-match (:foreground ,bg-m3 :background ,blue :weight bold))
(ivy-action (:foreground ,fg))
(ivy-grep-line-number (:foreground ,bright-green))
(ivy-minibuffer-match-face-1 (:foreground ,syn-perproc))
(ivy-minibuffer-match-face-2 (:inherit ivy-grep-line-number))
(ivy-minibuffer-match-highlight (:foreground ,blue))
(ivy-grep-info (:foreground ,blue))
(ivy-grep-line-number (:foreground ,syn-punct))
(ivy-confirm-face (:foreground ,bright-cyan))
;;;;;;; ivy-posframe
(ivy-posframe (:background ,bg-m1))
(ivy-posframe-border (:background ,bg))
;;;;;;; helm
(helm-bookmark-directory (:inherit helm-ff-directory))
(helm-bookmark-file (:foreground ,magenta))
(helm-bookmark-gnus (:foreground ,magenta))
(helm-bookmark-info (:foreground ,magenta))
(helm-bookmark-man (:foreground ,magenta))
(helm-bookmark-w3m (:foreground ,magenta))
(helm-buffer-directory (:foreground ,fg :background ,bg))
(helm-buffer-file (:foreground ,fg :background ,bg))
(helm-buffer-not-saved (:foreground ,magenta :background ,bg))
(helm-buffer-process (:foreground ,syn-keyword :background ,bg))
(helm-buffer-saved-out (:foreground ,fg :background ,bg))
(helm-buffer-size (:foreground ,fg :background ,bg))
(helm-candidate-number (:background ,bg :foreground ,syn-keyword :inherit bold))
(helm-ff-directory (:foreground ,syn-keyword :background ,bg :inherit bold))
(helm-ff-dotted-directory (:foreground ,syn-keyword :background ,bg :inherit bold))
(helm-ff-dotted-symlink-directory (:foreground ,cyan :background ,bg :inherit bold))
(helm-ff-executable (:foreground ,diag-ok :background ,bg :weight normal))
(helm-ff-file (:foreground ,fg :background ,bg :weight normal))
(helm-ff-invalid-symlink (:foreground ,red :background ,bg :inherit bold))
(helm-ff-prefix (:foreground ,bg :background ,syn-keyword :weight normal))
(helm-ff-symlink (:foreground ,cyan :background ,bg :inherit bold))
(helm-grep-cmd-line (:foreground ,fg :background ,bg))
(helm-grep-file (:foreground ,fg :background ,bg))
(helm-grep-finish (:foreground ,fg :background ,bg))
(helm-grep-lineno (:foreground ,syn-type :background ,bg :inherit bold))
(helm-grep-match (:foreground unspecified :background unspecified :inherit helm-match))
(helm-header (:foreground ,fg :background ,bg :underline nil :box nil))
(helm-match (:foreground ,green))
(helm-match-item (:foreground ,green))
(helm-moccur-buffer (:foreground ,syn-variable :background ,bg))
(helm-selection (:background ,bg-visual))
(helm-selection-line (:background ,bg-m1))
(helm-separator (:foreground ,magenta :background ,bg))
(helm-source-header (:background ,magenta :foreground ,bg :inherit bold))
(helm-time-zone-current (:foreground ,syn-keyword :background ,bg))
(helm-time-zone-home (:foreground ,magenta :background ,bg))
(helm-visible-mark (:foreground ,syn-keyword :background ,bg-m3))
;;;;;;; helm-swoop
(helm-swoop-target-line-block-face (:foreground ,fg :background ,bg-dim))
(helm-swoop-target-line-face (:background ,bg-dim))
(helm-swoop-target-word-face (:background ,bg-dim :foreground ,diag-warning))
;;;;;;; treemacs
(treemacs-directory-collapsed-face (:foreground ,fg))
(treemacs-directory-face (:inherit treemacs-directory-collapsed-face))
(treemacs-file-face (:inherit treemacs-directory-face))
(treemacs-git-added-face (:foreground ,extend-color-1))
(treemacs-git-renamed-face (:inherit treemacs-file-face))
(treemacs-git-ignored-face (:foreground ,bg-p1))
(treemacs-git-unmodified-face (:inhert treemacs-git-renamed-face))
(treemacs-git-renamed-face (:inhert treemacs-git-unmodified-face))
(treemacs-git-modified-face (:foreground ,bright-green))
;;;;;;; lsp-mode
(lsp-headerline-breadcrumb-path-error-face (:underline (:color ,bright-green :style wave)
:foreground ,bg-p1 :background ,bg-m3))
(lsp-headerline-breadcrumb-path-face (:background ,bg-m3))
(lsp-headerline-breadcrumb-path-hint-face (:foreground ,diag-hint))
(lsp-headerline-breadcrumb-path-info-face (:foreground ,diag-info))
(lsp-headerline-breadcrumb-separator-face (:inherit lsp-headerline-breadcrumb-path-face))
(lsp-headerline-breadcrumb-symbols-face (:inherit lsp-headerline-breadcrumb-path-face))
(lsp-headerline-breadcrumb-project-prefix-face (:inherit lsp-headerline-breadcrumb-path-face))
(lsp-headerline-breadcrumb-symbols-error-face (:foreground ,extend-color-2))
;;;;;;; lsp-ui
(lsp-ui-doc-background (:foreground ,extend-color-2 :background ,bg-m3))
(lsp-ui-doc-header (:inherit lsp-ui-doc-background))
(lsp-ui-doc-border (:background unspecified :foreground unspecified))
(lsp-ui-peek-filename (:foreground ,blue))
(lsp-ui-sideline-code-action (:foreground ,bright-yellow))
(lsp-ui-sideline-current-symbol (:foreground ,bright-blue))
(lsp-ui-sideline-symbol (:foreground ,diag-info))
;;;;;;; rainbow-delimiters
(rainbow-delimiters-mismatched-face (:foreground ,extend-color-2))
(rainbow-delimiters-unmatched-face (:foreground ,bright-cyan))
(rainbow-delimiters-base-error-face (:foreground ,extend-color-2))
(rainbow-delimiters-base-face (:foreground ,bg-p1))
(rainbow-delimiters-depth-1-face (:foreground ,syn-punct))
(rainbow-delimiters-depth-2-face (:foreground ,diag-info))
(rainbow-delimiters-depth-3-face (:foreground ,bright-magenta))
(rainbow-delimiters-depth-4-face (:foreground ,bright-green))
(rainbow-delimiters-depth-5-face (:foreground ,bright-cyan))
(rainbow-delimiters-depth-6-face (:foreground ,bright-yellow))
(rainbow-delimiters-depth-7-face (:foreground ,extend-color-2))
(rainbow-delimiters-depth-8-face (:foreground ,blue))
(rainbow-delimiters-depth-9-face (:foreground ,syn-punct))
;;;;;;; swiper
(swiper-line-face (:foreground ,bright-yellow))
(swiper-background-match-face-1 (:foreground ,bg-m3 :background ,syn-constant))
(swiper-background-match-face-2 (:foreground ,bg-m3 :background ,blue))
(swiper-background-match-face-3 (:foreground ,bg-m3 :background ,yellow))
(swiper-background-match-face-4 (:foreground ,bg-m3 :background ,extend-color-2))
(swiper-match-face-1 (:inherit swiper-background-match-face-1))
(swiper-match-face-2 (:inherit swiper-background-match-face-2))
(swiper-match-face-3 (:inherit swiper-background-match-face-3))
(swiper-match-face-4 (:inherit swiper-background-match-face-4))
;;;;;;; which-key
(which-key-key-face (:inherit font-lock-variable-name-face))
(which-func (:inherit font-lock-function-name-face :weight bold))
(which-key-group-description-face (:foreground ,syn-perproc))
(which-key-command-description-face (:foreground ,blue))
(which-key-local-map-description-face (:foreground ,bright-yellow))
(which-key-posframe (:background ,pmenu-bg))
(which-key-posframe-border (:inherit which-key-posframe))
;;;;;;; tree-sitter-hl-mode
(tree-sitter-hl-face:variable (:foreground ,fg))
(tree-sitter-hl-face:variable.builtin (:foreground ,syn-special-2 :slant italic))
(tree-sitter-hl-face:variable.parameter (:foreground ,syn-parameter))
(tree-sitter-hl-face:variable.special (:foreground ,syn-special-3))
(tree-sitter-hl-face:string (:foreground ,syn-string))
(tree-sitter-hl-face:number (:foreground ,syn-number))
(tree-sitter-hl-face:string.special (:foreground ,syn-regex))
(tree-sitter-hl-face:attribute (:foreground ,syn-constant))
(tree-sitter-hl-face:constructor (:foreground ,syn-special-1))
(tree-sitter-hl-face:operator (:foreground ,syn-operator))
(tree-sitter-hl-face:keyword (:foreground ,syn-keyword
:slant ,(if kanagawa-themes-keyword-italic 'italic 'normal)))
(tree-sitter-hl-face:punctuation (:foreground ,syn-punct))
(tree-sitter-hl-face:punctuation.delimiter (:inherit tree-sitter-hl-face:punctuation))
(tree-sitter-hl-face:punctuation.bracket (:inhert tree-sitter-hl-face:punctuation))
(tree-sitter-hl-face:punctuation.special (:foreground ,syn-special-1))
(tree-sitter-hl-face:comment (:inherit font-lock-comment-face))
(tree-sitter-hl-face:tag (:inhert tree-sitter-hl-face:attribute))
(tree-sitter-hl-face:label (:foreground ,syn-punct))
;;;;;;; elfeed
(elfeed-search-feed-face (:foreground ,bright-magenta))
(elfeed-search-tag-face (:foreground ,bright-cyan))
;;;;;;; doom-modeline battery colors
(doom-modeline-battery-critical (:foreground ,extend-color-2))
(doom-modeline-battery-warning (:foreground ,bright-green))
(doom-modeline-battery-charging (:foreground ,bright-black))
(doom-modeline-battery-error (:foreground ,extend-color-2))
(doom-modeline-battery-normal (:foreground ,bright-magenta))
(doom-modeline-battery-full (:foreground ,bright-cyan))
;;;;;;; doom-modeline evil state
(doom-modeline-evil-motion-state (:foreground ,blue))
(doom-modeline-evil-emacs-state (:foreground ,bright-blue))
(doom-modeline-evil-insert-state (:foreground ,syn-special-3))
(doom-modeline-evil-normal-state (:foreground ,blue))
(doom-modeline-evil-visual-state (:foreground ,bright-green))
(doom-modeline-evil-replace-state (:foreground ,diag-warning))
(doom-modeline-evil-operator-state (:foreground ,syn-fun))
;;;;;;; doom-modeline
(doom-modeline-project-dir (:foreground ,bright-cyan :weight bold))
(doom-modeline-buffer-path (:inherit doom-modeline-project-dir))
(doom-modeline-buffer-file (:foreground ,magenta))
(doom-modeline-buffer-modified (:foreground ,bright-yellow))
(doom-modeline-error (:background ,extend-color-2))
(doom-modeline-buffer-major-mode (:inherit doom-modeline-buffer-path))
(doom-modeline-info (:foreground ,blue))
(doom-modeline-bar (:background ,bright-magenta :weight bold))
(doom-modeline-panel (:foreground ,bg-m1 :background ,syn-operator))
(doom-themes-visual-bell (:background ,vcs-removed))
;;;;;;; anzu
(anzu-match-1 (:foreground ,bright-cyan :background ,bg-m1))
(anzu-match-2 (:foreground ,bright-yellow :background ,bg-m1))
(anzu-match-3 (:foreground ,blue :background ,bg-m1))
(anzu-mode-line (:foreground ,bg-m3 :background ,syn-punct))
(anzu-mode-no-match (:foreground ,fg :background ,extend-color-2))
(anzu-replace-to (:foreground ,bright-blue :background ,diff-change))
(anzu-replace-highlight (:foreground ,extend-color-2 :background ,diff-delete :strike-through t))
;;;;;;; company
(company-tooltip (:background ,bg-m1))
(company-tooltip-common (:foreground ,vcs-changed))
(company-tooltip-quick-access (:foreground ,syn-punct))
(company-tooltip-scrollbar-thumb (:background ,vcs-removed))
(company-tooltip-scrollbar-track (:inherit company-tooltip))
(company-tooltip-search (:foreground ,bg-m3 :background ,bright-yellow :distant-foreground ,fg))
(company-tooltip-selection (:foreground ,diff-delete :background ,extend-color-2 :weight bold))
(company-tooltip-mouse (:foreground ,bg-m3 :background ,bg-m3 :distant-foreground ,fg))
(company-tooltip-annotation (:foreground ,extend-color-2 :distant-foreground ,bg-dim))
(company-scrollbar-bg (:inherit tooltip))
(company-scrollbar-fg (:background ,extend-color-2))
(company-preview (:foreground ,bright-yellow))
(company-preview-common (:foreground ,extend-color-2 :weight bold))
(company-preview-search (:inherit company-tooltip-search))
(company-template-field (:inherit match))
;;;;;;; ace
(ace-jump-face-background (:foreground ,bright-blue))
(ace-jump-face-foreground (:foreground ,extend-color-2 :background ,bg-m3 :weight bold))
;;;;;;; vertico
(vertico-multiline (:background ,diag-error))
(vertico-group-title ( :foreground ,blue :background ,diff-change :weight bold))
(vertico-group-separator (:inherit vertico-group-title :strike-through t))
(vertico-current (:foreground ,bright-yellow :background ,fg-reverse :weight bold :slant italic))
;;;;;;; vertico-posframe
(vertico-posframe-border (:background ,bg))
(vertico-posframe (:background ,bg-m1))
;;;;;;; marginalia
(marginalia-file-priv-no (:background unspecified))
;;;;;;; hydra
(hydra-face-amaranth (:foreground ,vcs-removed))
(hydra-face-blue (:foreground ,bright-blue))
(hydra-face-pink (:foreground ,syn-number))
(hydra-face-red (:foreground ,extend-color-2))
(hydra-face-teal (:foreground ,blue))
;;;;;;; centaur-tabs
(centaur-tabs-active-bar-face (:foreground ,fg :background ,bright-blue))
(centaur-tabs-selected (:foreground ,fg :background ,bg :weight bold))
(centaur-tabs-selected-modified (:foreground ,fg :background ,bg))
(centaur-tabs-modified-marker-selected (:foreground ,vcs-changed :background ,bg))
(centaur-tabs-close-selected (:inherit centaur-tabs-selected))
(centaur-tabs-unselected (:foreground ,bg-p1 :background ,bg-m3))
(centaur-tabs-default (:inherit centaur-tabs-unselected))
(centaur-tabs-unselected-modified (:foreground ,extend-color-2 :background ,bg-m3))
(centaur-tabs-modified-marker-unselected (:inherit centaur-tabs-unselected))
(centaur-tabs-close-unselected (:inherit centaur-tabs-unselected))
(centaur-tabs-close-mouse-face (:foreground ,extend-color-2 :background unspecified))
(centaur-tabs-default (:background ,diag-warning))
(centaur-tabs-name-mouse-face (:foreground ,bright-blue :weight bold))
;;;;;;; git-gutter
(git-gutter:added (:foreground ,vcs-added))
(git-gutter:deleted (:foreground ,syn-special-1))
(git-gutter:modified (:foreground ,bright-blue))
;;;;;;; diff-hl
(diff-hl-margin-change (:foreground ,bright-blue :background ,diff-change))
(diff-hl-margin-delete (:foreground ,extend-color-2 :background ,diff-delete))
(diff-hl-margin-insert (:foreground ,nontext :background ,diff-change))
;;;;;; flycheck
(flycheck-posframe-background-face (:background ,bg-m3))
(flycheck-posframe-face (:inherit flycheck-posframe-background-face))
(flycheck-posframe-info-face (:foreground ,vcs-added :background ,bg-m3))
(flycheck-posframe-warning-face (:foreground ,blue :background ,bg-m3))
(flycheck-posframe-error-face (:foreground ,diag-error :background ,bg-m3))
(flycheck-fringe-warning (:foreground ,blue))
(flycheck-fringe-error (:foreground ,diag-error))
(flycheck-fringe-info (:foreground ,vcs-added))
(flycheck-error-list-warning (:foreground ,diag-warning :weight bold))
(flycheck-error-list-error (:foreground ,diag-error :weight bold))
(flycheck-error-list-info (:foreground ,diag-hint :weight bold))
(flycheck-inline-error (:foreground ,diag-error
:background ,diff-delete :slant italic :weight bold :height 138))
(flycheck-inline-info (:foreground ,blue :background ,diff-change :slant italic :weight bold :height 138))
(flycheck-inline-warning (:foreground ,diff-text
:background ,bright-yellow :slant italic :weight bold :height 138))
;;;;;;; emacs-dashboard
(dashboard-heading (:foreground ,syn-punct :weight bold))
(dashboard-items-face (:foreground ,fg))
(dashboard-banner-logo-title (:weight bold :height 200))
(dashboard-no-items-face (:foreground ,bg-p1))
;;;;;;; popup
(popup-face (:inherit tooltip))
(popup-selection-face (:inherit tooltip))
(popup-tip-face (:inherit tooltip))
;;;;;;; orderless
(orderless-match-face-0 (:foreground ,green))
(orderless-match-face-1 (:foreground ,magenta))
(orderless-match-face-2 (:foreground ,blue))
(orderless-match-face-3 (:foreground ,cyan))
;;;;;;; magit
(magit-blame-culprit (:background ,vcs-changed :foreground ,yellow))
(magit-blame-date (:background ,vcs-changed :foreground ,green))
(magit-blame-hash (:background ,vcs-changed :foreground ,syn-fun))
(magit-blame-header (:background ,vcs-changed :foreground ,green))
(magit-blame-heading (:background ,vcs-changed :foreground ,green))
(magit-blame-name (:background ,vcs-changed :foreground ,yellow))
(magit-blame-sha1 (:background ,vcs-changed :foreground ,syn-fun))
(magit-blame-subject (:background ,vcs-changed :foreground ,yellow))
(magit-blame-summary (:background ,vcs-changed :foreground ,yellow :extend t))
(magit-blame-time (:background ,vcs-changed :foreground ,green))
(magit-branch (:foreground ,syn-constant :inherit bold))
(magit-branch-current (:background ,bg-p1 :foreground ,blue :inherit bold :box t))
(magit-branch-local (:background ,bg-p1 :foreground ,blue :inherit bold))
(magit-branch-remote (:background ,bg-p2 :foreground ,blue :inherit bold))
(magit-diff-context-highlight (:background ,bg-m1 :foreground ,fg :extend t))
(magit-diff-hunk-heading (:background ,pmenu-bg :foreground ,pmenu-fg :extend t))
(magit-diff-hunk-heading-highlight (:background ,pmenu-bg-sel :foreground unspecified :extend t))
(magit-hash (:foreground ,syn-variable))
(magit-hunk-heading (:background ,bg-m3 :extend t))
(magit-hunk-heading-highlight (:background ,bg-p2 :extend t))
(magit-item-highlight (:background ,bg-p2 :extend t))
(magit-log-author (:foreground ,syn-fun))
(magit-log-head-label-head (:background ,yellow :foreground ,bg :inherit bold))
(magit-log-head-label-local (:background ,syn-keyword :foreground ,bg :inherit bold))
(magit-log-head-label-remote (:background ,diag-ok :foreground ,bg :inherit bold))
(magit-log-head-label-tags (:background ,magenta :foreground ,bg :inherit bold))
(magit-log-head-label-wip (:background ,cyan :foreground ,bg :inherit bold))
(magit-log-sha1 (:foreground ,syn-string))
(magit-process-ng (:foreground ,diag-warning :inherit bold))
(magit-process-ok (:foreground ,syn-fun :inherit bold))
(magit-reflog-amend (:foreground ,magenta))
(magit-reflog-checkout (:foreground ,blue))
(magit-reflog-cherry-pick (:foreground ,green))
(magit-reflog-commit (:foreground ,green))
(magit-reflog-merge (:foreground ,green))
(magit-reflog-other (:foreground ,cyan))
(magit-reflog-rebase (:foreground ,magenta))
(magit-reflog-remote (:foreground ,cyan))
(magit-reflog-reset (:foreground ,red))
(magit-section-heading (:foreground ,syn-keyword :inherit bold :extend t))
(magit-section-highlight (:background ,bg-m2 :extend t))
(magit-section-title (:background ,bg :foreground ,syn-keyword :inherit bold)))))
(defmacro kanagawa-themes--with-variant-colors (variant &rest body)
"Execute BODY with the color palette of a specified theme VARIANT."
`(let ,(append (symbol-value (kanagawa-themes--variant-colors-symbol variant))
kanagawa-themes-custom-colors)
,@body))
(defmacro kanagawa-themes--define-theme (variant)
"Define theme for the kanagawa-themes VARIANT."
(let ((name (intern (format "kanagawa-%s" (symbol-name variant))))
(doc (format "The Kanagawa %s theme" variant)))
`(progn
(deftheme ,name ,doc)
(kanagawa-themes--with-variant-colors
,variant
(apply 'custom-theme-set-faces ',name
(kanagawa-themes--face-specs))
(provide-theme ',name)))))
;;;###autoload
(when (and (boundp 'custom-theme-load-path) load-file-name)
(add-to-list 'custom-theme-load-path
(file-name-as-directory (file-name-directory load-file-name))))
(provide 'kanagawa-themes)
;; Local Variables
;; no-byte-compile: t
;; indent-tabs-mode: nil
;; End:
;;; kanagawa-themes.el ends here