summaryrefslogtreecommitdiffhomepage
path: root/lib/themes/jao-themes.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2025-09-19 18:15:26 +0100
committerjao <jao@gnu.org>2025-09-19 19:20:20 +0100
commit4ffc5fa01a0285177d1313d04684ffb9d73cc0da (patch)
tree750e0c4a90e80544cd89c5e188bbf8ab841fb9d7 /lib/themes/jao-themes.el
parent73c7e65653322928d508096b27b0f2bf7bc3c5ec (diff)
downloadelibs-4ffc5fa01a0285177d1313d04684ffb9d73cc0da.tar.gz
elibs-4ffc5fa01a0285177d1313d04684ffb9d73cc0da.tar.bz2
themes: external specification of face family
Diffstat (limited to 'lib/themes/jao-themes.el')
-rw-r--r--lib/themes/jao-themes.el12
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/themes/jao-themes.el b/lib/themes/jao-themes.el
index f529842..efb691c 100644
--- a/lib/themes/jao-themes.el
+++ b/lib/themes/jao-themes.el
@@ -21,8 +21,10 @@
(require 'ansi-color)
;;; palette
-(defvar jao-themes-default-face "DejaVu Sans Mono-9")
-(defvar jao-themes--face-family "DejaVu Sans Mono")
+(defvar jao-themes-default-face nil)
+(defvar jao-themes-default-family "Hack")
+(defvar jao-themes-default-size 9)
+(defvar jao-themes--face-family jao-themes-default-face)
(defvar jao-themes--fg "black")
(defvar jao-themes--bg "white")
(defvar jao-themes--box "grey75")
@@ -1228,8 +1230,10 @@
(let ((palette (cdr (assoc :palette args)))
(x-faces (cdr (assoc :x-faces args)))
(x-colors (cdr (assoc :x-colors args)))
- (family (cadr (assoc :face-family args)))
- (size (or (cadr (assoc :face-size args)) 9))
+ (family (or (cadr (assoc :face-family args))
+ jao-themes-default-family))
+ (size (or (cadr (assoc :face-size args))
+ jao-themes-default-size))
(bw (or (cadr (assoc :bold-weight args)) jao-themes--bold-weight)))
`(progn
(custom-make-theme-feature ',name)