From bc43f170fb9114097849a3346d29380c3ab5181e Mon Sep 17 00:00:00 2001 From: knottedbrain Date: Mon, 2 Oct 2023 20:40:26 +0000 Subject: [PATCH] add ansicolors so that shell and eshell follow the theme Even though term and ansi-term show proper colors consistent with the chosen theme shell and eshell do not do so because they are controlled by the ansi-color faces so customize ansi-color faces to have a consistent look and feel --- nord-theme.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nord-theme.el b/nord-theme.el index a2e87be..e7a9094 100644 --- a/nord-theme.el +++ b/nord-theme.el @@ -295,6 +295,14 @@ `(term-color-yellow ((,class (:foreground ,nord13 :background ,nord13)))) `(term-color-green ((,class (:foreground ,nord14 :background ,nord14)))) `(term-color-magenta ((,class (:foreground ,nord15 :background ,nord15)))) + `(ansi-color-black ((,class (:foreground ,nord1 :background ,nord1)))) + `(ansi-color-white ((,class (:foreground ,nord5 :background ,nord5)))) + `(ansi-color-cyan ((,class (:foreground ,nord7 :background ,nord7)))) + `(ansi-color-blue ((,class (:foreground ,nord8 :background ,nord8)))) + `(ansi-color-red ((,class (:foreground ,nord11 :background ,nord11)))) + `(ansi-color-yellow ((,class (:foreground ,nord13 :background ,nord13)))) + `(ansi-color-green ((,class (:foreground ,nord14 :background ,nord14)))) + `(ansi-color-magenta ((,class (:foreground ,nord15 :background ,nord15)))) `(tool-bar ((,class (:foreground ,nord4 :background ,nord3)))) `(tooltip ((,class (:foreground ,nord0 :background ,nord4)))) `(trailing-whitespace ((,class (:foreground ,nord3))))