emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/tempel 4bc75c1aba 52/82: Use the more subtle face color


From: ELPA Syncer
Subject: [elpa] externals/tempel 4bc75c1aba 52/82: Use the more subtle face colors from Modus
Date: Sun, 9 Jan 2022 20:58:44 -0500 (EST)

branch: externals/tempel
commit 4bc75c1aba67165fa6844a8088d3fafd5c562d68
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Use the more subtle face colors from Modus
    
    Discussion in #6
    
    Co-authored-by: Protesilaos Stavrou <info@protesilaos.com>
---
 tempel.el | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/tempel.el b/tempel.el
index 3b7cf4da22..aef2a72c46 100644
--- a/tempel.el
+++ b/tempel.el
@@ -62,10 +62,20 @@
   "Annotation width for `tempel-expand'."
   :type '(choice (const nil integer)))
 
-(defface tempel-field '((t :inherit highlight))
+(defface tempel-field
+  '((((class color) (min-colors 88) (background light))
+     :background "#fdf0ff" :foreground "#541f4f" :underline "#d5baff")
+    (((class color) (min-colors 88) (background dark))
+     :background "#230631" :foreground "#e5cfef" :underline "#7042a2")
+    (t :inherit highlight))
   "Face used for fields.")
 
-(defface tempel-form '((t :inherit region))
+(defface tempel-form
+  '((((class color) (min-colors 88) (background light))
+     :background "#ecf7ed" :foreground "#004000" :underline "#5ada88")
+    (((class color) (min-colors 88) (background dark))
+     :background "#001904" :foreground "#b8e2b8" :underline "#006800")
+    (t :inherit region))
   "Face used for evaluated forms.")
 
 (defvar tempel--templates nil



reply via email to

[Prev in Thread] Current Thread [Next in Thread]