aboutsummaryrefslogtreecommitdiff
path: root/bard-emacs-modules/bard-emacs-ui.el
diff options
context:
space:
mode:
authorbard <[email protected]>2024-01-18 05:03:28 -0500
committerbard <[email protected]>2024-01-18 05:03:28 -0500
commit78fea8944aeb3b3659fc6294bd769776368fce26 (patch)
treee804a2500933aae02ee20f084fee43bd9aa3d5f0 /bard-emacs-modules/bard-emacs-ui.el
parentb39aad5891612ff5c17a60bde148bf32324af5ef (diff)
now with fontaine
Diffstat (limited to 'bard-emacs-modules/bard-emacs-ui.el')
-rw-r--r--bard-emacs-modules/bard-emacs-ui.el34
1 files changed, 30 insertions, 4 deletions
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 ()