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

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

[elpa] externals/nano-theme 63bd0b8411 18/21: Added (Victor Mono italic)


From: ELPA Syncer
Subject: [elpa] externals/nano-theme 63bd0b8411 18/21: Added (Victor Mono italic) to font stack
Date: Mon, 31 Jan 2022 11:57:50 -0500 (EST)

branch: externals/nano-theme
commit 63bd0b8411ef226692b4daed8b43cebd28fc8419
Author: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>
Commit: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>

    Added (Victor Mono italic) to font stack
---
 nano-theme.el | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/nano-theme.el b/nano-theme.el
index 02cca43dc9..502afb451a 100644
--- a/nano-theme.el
+++ b/nano-theme.el
@@ -159,6 +159,14 @@
   "Default proportional serif font (Roboto Slab Light, 14pt)."
   :group 'nano-theme-fonts)
 
+(defface nano-italic
+  '((t (:family "Victor Mono"
+        :slant italic
+        :height 140
+        :weight regular)))
+  "Default italic font (Victor Mono Italic Light, 14pt)."
+  :group 'nano-theme-fonts)
+
 (defcustom nano-light-foreground "#37474F" ;; Blue Grey / L800
   "Default foreground color"
   :type 'color :group 'nano-theme-light)
@@ -533,6 +541,16 @@ background color that is barely perceptible."
                              :weight     ,(face-attribute 'nano-mono :weight)
                              :height     ,(face-attribute 'nano-mono :height)
                              :family     ,(face-attribute 'nano-mono 
:family)))))
+         `(italic ((,light (:foreground ,nano-light-foreground
+                             :weight     ,(face-attribute 'nano-italic :weight)
+                             :height     ,(face-attribute 'nano-italic :height)
+                             :slant      ,(face-attribute 'nano-italic :slant)
+                             :family     ,(face-attribute 'nano-italic 
:family)))
+                    (,dark  (:foreground ,nano-dark-foreground
+                             :weight     ,(face-attribute 'nano-italic :weight)
+                             :height     ,(face-attribute 'nano-italic :height)
+                             :slant      ,(face-attribute 'nano-italic :slant)
+                             :family     ,(face-attribute 'nano-italic 
:family)))))
          `(nano-strong ((,light (:weight normal ))
                         (,dark  (:weight normal ))))
          `(variable-pitch  ((t (:weight ,(face-attribute 'nano-sans :weight)



reply via email to

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