From 78fea8944aeb3b3659fc6294bd769776368fce26 Mon Sep 17 00:00:00 2001 From: bard Date: Thu, 18 Jan 2024 05:03:28 -0500 Subject: now with fontaine --- bard-emacs-modules/bard-emacs-ui.el | 34 ++++++++++++++++++++++++++++++---- 1 file changed, 30 insertions(+), 4 deletions(-) (limited to 'bard-emacs-modules/bard-emacs-ui.el') diff --git a/bard-emacs-modules/bard-emacs-ui.el b/bard-emacs-modules/bard-emacs-ui.el index 0964e5f..c49aed2 100644 --- a/bard-emacs-modules/bard-emacs-ui.el +++ b/bard-emacs-modules/bard-emacs-ui.el @@ -52,11 +52,37 @@ (display-time-mode 1) ;; Fonts -(set-face-attribute 'default nil :font "Iosevka Comfy" :height 140) -(set-face-attribute 'fixed-pitch nil :font "Iosevka Comfy" :height 140) -(set-face-attribute 'variable-pitch nil :font "Iosevka Comfy Motion" :height 140) -(add-to-list 'default-frame-alist '(font . "Iosevka Comfy-14.5")) +;; Removed in favour of fontaine package +;; (set-face-attribute 'default nil :font "Iosevka Comfy" :height 140) +;; (set-face-attribute 'fixed-pitch nil :font "Iosevka Comfy" :height 140) +;; (set-face-attribute 'variable-pitch nil :font "Iosevka Comfy Motion" :height 140) + +;; (add-to-list 'default-frame-alist '(font . "Iosevka Comfy-14.5")) +(setq fontaine-presets + '((regular + :default-height 140 + :default-family "Iosevka Comfy" + :variable-pitch-family "Iosevka Comfy Motion" + :variable-pitch-height 1.0 + :fixed-pitch-family "Iosevka Comfy" + :fixed-pitch-height 1.0 + :bold-weight bold + ) + (code-demo + :inherit regular + :default-height 170 + ) + (prose + :inherit regular ; copy the `code-demo' properties + :default-height 220) + (t + :default-family "Monospace" + ))) + +;; Mixed pitch on modus and ef themes +(setq modus-themes-mixed-fonts t) +(setq ef-themes-mixed-fonts t) ;; Switching themes ;; (defun bard/disable-all-themes () -- cgit v1.2.3