-
-
Notifications
You must be signed in to change notification settings - Fork 53
/
Copy pathcatppuccin-theme.el
1572 lines (1442 loc) Β· 71.7 KB
/
catppuccin-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
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
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
;;; catppuccin-theme.el --- Catppuccin for Emacs - π Soothing pastel theme for Emacs -*- lexical-binding: t; -*-
;; Copyright 2022-present Catppuccin, All rights reserved
;;
;; Permission is hereby granted, free of charge, to any person obtaining
;; a copy of this software and associated documentation files (the
;; "Software"), to deal in the Software without restriction, including
;; without limitation the rights to use, copy, modify, merge, publish,
;; distribute, sublicense, and/or sell copies of the Software, and to
;; permit persons to whom the Software is furnished to do so, subject to
;; the following conditions:
;;
;; The above copyright notice and this permission notice shall be included
;; in all copies or substantial portions of the Software.
;;
;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
;; EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
;; MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
;; IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
;; CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
;; Maintainer: Jeremy Baxter <jeremy@baxters.nz>
;; Author: nyxkrage
;; Original-Author: film42
;; Version: 1.0.0
;; Package-Requires: ((emacs "26.1"))
;; URL: https://github.com/catppuccin/emacs
;;; Commentary:
;; π Soothing pastel theme for Emacs
;;
;; catppuccin-theme.el provides the theme `catppuccin', a port of the
;; Catppuccin colors to Emacs. To select a palette and enable the theme,
;; evaluate:
;;
;; (setq catppuccin-flavor 'frappe) ; or 'latte, 'macchiato, or 'mocha
;; (load-theme 'catppuccin t)
;;
;; For more information visit <https://catppuccin.com>.
;;; Code:
(eval-when-compile (require 'subr-x))
(deftheme catppuccin)
;;; Configuration options:
(defgroup catppuccin nil
"Catppuccin theme options.
The theme has to be reloaded after changing anything in this group."
:group 'faces)
(defcustom catppuccin-enlarge-headings t
"Use different font sizes for some headings and titles."
:type 'boolean
:group 'catppuccin)
(defcustom catppuccin-height-title-1 1.3
"Header 1 font size."
:type 'number
:group 'catppuccin)
(defcustom catppuccin-height-title-2 1.2
"Header 2 font size."
:type 'number
:group 'catppuccin)
(defcustom catppuccin-height-title-3 1.2
"Header 3 font size."
:type 'number
:group 'catppuccin)
(defcustom catppuccin-height-doc-title 1.44
"Documentation Title font size."
:type 'number
:group 'catppuccin)
(defcustom catppuccin-highlight-matches nil
"Use background color to make highlighted matches more visible."
:type 'boolean
:group 'catppuccin)
(defcustom catppuccin-italic-comments nil
"Use :slant italic for comments."
:type 'boolean
:group 'catppuccin)
(defcustom catppuccin-italic-blockquotes t
"Use :slant italic for blockquotes in markdown and org."
:type 'boolean
:group 'catppuccin)
(defcustom catppuccin-italic-variables nil
"Use :slant italic for variables."
:type 'boolean
:group 'catppuccin)
(defcustom catppuccin-flavor 'mocha
"The flavor to use for the Catppuccin theme.
Must be one of `mocha`, `macchiato`, `frappe`, or `latte`."
:type '(choice
(const :tag "Mocha" mocha)
(const :tag "Macchiato" macchiato)
(const :tag "Frappe" frappe)
(const :tag "Latte" latte))
:group 'catppuccin)
(defun define-catppuccin-flavor (flavor colors)
"Define a new Catppuccin flavor named FLAVOR.
The colors used will correspond to those in COLORS."
(custom-declare-variable (intern (concat "catppuccin-"
(symbol-name flavor) "-colors"))
`(funcall ',(lambda () colors))
(concat "Colors for Catppuccin " (capitalize (symbol-name flavor)))
:options '(rosewater flamingo pink mauve red maroon peach
yellow green teal sky sapphire blue lavender
text subtext1 subtext0 overlay2 overlay1 overlay0
surface2 surface1 surface0 base mantle crust)
:type '(alist :key-type symbol :value-type string)
:group 'catppuccin))
(defvar catppuccin-flavor-alist '()
"Alist of flavors to alist of names to hex colors.")
(when load-file-name
;; load the flavor definitions
(with-temp-buffer
(insert-file-contents (expand-file-name "catppuccin-definitions.el"
(file-name-directory load-file-name)))
(setq catppuccin-flavor-alist (read (current-buffer))))
;; define flavors
(let ((flavor #'(lambda (sym) (alist-get sym catppuccin-flavor-alist))))
(define-catppuccin-flavor 'mocha (funcall flavor 'mocha))
(define-catppuccin-flavor 'macchiato (funcall flavor 'macchiato))
(define-catppuccin-flavor 'frappe (funcall flavor 'frappe))
(define-catppuccin-flavor 'latte (funcall flavor 'latte))))
;; load-file-name is only available when the module is loaded
;; with `load', which is also used by `require'
(unless (listp catppuccin-flavor-alist)
(error "Please load with `load' or `require'"))
;;; Internal functions:
(defun catppuccin-quantize-color (color)
"Quantize COLOR to a 256 color palette."
(let ((i 1)
(str "#"))
(while (<= i 5)
(setq str
(concat str
(format
"%02x"
(* (round
(/
(string-to-number (substring color i (+ i 2)) 16)
17))
17))))
(setq i (+ i 2)))
str))
;; Color operations
(let* ((hex-to-rgb (lambda (color)
(mapcar
(lambda (i) (string-to-number (substring color i
(+ i 2)) 16))
'(1 3 5))))
(rgb-to-hex (lambda (r g b)
(format "#%02x%02x%02x" r g b)))
(rnd (lambda (n) (round (+ .5 n)))))
(defun catppuccin-lighten (color value)
"Lighten COLOR by VALUE%."
(let* ((factor (/ value 100.0)))
(apply rgb-to-hex (mapcar (lambda (v) (funcall rnd
(min 255 (+ (* (- 255 v)
factor) v))))
(funcall hex-to-rgb color)))))
(defun catppuccin-darken (color value)
"Darken COLOR by VALUE%."
(let* ((factor (/ value 100.0)))
(apply rgb-to-hex (mapcar (lambda (v) (floor (* (- 1 factor) v)))
(funcall hex-to-rgb color))))))
;;; User functions:
(defun catppuccin-reload ()
"Reload the Catppuccin theme.
Useful after setting custom colors with `catppuccin-set-color'."
(interactive)
(disable-theme 'catppuccin)
(load-theme 'catppuccin t))
(defun catppuccin-load-flavor (flavor)
"Set the Catppuccin flavor to FLAVOR.
If called interactively, a list of flavors is presented. Otherwise,
FLAVOR must be one of the symbols `frappe', `latte', `macchiato',
or `mocha'."
(interactive
(list
(intern (completing-read
"Catppuccin flavor: "
'(frappe latte macchiato mocha)
nil ; predicate
t)))) ; require-match
(setq catppuccin-flavor flavor)
(catppuccin-reload)
(message "Catppuccin flavor changed to %s" flavor))
(defun catppuccin-colors-of (&optional flavor)
"Return a symbol for the alist containing FLAVOR's colors.
FLAVOR defaults to the value of `catppuccin-flavor'."
(intern-soft (concat "catppuccin-"
(symbol-name (or flavor catppuccin-flavor)) "-colors")))
(defun catppuccin-set-color (color value &optional flavor)
"Set the COLOR of FLAVOR or the current flavor to VALUE."
(interactive "SChange color: \nsSet %s to: ")
(setcdr (assoc color
(symbol-value (catppuccin-colors-of flavor))) value))
(defun catppuccin-color (color &optional flavor)
"Get the COLOR of FLAVOR or the current flavor."
(interactive "SColor: ")
(let ((result (alist-get color
(symbol-value (catppuccin-colors-of flavor)))))
(if (called-interactively-p 'interactive)
(message result)
result)))
(defalias 'catppuccin-get-color 'catppuccin-color)
(defun catppuccin-insert-color (color &optional flavor)
"Insert COLOR at point."
(interactive "SColor: ")
(let ((color (catppuccin-color color flavor)))
(insert
(if (char-equal (char-before) ?#)
(string-remove-prefix "#" color)
color))))
;;; Theme definition:
(let
((colors
'((undef "#ff00ff" "#ff00ff")
(ctp-rosewater (catppuccin-color 'rosewater)
(catppuccin-quantize-color (catppuccin-color 'rosewater)))
(ctp-flamingo (catppuccin-color 'flamingo)
(catppuccin-quantize-color (catppuccin-color 'flamingo)))
(ctp-pink (catppuccin-color 'pink)
(catppuccin-quantize-color (catppuccin-color 'pink)))
(ctp-mauve (catppuccin-color 'mauve)
(catppuccin-quantize-color (catppuccin-color 'mauve)))
(ctp-red (catppuccin-color 'red)
(catppuccin-quantize-color (catppuccin-color 'red)))
(ctp-maroon (catppuccin-color 'maroon)
(catppuccin-quantize-color (catppuccin-color 'maroon)))
(ctp-peach (catppuccin-color 'peach)
(catppuccin-quantize-color (catppuccin-color 'peach)))
(ctp-yellow (catppuccin-color 'yellow)
(catppuccin-quantize-color (catppuccin-color 'yellow)))
(ctp-green (catppuccin-color 'green)
(catppuccin-quantize-color (catppuccin-color 'green)))
(ctp-teal (catppuccin-color 'teal)
(catppuccin-quantize-color (catppuccin-color 'teal)))
(ctp-sky (catppuccin-color 'sky)
(catppuccin-quantize-color (catppuccin-color 'sky)))
(ctp-sapphire (catppuccin-color 'sapphire)
(catppuccin-quantize-color (catppuccin-color 'sapphire)))
(ctp-blue (catppuccin-color 'blue)
(catppuccin-quantize-color (catppuccin-color 'blue)))
(ctp-lavender (catppuccin-color 'lavender)
(catppuccin-quantize-color (catppuccin-color 'lavender)))
(ctp-text (catppuccin-color 'text)
(catppuccin-quantize-color (catppuccin-color 'text)))
(ctp-subtext1 (catppuccin-color 'subtext1)
(catppuccin-quantize-color (catppuccin-color 'subtext1)))
(ctp-subtext0 (catppuccin-color 'subtext0)
(catppuccin-quantize-color (catppuccin-color 'subtext0)))
(ctp-overlay2 (catppuccin-color 'overlay2)
(catppuccin-quantize-color (catppuccin-color 'overlay2)))
(ctp-overlay1 (catppuccin-color 'overlay1)
(catppuccin-quantize-color (catppuccin-color 'overlay1)))
(ctp-overlay0 (catppuccin-color 'overlay0)
(catppuccin-quantize-color (catppuccin-color 'overlay0)))
(ctp-surface2 (catppuccin-color 'surface2)
(catppuccin-quantize-color (catppuccin-color 'surface2)))
(ctp-surface1 (catppuccin-color 'surface1)
(catppuccin-quantize-color (catppuccin-color 'surface1)))
(ctp-surface0 (catppuccin-color 'surface0)
(catppuccin-quantize-color (catppuccin-color 'surface0)))
(ctp-base (catppuccin-color 'base)
(catppuccin-quantize-color (catppuccin-color 'base)))
(ctp-mantle (catppuccin-color 'mantle)
(catppuccin-quantize-color (catppuccin-color 'mantle)))
(ctp-crust (catppuccin-color 'crust)
(catppuccin-quantize-color (catppuccin-color 'crust)))
(ctp-current (if (eq catppuccin-flavor 'latte)
(catppuccin-darken (catppuccin-color 'base) 5)
(catppuccin-lighten (catppuccin-color 'base) 5))
(catppuccin-quantize-color
(if (eq catppuccin-flavor 'latte)
(catppuccin-darken (catppuccin-color 'base) 5)
(catppuccin-lighten (catppuccin-color 'base) 5))))
(ctp-selection (if (eq catppuccin-flavor 'latte)
(catppuccin-darken (catppuccin-color 'base) 12)
(catppuccin-lighten (catppuccin-color 'base) 17))
(catppuccin-quantize-color
(if (eq catppuccin-flavor 'latte)
(catppuccin-darken (catppuccin-color 'base) 12)
(catppuccin-lighten (catppuccin-color 'base) 17))))))
(faces
'(
;; default / basic faces
(cursor :background ,ctp-rosewater)
(default :background ,ctp-base :foreground ,ctp-text)
(default-italic :slant italic)
(hl-todo :foreground ,ctp-peach)
(error :foreground ,ctp-red)
(ffap :inherit match)
(fringe :background ,ctp-base :foreground ,ctp-surface1)
(header-line :inherit mode-line)
(help-key-binding :background ,ctp-mantle :foreground ,ctp-blue
:box (:line-width (-1 . -1) :color ,ctp-crust :style nil))
(highlight :foreground ,ctp-text :background ,ctp-current)
(hl-line :background ,ctp-current :extend t)
(info-menu-star :foreground ,ctp-red)
(info-quoted-name :foreground ,ctp-subtext1)
(info-string :foreground ,ctp-green)
(lazy-highlight :foreground ,ctp-subtext1
:background ,ctp-surface1)
(link :foreground ,ctp-lavender :underline t)
(link-unvisited :foreground ,ctp-blue :underline t)
(linum :inherit default :foreground ,ctp-surface1
:background ,ctp-base)
(line-number :inherit default :foreground ,ctp-surface1
:background ,ctp-base)
(line-number-current-line :inherit line-number
:foreground ,ctp-lavender)
(match :background ,ctp-red :foreground ,ctp-mantle)
(menu :background ,ctp-current :inverse-video nil
:foreground ,ctp-text)
(minibuffer-prompt :weight normal :foreground ,ctp-subtext0)
(mode-line :background ,ctp-mantle nil :foreground ,ctp-text)
(mode-line-inactive :background ,ctp-crust :inverse-video nil
:foreground ,ctp-overlay0)
(read-multiple-choice-face :inherit completions-first-difference)
(region :background ,ctp-selection :extend t)
(shadow :foreground ,ctp-overlay0)
(success :foreground ,ctp-green)
(warning :foreground ,ctp-yellow)
(tooltip :foreground ,ctp-overlay2 :background ,ctp-surface0)
(trailing-whitespace :inherit warning)
(window-divider :foreground ,ctp-mantle)
(vertical-border :foreground ,ctp-mantle)
;; tty-menu
(tty-menu-enabled-face :foreground ,ctp-text :inverse-video nil
:background ,ctp-current)
(tty-menu-disabled-face :background ,ctp-crust :inverse-video nil
:foreground ,ctp-overlay0)
(tty-menu-selected-face :foreground ,ctp-text
:background ,ctp-surface1)
;; solaire-mode
(solaire-default-face :background ,ctp-mantle
:foreground ,ctp-text)
(solaire-fringe-face :background ,ctp-mantle
:foreground ,ctp-surface1)
(solaire-line-number-face :inherit default
:foreground ,ctp-surface1 :background ,ctp-mantle)
(solaire-mode-line-face :background ,ctp-crust nil
:foreground ,ctp-text)
(solaire-mode-line-inactive-face :inverse-video nil
:background ,ctp-crust :foreground ,ctp-subtext1)
(solaire-header-line-face :inherit 'solaire-mode-line-face)
;; evil
(evil-search-highlight-persist-highlight-face :inherit lazy-highlight)
(evil-ex-lazy-highlight :inherit lazy-highlight)
(evil-ex-substitute-matches :foreground ,ctp-red :underline t)
(evil-ex-substitute-replacement :foreground ,ctp-green
:underline t)
;; syntax / font-lock
(font-lock-bracket-face :foreground ,ctp-overlay2)
(font-lock-builtin-face :foreground ,ctp-red)
(font-lock-comment-face ,@(if catppuccin-italic-comments
'(:inherit (shadow italic))
'(:inherit shadow)))
(font-lock-comment-delimiter-face :inherit shadow)
(font-lock-constant-face :foreground ,ctp-peach)
(font-lock-delimiter-face :foreground ,ctp-overlay2)
(font-lock-doc-face :inherit font-lock-comment-face)
(font-lock-escape-face :foreground ,ctp-pink)
(font-lock-function-call-face :foreground ,ctp-blue)
(font-lock-function-name-face :foreground ,ctp-blue)
(font-lock-keyword-face :foreground ,ctp-mauve)
(font-lock-negation-char-face :foreground ,ctp-sky)
(font-lock-number-face :foreground ,ctp-peach)
(font-lock-operator-face :foreground ,ctp-sky)
(font-lock-preprocessor-face :foreground ,ctp-yellow)
(font-lock-property-name-face :foreground ,ctp-blue)
(font-lock-reference-face :inherit font-lock-constant-face) ; obsolete
(font-lock-regexp-grouping-backslash :foreground ,ctp-red)
(font-lock-regexp-grouping-construct :foreground ,ctp-red)
(font-lock-string-face :foreground ,ctp-green)
(font-lock-type-face :foreground ,ctp-yellow)
(font-lock-variable-name-face :foreground ,ctp-text
,@(when catppuccin-italic-variables '(:inherit italic)))
(font-lock-variable-use-face :foreground ,ctp-text
,@(when catppuccin-italic-variables '(:inherit italic)))
(font-lock-warning-face :inherit warning)
;; adoc-mode
(adoc-anchor-face :foreground ,ctp-blue)
(adoc-code-face :inherit ,ctp-text)
(adoc-command-face :foreground ,ctp-yellow)
(adoc-emphasis-face :inherit bold)
(adoc-internal-reference-face :foreground ,ctp-yellow :underline t)
(adoc-list-face :foreground ,ctp-text)
(adoc-meta-face :foreground ,ctp-yellow)
(adoc-meta-hide-face :foreground ,ctp-yellow)
(adoc-secondary-text-face :foreground ,ctp-yellow)
(adoc-title-0-face :foreground ,ctp-red
,@(when catppuccin-enlarge-headings
(list :height catppuccin-height-title-1)))
(adoc-title-1-face :foreground ,ctp-peach
,@(when catppuccin-enlarge-headings
(list :height catppuccin-height-title-2)))
(adoc-title-2-face :foreground ,ctp-yellow
,@(when catppuccin-enlarge-headings
(list :height catppuccin-height-title-3)))
(adoc-title-3-face :foreground ,ctp-green)
(adoc-title-4-face :foreground ,ctp-sapphire)
(adoc-typewriter-face :foreground ,ctp-green)
(adoc-verbatim-face :foreground ,ctp-green)
(adoc-value-face :foreground ,ctp-yellow)
;; auto-complete
(ac-completion-face :underline t :foreground ,undef)
;; anzu
(anzu-mode-line :foreground ,ctp-blue)
;; avy
(avy-background-face :foreground ,ctp-text :background ,ctp-base)
(avy-goto-char-timer-face :foreground ,ctp-blue
:background ,ctp-surface0)
(avy-lead-face :foreground ,ctp-base :background ,ctp-mauve)
(avy-lead-face-0 :foreground ,ctp-base :background ,ctp-yellow)
(avy-lead-face-1 :foreground ,ctp-base :background ,ctp-overlay0)
(avy-lead-face-2 :foreground ,ctp-base :background ,ctp-sky)
;; company
;; TODO: find undef'ed faces
(company-echo-common :foreground ,ctp-base :background ,ctp-text)
(company-preview :background ,ctp-current :foreground ,undef)
(company-preview-common :inherit company-preview
:foreground ,ctp-green)
(company-preview-search :inherit company-preview
:foreground ,undef)
(company-scrollbar-bg :background ,ctp-surface0)
(company-scrollbar-fg :foreground ,undef)
(company-tooltip :inherit tooltip)
(company-tooltip-search :foreground ,undef
:underline t)
(company-tooltip-search-selection :background ,undef
:foreground ,ctp-base)
(company-tooltip-selection :background ,ctp-overlay0
:foreground ,ctp-text)
(company-tooltip-mouse :background ,ctp-base)
(company-tooltip-common :foreground ,ctp-text :weight bold)
(company-tooltip-common-selection :foreground ,ctp-text
:weight bold)
(company-tooltip-annotation :foreground ,ctp-green)
(company-tooltip-annotation-selection :foreground ,ctp-text)
(company-tooltip-scrollbar-thumb :background ,ctp-surface2)
(company-tooltip-scrollbar-track :background ,ctp-surface1)
;; compile
(compilation-mode-line-exit :foreground ,ctp-green)
(compilation-mode-line-fail :foreground ,ctp-red)
;; completions (minibuffer.el)
(completions-annotations :inherit font-lock-comment-face)
(completions-common-part :foreground ,ctp-sky)
(completions-first-difference :foreground ,ctp-text)
;; diff-hl
(diff-hl-change :background ,ctp-blue
:foreground ,(catppuccin-darken ctp-blue 50))
(diff-hl-delete :background ,ctp-red
:foreground ,(catppuccin-darken ctp-red 50))
(diff-hl-insert :background ,ctp-green
:foreground ,(catppuccin-darken ctp-green 50))
;; diff-mode
(diff-header :foreground ,ctp-blue)
(diff-hunk-header :foreground ,ctp-text :background ,ctp-surface2)
(diff-added :background ,(catppuccin-darken ctp-green 60))
(diff-removed :background ,(catppuccin-darken ctp-red 60))
(diff-indicator-added :foreground ,ctp-green)
(diff-indicator-removed :foreground ,ctp-red)
(diff-refine-added :background ,(catppuccin-darken ctp-green 40))
(diff-refine-removed :background ,(catppuccin-darken ctp-red 40))
(diff-refine-changed :background ,ctp-yellow
:foreground ,ctp-base)
;; eshell
(eshell-ls-archive :foreground ,ctp-mauve)
(eshell-ls-backup :foreground ,ctp-yellow)
(eshell-ls-clutter :foreground ,ctp-red :weight bold)
(eshell-ls-directory :foreground ,ctp-blue :weight bold)
(eshell-ls-executable :foreground ,ctp-green :weight bold)
(eshell-ls-missing :foreground ,ctp-red :weight bold)
(eshell-ls-product :foreground ,ctp-peach)
(eshell-ls-readonly :foreground ,ctp-flamingo)
(eshell-ls-special :foreground ,ctp-pink :weight bold)
(eshell-ls-symlink :foreground ,ctp-sapphire :weight bold)
(eshell-prompt :foreground ,ctp-blue :weight bold)
;; git-gutter
(git-gutter:modified :foreground ,ctp-peach)
(git-gutter:deleted :foreground ,ctp-red)
(git-gutter:added :foreground ,ctp-green)
(git-gutter:seperator :inherit font-lock-comment-face)
(git-gutter:unchanged :foreground ,ctp-surface0)
;; git-gutter fringe
(git-gutter-fr:modified :inherit git-gutter:modified)
(git-gutter-fr:deleted :inherit git-gutter:deleted)
(git-gutter-fr:added :inherit git-gutter:added)
;; dired
(dired-flagged :foreground ,ctp-maroon :weight bold)
(dired-marked :weight bold)
(dired-mark :inherit dired-marked)
(dired-header :foreground ,ctp-sapphire :weight bold)
(dired-ignored :inherit font-lock-comment-face)
(dired-special :foreground ,ctp-yellow)
(dired-symlink :foreground ,ctp-pink)
(dired-warning :inherit warning)
(dired-directory :foreground ,ctp-blue)
(dired-perm-write :foreground ,ctp-green)
(dired-broken-symlink :foreground ,ctp-text :background ,ctp-red)
;; dired-filetype-face
(dired-filetype-common :foreground ,ctp-text)
(dired-filetype-compress :foreground ,ctp-yellow)
(dired-filetype-document :foreground ,ctp-sky)
(dired-filetype-execute :foreground ,ctp-red)
(dired-filetype-image :foreground ,ctp-peach)
(dired-filetype-js :foreground ,ctp-yellow)
(dired-filetype-link :foreground ,ctp-maroon)
(dired-filetype-music :foreground ,ctp-maroon)
(dired-filetype-omit :foreground ,ctp-mauve)
(dired-filetype-plain :foreground ,ctp-text)
(dired-filetype-program :foreground ,ctp-peach)
(dired-filetype-source :foreground ,ctp-green)
(dired-filetype-video :foreground ,ctp-maroon)
(dired-filetype-xml :foreground ,ctp-green)
;; dired+ (kept for legacy support)
;; TODO (maybe): Show deprecation warning
;; This doesn't make sense to keep around
(diredp-compressed-file-name :inherit dired-file-name)
(diredp-compressed-file-suffix :foreground ,ctp-green)
(diredp-date-time :foreground ,ctp-subtext0)
(diredp-deletion-file-name :inherit dired-flagged)
(diredp-deletion :inherit dired-flagged)
(diredp-dir-heading :inherit dired-header)
(diredp-dir-name :inherit dired-directory)
(diredp-dir-priv :inherit dired-directory)
(diredp-executable-tag :foreground ,ctp-red)
(diredp-file-suffix :inherit dired-file-name)
(diredp-flag-mark-line :inherit dired-marked)
(diredp-flag-mark :inherit dired-mark)
(diredp-ignored-file-name :foreground ,ctp-text)
(diredp-mode-line-flagged :foreground ,undef)
(diredp-mode-line-marked :foreground ,undef)
(diredp-no-priv :foreground ,ctp-surface2)
(diredp-number :foreground ,ctp-yellow)
(diredp-other-priv :inherit diredp-exec-priv)
(diredp-rare-priv :inherit diredp-exec-priv)
(diredp-read-priv :foreground ,ctp-sky)
(diredp-write-priv :inherit dired-perm-write)
(diredp-exec-priv :foreground ,ctp-red)
(diredp-symlink :inherit dired-symlink)
(diredp-link-priv :inherit dired-symlink)
(diredp-autofile-name :foreground ,undef)
(diredp-tagged-autofile-name :foreground ,undef)
;; diredfl (more modernly published dired+)
(diredfl-file-name :inherit dired-file-name)
(diredfl-compressed-file-name :inherit dired-file-name)
(diredfl-compressed-file-suffix :foreground ,ctp-green)
(diredfl-date-time :foreground ,ctp-subtext0)
(diredfl-deletion-file-name :inherit dired-flagged)
(diredfl-deletion :inherit dired-flagged)
(diredfl-dir-heading :inherit dired-header)
(diredfl-dir-name :inherit dired-directory)
(diredfl-dir-priv :inherit dired-directory)
(diredfl-executable-tag :foreground ,ctp-red)
(diredfl-file-suffix :inherit dired-file-name)
(diredfl-flag-mark-line :inherit dired-marked)
(diredfl-flag-mark :inherit dired-mark)
(diredfl-ignored-file-name :foreground ,ctp-text)
(diredfl-mode-line-flagged :foreground ,undef)
(diredfl-mode-line-marked :foreground ,undef)
(diredfl-no-priv :foreground ,ctp-surface2)
(diredfl-number :foreground ,ctp-yellow)
(diredfl-other-priv :inherit diredfl-exec-priv)
(diredfl-rare-priv :inherit diredfl-exec-priv)
(diredfl-read-priv :foreground ,ctp-sky)
(diredfl-write-priv :inherit dired-perm-write)
(diredfl-exec-priv :foreground ,ctp-red)
(diredfl-symlink :inherit dired-symlink)
(diredfl-link-priv :inherit dired-symlink)
(diredfl-autofile-name :foreground ,undef)
(diredfl-tagged-autofile-name :foreground ,undef)
;; eldoc-box
(eldoc-box-border :background ,ctp-current)
(eldoc-box-body :background ,ctp-current)
;; elfeed
(elfeed-search-date-face :foreground ,ctp-subtext0)
(elfeed-search-title-face :foreground ,ctp-text)
(elfeed-search-unread-title-face :foreground ,ctp-red)
(elfeed-search-feed-face :foreground ,ctp-text :weight bold)
(elfeed-search-tag-face :foreground ,ctp-green)
(elfeed-search-last-update-face :weight bold)
(elfeed-search-unread-count-face :foreground ,ctp-pink)
(elfeed-search-filter-face :foreground ,ctp-green :weight bold)
(elfeed-log-date-face :inherit elfeed-search-date-face)
(elfeed-log-error-level-face :inherit error)
(elfeed-log-warn-level-face :foreground ,ctp-peach)
(elfeed-log-info-level-face :weight bold)
(elfeed-log-debug-level-face :weight bold)
;; elpher
(elpher-gemini-heading1 :weight bold :foreground ,ctp-blue
,@(when catppuccin-enlarge-headings
(list :height catppuccin-height-title-1)))
(elpher-gemini-heading2 :foreground ,ctp-blue
,@(when catppuccin-enlarge-headings
(list :height catppuccin-height-title-2)))
(elpher-gemini-heading3 :foreground ,ctp-blue
,@(when catppuccin-enlarge-headings
(list :height catppuccin-height-title-3)))
(elpher-gemini-preformatted :inherit fixed-pitch
:foreground ,ctp-green)
;; erc
(erc-action-face :foreground ,ctp-green)
(erc-command-indicator-face :foreground ,ctp-mauve)
(erc-current-nick-face :foreground ,ctp-peach)
(erc-dangerous-host-face :background ,ctp-red
:foreground ,ctp-text)
(erc-default-face :foreground ,ctp-text)
(erc-direct-msg-face :foreground ,ctp-rosewater)
(erc-error-face :foreground ,ctp-red)
(erc-fool-face :foreground ,ctp-subtext0)
(erc-header-line :background ,ctp-crust :foreground ,ctp-text)
(erc-input-face :foreground ,ctp-rosewater)
(erc-inverse-face :background ,ctp-text :foreground ,ctp-base)
(erc-keyword-face :foreground ,ctp-lavender)
(erc-my-nick-face :foreground ,ctp-lavender)
(erc-my-nick-prefix-face :foreground ,ctp-lavender)
(erc-nick-default-face :foreground ,ctp-blue)
(erc-nick-prefix-face :foreground ,ctp-blue)
(erc-nick-msg-face :foreground ,ctp-yellow)
(erc-notice-face :foreground ,ctp-subtext0)
(erc-pal-face :foreground ,ctp-pink)
(erc-prompt-face :foreground ,ctp-blue)
(erc-timestamp-face :foreground ,ctp-teal)
(bg:erc-color-face0 :background ,ctp-text)
(bg:erc-color-face1 :background ,ctp-crust)
(bg:erc-color-face2 :background ,ctp-blue)
(bg:erc-color-face3 :background ,ctp-green)
(bg:erc-color-face4 :background ,ctp-red)
(bg:erc-color-face5 :background ,ctp-maroon)
(bg:erc-color-face6 :background ,ctp-mauve)
(bg:erc-color-face7 :background ,ctp-peach)
(bg:erc-color-face8 :background ,ctp-yellow)
(bg:erc-color-face9 :background ,ctp-green)
(bg:erc-color-face10 :background ,ctp-lavender)
(bg:erc-color-face11 :background ,ctp-teal)
(bg:erc-color-face12 :background ,ctp-sapphire)
(bg:erc-color-face13 :background ,ctp-pink)
(bg:erc-color-face14 :background ,ctp-overlay2)
(bg:erc-color-face15 :background ,ctp-text)
(fg:erc-color-face0 :foreground ,ctp-text)
(fg:erc-color-face1 :foreground ,ctp-crust)
(fg:erc-color-face2 :foreground ,ctp-blue)
(fg:erc-color-face3 :foreground ,ctp-green)
(fg:erc-color-face4 :foreground ,ctp-red)
(fg:erc-color-face5 :foreground ,ctp-maroon)
(fg:erc-color-face6 :foreground ,ctp-mauve)
(fg:erc-color-face7 :foreground ,ctp-peach)
(fg:erc-color-face8 :foreground ,ctp-yellow)
(fg:erc-color-face9 :foreground ,ctp-green)
(fg:erc-color-face10 :foreground ,ctp-lavender)
(fg:erc-color-face11 :foreground ,ctp-teal)
(fg:erc-color-face12 :foreground ,ctp-sapphire)
(fg:erc-color-face13 :foreground ,ctp-pink)
(fg:erc-color-face14 :foreground ,ctp-overlay2)
(fg:erc-color-face15 :foreground ,ctp-text)
;; enh-ruby
(enh-ruby-heredoc-delimiter-face :foreground ,ctp-yellow)
(enh-ruby-op-face :inherit haskell-operator-face)
(enh-ruby-regexp-delimiter-face :foreground ,ctp-yellow)
(enh-ruby-string-delimiter-face :foreground ,ctp-yellow)
;; flymake
(flymake-error :underline (:style wave :color ,ctp-red))
(flymake-note :underline (:style wave :color ,ctp-green))
(flymake-warning :underline (:style wave :color ,ctp-yellow))
;; flyspell
(flyspell-duplicate :underline (:style wave :color ,ctp-teal))
(flyspell-incorrect :underline (:style wave :color ,ctp-maroon))
;; font-latex
(font-latex-bold-face :foreground ,ctp-red :weight bold)
(font-latex-italic-face :foreground ,ctp-yellow :slant italic)
(font-latex-match-reference-keywords :foreground ,ctp-teal)
(font-latex-match-variable-keywords :foreground ,ctp-text)
(font-latex-string-face :foreground ,ctp-green)
(font-latex-warning-face :inherit warning)
;; TODO: More latex faces to be themed, especially sections
;; gemini
(gemini-heading-face-1 :weight bold :foreground ,ctp-blue
,@(when catppuccin-enlarge-headings
(list :height catppuccin-height-title-1)))
(gemini-heading-face-2 :foreground ,ctp-blue
,@(when catppuccin-enlarge-headings
(list :height catppuccin-height-title-2)))
(gemini-heading-face-3 :foreground ,ctp-blue
,@(when catppuccin-enlarge-headings
(list :height catppuccin-height-title-3)))
(gemini-heading-face-rest :foreground ,ctp-blue)
(gemini-quote-face :foreground ,ctp-green)
;; gnus
(gnus-header-content :foreground ,ctp-sky)
(gnus-header-from :foreground ,ctp-mauve)
(gnus-header-name :foreground ,ctp-blue :weight bold)
(gnus-header-subject :foreground ,ctp-mauve :weight bold)
;; go-test
(go-test--ok-face :inherit success)
(go-test--error-face :inherit error)
(go-test--warning-face :inherit warning)
(go-test--pointer-face :foreground ,ctp-pink)
(go-test--standard-face :foreground ,ctp-teal)
;; haskell-mode
(haskell-operator-face :foreground ,ctp-sky)
(haskell-constructor-face :foreground ,ctp-mauve)
;; helm
(helm-bookmark-w3m :foreground ,ctp-subtext1)
(helm-buffer-not-saved :foreground ,ctp-red)
(helm-buffer-process :foreground ,ctp-red)
(helm-buffer-saved-out :foreground ,ctp-green)
(helm-buffer-size :foreground ,ctp-subtext1)
(helm-candidate-number :foreground ,ctp-yellow)
(helm-ff-directory :foreground ,ctp-blue)
(helm-ff-dotted-directory :foreground ,ctp-blue)
(helm-ff-executable :foreground ,ctp-sky)
(helm-ff-file :foreground ,ctp-text)
(helm-ff-invalid-symlink :foreground ,ctp-red)
(helm-ff-prefix :foreground ,ctp-yellow)
(helm-ff-symlink :foreground ,ctp-teal)
(helm-grep-cmd-line :foreground ,ctp-yellow)
(helm-grep-file :foreground ,ctp-red)
(helm-grep-finish :foreground ,ctp-red)
(helm-grep-lineno :foreground ,ctp-subtext0)
(helm-grep-match :inherit match)
(helm-grep-running :foreground ,undef)
(helm-header :foreground ,ctp-subtext1)
(helm-moccur-buffer :foreground ,undef)
(helm-selection :underline nil)
(helm-selection :foreground ,ctp-peach :background ,ctp-surface0)
(helm-selection-line)
(helm-separator :foreground ,ctp-subtext1)
(helm-source-go-package-godoc-description :foreground ,ctp-red)
(helm-source-header :foreground ,ctp-subtext1)
(helm-time-zone-current :foreground ,ctp-text)
(helm-time-zone-home :foreground ,ctp-subtext0)
(helm-visible-mark :foreground ,ctp-red)
;; powerline
(powerline-active1 :background ,ctp-peach :foreground ,ctp-surface0)
(powerline-active2 :background ,ctp-rosewater :foreground ,ctp-surface0)
(powerline-inactive1 :background ,ctp-surface2 :foreground ,ctp-text)
(powerline-inactive2 :background ,ctp-overlay2 :foreground ,ctp-subtext1)
;; consult
(consult-async-split :foreground ,ctp-mauve)
;; corfu
(corfu-default :background ,ctp-surface0)
(corfu-current :background ,ctp-surface1)
(corfu-bar :background ,ctp-subtext0)
(corfu-border :inherit corfu-default)
(corfu-annotations :inherit font-lock-comment-face)
(corfu-deprecated :strike-through t)
;; highlight-indentation minor mode
(highlight-indentation-face :background ,ctp-mantle)
;; icicle
;; TODO: Verify this looks proper
(icicle-whitespace-highlight :background ,ctp-text)
(icicle-special-candidate :foreground ,ctp-subtext1)
(icicle-extra-candidate :foreground ,ctp-subtext1)
(icicle-search-main-regexp-others :foreground ,ctp-text)
(icicle-search-current-input :foreground ,ctp-pink)
(icicle-search-context-level-8 :foreground ,ctp-blue)
(icicle-search-context-level-7 :foreground ,ctp-blue)
(icicle-search-context-level-6 :foreground ,ctp-blue)
(icicle-search-context-level-5 :foreground ,ctp-blue)
(icicle-search-context-level-4 :foreground ,ctp-blue)
(icicle-search-context-level-3 :foreground ,ctp-blue)
(icicle-search-context-level-2 :foreground ,ctp-blue)
(icicle-search-context-level-1 :foreground ,ctp-blue)
(icicle-search-main-regexp-current :foreground ,ctp-text)
(icicle-saved-candidate :foreground ,ctp-text)
(icicle-proxy-candidate :foreground ,ctp-text)
(icicle-mustmatch-completion :foreground ,ctp-mauve)
(icicle-multi-command-completion :foreground ,ctp-subtext0)
(icicle-msg-emphasis :foreground ,ctp-green)
(icicle-mode-line-help :foreground ,ctp-overlay2)
(icicle-match-highlight-minibuffer :foreground ,ctp-mauve)
(icicle-match-highlight-Completions :foreground ,ctp-green)
(icicle-key-complete-menu-local :foreground ,ctp-text)
(icicle-key-complete-menu :foreground ,ctp-text)
(icicle-input-completion-fail-lax :foreground ,ctp-maroon)
(icicle-input-completion-fail :foreground ,ctp-maroon)
(icicle-historical-candidate-other :foreground ,ctp-text)
(icicle-historical-candidate :foreground ,ctp-text)
(icicle-current-candidate-highlight :foreground ,ctp-pink)
(icicle-Completions-instruction-2 :foreground ,ctp-overlay2)
(icicle-Completions-instruction-1 :foreground ,ctp-overlay2)
(icicle-completion :foreground ,ctp-text)
(icicle-complete-input :foreground ,ctp-peach)
(icicle-common-match-highlight-Completions
:foreground ,ctp-mauve)
(icicle-candidate-part :foreground ,ctp-text)
(icicle-annotation :foreground ,ctp-overlay2)
;; icomplete
(icompletep-determined :foreground ,ctp-blue)
(icomplete-selected-match :inherit match)
;; ido
(ido-first-match :foreground ,ctp-green)
(ido-only-match :foreground ,ctp-green)
(ido-subdir :inherit dired-directory)
(ido-virtual :foreground ,ctp-sapphire)
(ido-incomplete-regexp :inherit warning)
(ido-indicator :foreground ,ctp-text :weight bold)
;; iedit
(iedit-occurrence :inherit match :weight bold)
(iedit-read-only-occurrence :inherit 'region)
;; indent-guide
(indent-guide-face :foreground ,ctp-surface1)
;; ivy
(ivy-current-match :background ,ctp-red :foreground ,ctp-mantle
:bold t)
(ivy-action :background unspecified :foreground ,ctp-lavender)
(ivy-grep-line-number :background unspecified
:foreground ,ctp-teal)
(ivy-minibuffer-match-face-1 :background unspecified
:foreground ,ctp-blue :bold t)
(ivy-minibuffer-match-face-2
:background ,ctp-teal :foreground ,ctp-mantle)
(ivy-minibuffer-match-face-3
:background unspecified :foreground ,ctp-lavender)
(ivy-minibuffer-match-face-4 :background unspecified
:foreground ,ctp-mauve)
(ivy-minibuffer-match-highlight
:foreground ,ctp-blue)
(ivy-grep-info :foreground ,ctp-blue)
(ivy-grep-line-number :foreground ,ctp-mauve)
(ivy-confirm-face :foreground ,ctp-green)
(ivy-remote :foreground ,ctp-mauve)
(ivy-match-required-face :foreground ,ctp-red)
;; isearch
(isearch :inherit match :weight bold)
(isearch-fail :inherit error)
;; jde-java
(jde-java-font-lock-constant-face
:inherit font-lock-constant-face)
(jde-java-font-lock-modifier-face
:inherit font-lock-keyword-face)
(jde-java-font-lock-number-face :foreground ,ctp-text)
(jde-java-font-lock-package-face :foreground ,ctp-text)
(jde-java-font-lock-private-face
:inherit font-lock-keyword-face)
(jde-java-font-lock-public-face :inherit font-lock-keyword-face)
;; js2-mode
(js2-external-variable :foreground ,ctp-red)
(js2-function-param
:inherit tree-sitter-hl-face:variable.parameter)
(js2-jsdoc-html-tag-delimiter
:inherit web-mode-html-tag-bracket-face)
(js2-jsdoc-html-tag-name :inherit web-mode-html-tag-face)
(js2-jsdoc-value :foreground ,ctp-text)
(js2-private-function-call
:inherit tree-sitter-hl-face:function.call)
(js2-private-member :inherit font-lock-variable-name-face)
;; js3-mode
(js3-error-face :inherit error)
(js3-external-variable-face :foreground ,ctp-text)
(js3-function-param-face :inherit js2-function-param)
(js3-instance-member-face :inherit font-lock-variable-name-face)
(js3-jsdoc-tag-face :inherit web-mode-html-tag-face)
(js3-warning-face :inherit warning)
;; lsp
(lsp-ui-peek-peek :background ,ctp-mantle)
(lsp-ui-peek-list :background ,ctp-mantle)
(lsp-ui-peek-filename :foreground ,ctp-text)
(lsp-ui-peek-line-number :inherit default
:foreground ,ctp-surface1)
(lsp-ui-peek-highlight
:inherit highlight :distant-foreground ,ctp-base)
(lsp-ui-peek-header :background ,ctp-mantle
:foreground ,ctp-blue :weight bold)
(lsp-ui-peek-footer :inherit lsp-ui-peek-header)
(lsp-ui-peek-selection :inherit match)
(lsp-ui-sideline-symbol :foreground ,ctp-subtext0)
(lsp-ui-sideline-current-symbol :foreground ,ctp-text
:weight bold)
(lsp-ui-sideline-code-action :foreground ,ctp-yellow)
(lsp-ui-sideline-symbol-info :slant italic :height 0.99)
(lsp-ui-doc-background :background ,ctp-mantle)
(lsp-ui-doc-header :foreground ,ctp-sapphire)
;; magit
(magit-branch-local :foreground ,ctp-teal)
(magit-branch-remote :foreground ,ctp-green)
(magit-tag :foreground ,ctp-peach)
(magit-section-heading :foreground ,ctp-blue :weight bold)
(magit-section-highlight :background ,ctp-surface0 :extend t)
(magit-diff-context-highlight :background ,ctp-surface0
:foreground ,ctp-text :extend t)
(magit-diff-revision-summary :foreground ,ctp-blue :weight bold)
(magit-diff-revision-summary-highlight :foreground ,ctp-blue
:weight bold)
(magit-diff-added :foreground ,ctp-green :extend t)
(magit-diff-added-highlight :background ,ctp-surface1
:foreground ,ctp-green :extend t)
(magit-diff-removed :foreground ,ctp-red :extend t)
(magit-diff-removed-highlight :background ,ctp-surface1
:foreground ,ctp-red :extend t)
(magit-diff-file-heading :foreground ,ctp-text)
(magit-diff-file-heading-highlight
:inherit magit-section-highlight)
(magit-diffstat-added :foreground ,ctp-green)
(magit-diffstat-removed :foreground ,ctp-red)
(magit-hash :foreground ,ctp-subtext0)
(magit-diff-hunk-heading :inherit diff-hunk-header)
(magit-diff-hunk-heading-highlight :inherit diff-hunk-header
:weight bold)
(magit-log-author :foreground ,ctp-subtext0)
(magit-process-ng :foreground ,ctp-peach :weight bold)
(magit-process-ok :foreground ,ctp-green :weight bold)
;; markdown
(markdown-blockquote-face :extend t :background ,ctp-mantle
:foreground ,ctp-green
,@(when catppuccin-italic-blockquotes '(:slant italic)))
(markdown-code-face :foreground ,ctp-text)
(markdown-footnote-face :foreground ,ctp-yellow)
(markdown-header-face :weight normal)
(markdown-header-face-1 :foreground ,ctp-red