diff options
| author | jao <jao@gnu.org> | 2026-09-07 10:58:37 +0100 |
|---|---|---|
| committer | jao <jao@gnu.org> | 2026-09-07 10:58:37 +0100 |
| commit | 45c15fdd38c0b9dde8099813137b2ebdea3ca3bc (patch) | |
| tree | 0fb9d731ca7945d777f6ec33b492ea43217cbedc /lib/themes/jao-themes.el | |
| parent | 10019bc241f0f9a30fb44371546b0d8f532892ed (diff) | |
| download | elibs-45c15fdd38c0b9dde8099813137b2ebdea3ca3bc.tar.gz elibs-45c15fdd38c0b9dde8099813137b2ebdea3ca3bc.tar.bz2 | |
misc fixes
Diffstat (limited to 'lib/themes/jao-themes.el')
| -rw-r--r-- | lib/themes/jao-themes.el | 8 |
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" |
