From ca93790b0c05a68a41a81a363173814ebba66994 Mon Sep 17 00:00:00 2001 From: jao Date: Thu, 23 Apr 2020 20:59:44 +0100 Subject: themes: explicit ansi-colors vector --- themes/jao-doomish-theme.el | 10 ++-------- themes/jao-themes.el | 6 ++++-- 2 files changed, 6 insertions(+), 10 deletions(-) (limited to 'themes') diff --git a/themes/jao-doomish-theme.el b/themes/jao-doomish-theme.el index afb9a71..6efc23c 100644 --- a/themes/jao-doomish-theme.el +++ b/themes/jao-doomish-theme.el @@ -155,6 +155,7 @@ (mode-line-buffer-id (c nil) bf) (org-hide (c 0 nil)) (scroll-bar (c modeline-bg)) + (term-color-blue (c nil nil) it) (show-paren-match (c "darkseagreen1" "#5f5f5f")) (variable-pitch (c nil nil)) (vertical-border (c "black") :inherit nil) @@ -162,14 +163,7 @@ (w3m-tab-background (c nil nil)) (w3m-tab-line (c 0 0) ul) (widget-button (c nil nil) nul)) - (:x-colors "lemonchiffon" - "sienna3" - "darkseagreen3" - "lightgoldenrod3" - "cadetblue4" - "lightcyan4" - "cadetblue3" - "black")) + ) ;; (enable-theme 'jao-doomish) diff --git a/themes/jao-themes.el b/themes/jao-themes.el index f2e91dc..004796e 100644 --- a/themes/jao-themes.el +++ b/themes/jao-themes.el @@ -955,8 +955,10 @@ (faces (cdr (assoc :faces args))) (x-faces (cdr (assoc :x-faces args))) (x-colors (cdr (assoc :x-colors args))) - (ansi-colors (apply 'vector (butlast x-colors - (- (length x-colors) 8))))) + (a-colors (cdr (assoc :ansi-colors args))) + (ansi-colors (when a-colors + (apply 'vector (butlast a-colors + (- (length a-colors) 8)))))) `(progn (setq ansi-color-names-vector ,ansi-colors) (ansi-color-map-update 'ansi-color-names-vector ,ansi-colors) -- cgit v1.2.3