summaryrefslogtreecommitdiffhomepage
path: root/lib/themes
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2026-09-07 10:58:37 +0100
committerjao <jao@gnu.org>2026-09-07 10:58:37 +0100
commit45c15fdd38c0b9dde8099813137b2ebdea3ca3bc (patch)
tree0fb9d731ca7945d777f6ec33b492ea43217cbedc /lib/themes
parent10019bc241f0f9a30fb44371546b0d8f532892ed (diff)
downloadelibs-45c15fdd38c0b9dde8099813137b2ebdea3ca3bc.tar.gz
elibs-45c15fdd38c0b9dde8099813137b2ebdea3ca3bc.tar.bz2
misc fixes
Diffstat (limited to 'lib/themes')
-rw-r--r--lib/themes/jao-themes.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/themes/jao-themes.el b/lib/themes/jao-themes.el
index dc3eee5..1f5e09a 100644
--- a/lib/themes/jao-themes.el
+++ b/lib/themes/jao-themes.el
@@ -68,6 +68,10 @@
(defvar jao-themes--f11 '((c "cadetblue4")))
(defvar jao-themes--f12 '((c "darkslategrey")))
+(defgroup jao-themes-faces nil
+ "Faces for unified custom themes"
+ :group 'faces)
+
(defface jao-themes-hilite '((t :inherit default)) "")
(defface jao-themes-italic '((t :inherit default)) "")
(defface jao-themes-button '((t :inherit default)) "")
@@ -118,6 +122,10 @@
(jao-themes--normalize-body
(apply 'append (mapcar 'jao-themes--parse-face-sym f))))))
+(defsubst jao--put-face (str face)
+ (put-text-property 0 (length str) 'face face str)
+ str)
+
(defvar jao-themes--default-cidxs
'("#000000" "#cd0000" "#00cd00" "#cdcd00"
"#0000cd" "#cd00cd" "#00cdcd" "#e5e5e5"