From 4a2bbd2741ff815b0ab5f33f3c11b0efb4068ba0 Mon Sep 17 00:00:00 2001 From: MitchMarq42 Date: Sat, 9 Jul 2022 18:45:39 -0800 Subject: [PATCH] add ansi-term highlights --- lisp/mitch-theme.el | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/lisp/mitch-theme.el b/lisp/mitch-theme.el index 9f72fef..659c630 100644 --- a/lisp/mitch-theme.el +++ b/lisp/mitch-theme.el @@ -51,8 +51,8 @@ ;; (setq org-fontify-quote-and-verse-blocks t) ;; Set transparent background; might break older emacsen -;; (add-to-list 'initial-frame-alist '(alpha-background . 50)) -;; (add-to-list 'default-frame-alist '(alpha-background . 50)) +(add-to-list 'initial-frame-alist '(alpha-background . 50)) +(add-to-list 'default-frame-alist '(alpha-background . 50)) (add-to-list 'default-frame-alist '(cursor-color . "white")) (add-to-list 'default-frame-alist '(fullscreen . maximized)) @@ -108,7 +108,7 @@ (line-number-current-line (:inherit 'line-number :foreground mitch-yellow :weight 'bold)) (linum (:inherit 'line-number)) (linum-relative-current-face (:inherit 'line-number-current-line)) - (ivy-current-match (:inherit 'highlight)) + (ivy-current-match (:inherit 'highlight :extend t)) (ivy-separator (:inherit 'marginalia-documentation)) ;; font-lock faces. The defaults that are important to get right. (font-lock-comment-face (:foreground mitch-green :slant 'oblique)) @@ -136,6 +136,7 @@ (completions-highlight (:background mitch-mid-violet)) (corfu-default (:background mitch-mid-gray)) (corfu-current (:inherit 'completions-highlight)) + ;; vterm colors (vterm-color-red (:foreground mitch-red :background mitch-light-red)) (vterm-color-blue (:foreground mitch-blue :background mitch-light-blue)) (vterm-color-cyan (:foreground mitch-cyan :background mitch-light-cyan)) @@ -144,6 +145,23 @@ (vterm-color-white (:foreground mitch-white :background mitch-light-white)) (vterm-color-yellow (:foreground mitch-yellow :background mitch-light-yellow)) (vterm-color-magenta (:foreground mitch-magenta :background mitch-light-magenta)) + ;; ansi-term colors + (term-color-black (:foreground mitch-black :background mitch-light-black)) + (term-color-red (:foreground mitch-red :background mitch-light-red)) + (term-color-green (:foreground mitch-green :background mitch-light-green)) + (term-color-yellow (:foreground mitch-yellow :background mitch-light-yellow)) + (term-color-blue (:foreground mitch-blue :background mitch-light-blue)) + (term-color-magenta (:foreground mitch-magenta :background mitch-light-magenta)) + (term-color-cyan (:foreground mitch-cyan :background mitch-light-cyan)) + (term-color-white (:foreground mitch-white :background mitch-light-white)) + (term-color-bright-black (:background mitch-black :foreground mitch-light-black)) + (term-color-bright-red (:background mitch-red :foreground mitch-light-red)) + (term-color-bright-green (:background mitch-green :foreground mitch-light-green)) + (term-color-bright-yellow (:background mitch-yellow :foreground mitch-light-yellow)) + (term-color-bright-blue (:background mitch-blue :foreground mitch-light-blue)) + (term-color-bright-magenta (:background mitch-magenta :foreground mitch-light-magenta)) + (term-color-bright-cyan (:background mitch-cyan :foreground mitch-light-cyan)) + (term-color-bright-white (:background mitch-white :foreground mitch-light-white)) ) )