From 2eb494bbaed41506fba33c80222b71906ed00517 Mon Sep 17 00:00:00 2001 From: Drew Jose Date: Sun, 1 Sep 2024 22:29:17 +0530 Subject: [PATCH] isearch and rainbow delimiters --- evangelion-theme.el | 47 +++++++++++++++++++++++++++++++++++++++------ 1 file changed, 41 insertions(+), 6 deletions(-) diff --git a/evangelion-theme.el b/evangelion-theme.el index dabb21a..bdf5b38 100644 --- a/evangelion-theme.el +++ b/evangelion-theme.el @@ -29,6 +29,8 @@ (fg "#E1D6F8") (green "#87FF5F") (green2 "#9CDA7C") + (teal "#397B6E") + (black "#222222") (hl "#39274D") (fade "#A1A0AD") (lavender "#AB92FC") @@ -37,9 +39,12 @@ (orange "#E6BB85") (orange2 "#D99145")) - (custom-theme-set-faces + (custom-theme-set-faces 'evangelion - `(default ((,class (:background ,bg :foreground ,fg)))) + `(default + ((,class (:background ,bg :foreground ,fg)))) + `(highlight ((,class (:background ,hl)))) + `(region ((,class (:background ,teal)))) ;;; font lock default faces `(font-lock-builtin-face ((,class (:foreground ,green2)))) `(font-lock-comment-face @@ -54,9 +59,8 @@ `(font-lock-type-face ((,class (:foreground ,green2)))) `(font-lock-variable-name-face ((,class (:foreground ,purple)))) `(font-lock-warning-face ((,class (:bold t :foreground ,orange)))) - ;;; paren - `(show-paren-match - ((,class (:foreground ,purple :background ,hl :bold t)))) + ;;; isearch + `(isearch ((,class (:background ,purple)))) ;;; line number `(line-number-current-line ((,class (:inherit line-number :foreground ,green)))) @@ -82,7 +86,38 @@ `(magit-section-heading ((t (:foreground ,fade :height 1.2)))) `(magit-section-highlight - ((t (:background ,hl :extend t)))))) + ((t (:background ,hl :extend t)))) + ;;; paren + `(show-paren-match + ((,class (:foreground ,purple :background ,hl :bold t)))) + ;;; rainbow delimiters + `(rainbow-delimiters-depth-1-face + ((t (:foreground ,lavender)))) + `(rainbow-delimiters-depth-2-face + ((t (:foreground ,orange)))) + `(rainbow-delimiters-depth-3-face + ((t (:foreground ,purple)))) + `(rainbow-delimiters-depth-4-face + ((t (:foreground ,orange2)))) + `(rainbow-delimiters-depth-5-face + ((t (:foreground ,teal)))) + `(rainbow-delimiters-depth-6-face + ((t (:foreground ,green)))) + `(rainbow-delimiters-depth-7-face + ((t (:inherit rainbow-delimiters-depth-1-face)))) + `(rainbow-delimiters-depth-8-face + ((t (:inherit rainbow-delimiters-depth-2-face)))) + `(rainbow-delimiters-depth-9-face + ((t (:inherit rainbow-delimiters-depth-3-face)))) + `(rainbow-delimiters-depth-10-face + ((t (:inherit rainbow-delimiters-depth-4-face)))) + `(rainbow-delimiters-depth-11-face + ((t (:inherit rainbow-delimiters-depth-5-face)))) + `(rainbow-delimiters-depth-12-face + ((t (:inherit rainbow-delimiters-depth-6-face)))) + `(rainbow-delimiters-unmatched-face + ((t (:background ,red + :weight bold)))))) (and load-file-name (boundp 'custom-theme-load-path)