diff options
author | jao <jao@gnu.org> | 2021-10-02 01:56:46 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-10-02 01:56:53 +0100 |
commit | 78e9e7ca8199ba1341bea7e664678fa8d02f8402 (patch) | |
tree | d5549ca9032e6bef7fec4a70c288c074dc387de8 /lib/themes/jao-themes.el | |
parent | f89c57e5e2f3e2c25af6d279d0c3a9c3e2b1f259 (diff) | |
download | elibs-78e9e7ca8199ba1341bea7e664678fa8d02f8402.tar.gz elibs-78e9e7ca8199ba1341bea7e664678fa8d02f8402.tar.bz2 |
themes: ansi colors faces
Diffstat (limited to 'lib/themes/jao-themes.el')
-rw-r--r-- | lib/themes/jao-themes.el | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/themes/jao-themes.el b/lib/themes/jao-themes.el index 96e8398..86273df 100644 --- a/lib/themes/jao-themes.el +++ b/lib/themes/jao-themes.el @@ -18,8 +18,6 @@ ;;; Code: -(require 'ansi-color) - ;;; palette (defvar jao-themes--face-family "Inconsolata") (defvar jao-themes--fg "black") @@ -1176,14 +1174,8 @@ (palette (cdr (assoc :palette args))) (faces (or (cdr (assoc :faces args)) (list))) (x-faces (cdr (assoc :x-faces args))) - (x-colors (cdr (assoc :x-colors args))) - (a-colors (cdr (assoc :ansi-colors args))) - (ansi-colors (when a-colors - (apply 'vector (butlast a-colors - (- (length a-colors) 8)))))) + (x-colors (cdr (assoc :x-colors args)))) `(progn - (setq ansi-color-names-vector ,ansi-colors) - (ansi-color-map-update 'ansi-color-names-vector ,ansi-colors) (custom-make-theme-feature ',name) (deftheme ,name) (let ((*jao-themes--color-names* ',(cdr (assoc :names args)))) |