summaryrefslogtreecommitdiffhomepage
path: root/themes
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2020-04-23 20:59:44 +0100
committerjao <jao@gnu.org>2020-04-23 20:59:44 +0100
commitca93790b0c05a68a41a81a363173814ebba66994 (patch)
tree5d1ddf9e313dfd169439b1de6e1019e34ff232d7 /themes
parentff0e001c1e4ca04357d8642718016270f0e1f34d (diff)
downloadelibs-ca93790b0c05a68a41a81a363173814ebba66994.tar.gz
elibs-ca93790b0c05a68a41a81a363173814ebba66994.tar.bz2
themes: explicit ansi-colors vector
Diffstat (limited to 'themes')
-rw-r--r--themes/jao-doomish-theme.el10
-rw-r--r--themes/jao-themes.el6
2 files changed, 6 insertions, 10 deletions
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)